This section demonstrates the format and use of the agentadmin command with the --listAgents option.
The following example illustrates the format of the agentadmin command with the --listAgents option:
./agentadmin --listAgents
No arguments are currently supported with the agentadmin command when using the --listAgents option.
Issuing the agentadmin command with the --listAgents option provides you with information about all the configured web agents on that machine. For example:
The following are the details for agent Agent_001 :- Apache 2.2 Web Server Config Directory: /usr/local/apache2/conf
Notice that the agentadmin program provides unique names, such as Agent_001, for all web agents that protect the same instance of a deployment container, in this case Apache HTTP Server 2.2. Each name uniquely identifies the web agent instance.
The string “Agent” in Agent_00x is configurable. You can change this string by editing the following file: PolicyAgent-base/config/AMToolsConfig.properties