Installing SAPOSCOL/RFCOSCOL for a Dedicated DB Server 
Use
The
saposcol and rfcoscol programs are normally installed with the R/3 System. If you are using a dedicated database server, you may need to install the programs separately.Procedure
chmod 4755 saposcol
chown root saposcol
chmod 4755 rfcoscol
chown root rfcoscol
saposcol
creates a shared memory segment and periodically writes the performance data to it. You should also start saposcol every time you start the operating system so that the performance data is always available. This can be done automatically by entering it into the appropriate shell scripts in the rc directory or file. Make sure that the time zone is set correctly and that the performance data is summarized hourly. The installation is now complete.
See also:
Setting Up RFC Communication to RFCOSCOLDocumentation for the "Gateway" and "RFC for External Programs" that you are using.