# Monitor Monitoring Agents on the command line

You can monitor the Server Pool Monitoring Agents on the command line.

##

## Steps

1. On the command line, browse to the folder where the Monitoring Agent monitoring tool is installed:
   - In Windows, the program is installed in the folder where the Monitoring Agent itself is installed.
   - On Linux and Solaris, the program is installed in usr/bin.
2. (Optional) Copy the sgmon program to a remote host that you want to use for testing the Monitoring Agents.
3. Run the command `sgmon -h` to see usage instructions, then run your monitoring commands according to the syntax displayed.
   The host argument is mandatory. To get the status locally on the server where the Monitoring Agent is installed, use localhost as the host argument.