Next: , Previous: procdiff, Up: Included Script Plugins

4.4.7 remoteprocdiff

This hook functions the same as procdiff, except it is designed for execution on a remote system. To reduce execution time and connections to the server, only specified processes are measured.

To use this hook you must set the following variables:

The processes you are interested in.
The server to run on
The user to run as

The following variables are set automatically, but you may need to override them :

Variable Default Description
AP_SSH ssh -n What SSH command to use for remote execution. You need to change this if you want to use RSA identity files or other similar mechanisms. You can also use RSH instead of SSH.

RPDIFFSCRIPT procdiff What is the name of the remote script to execute? is a shell script included in the distribution that executes procdiff or other commands defined using an apremote hook.