# Test Monitoring Agents on the command line

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

##

The monitoring tool allows you to query the agents locally or remotely to check their status.

## Steps

1. On the command line, browse to the folder where the Monitoring Agent is installed.
2. Run one of the following commands:
   - Linux: `sgagentd -d test [file_name]`
   - Windows: `agent test [file_name]`
   Where file_name is a configuration you want to test. Giving the file name is optional, but if you omit the file name, the test is run with the active configuration.