Previous Topic: Cancel a Running MSSQL Server JobNext Topic: createagent Command—Add an Agent to the Topology


countagents Command—Display the Number of Agents that Meet Criteria

You can display the total number of agents defined in the Topology. You can limit the agents counted by status (active, inactive, quiesced) or by agent type. To display the number of agents, issue the COUNTAGENTS command.

This command has the following format:

countagents [status("status"] [type("type")]
status(“status”)

(Optional) Limits the agents counted by status. Options are active, inactive, and quiesced.

type(“type”)

(Optional) Limits the agents counted by agent type. Options are the following:

Examples: Display the Number of Agents that Meet Criteria