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 following variables are set automatically, but you may need to override them :
|AP_SSH||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.|
What is the name of the remote script to execute? apremote.sh
is a shell script included in the distribution that executes procdiff or
other commands defined using an apremote hook.