Sun Java System Access Manager Policy Agent 2.2 Guide for Apache HTTP Server 2.2

agentadmin --listAgents

This section demonstrates the format and use of the agentadmin command with the --listAgents option.


Example 2–5 Command Format: agentadmin --listAgents

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.



Example 2–6 Command Usage: agentadmin --listAgents

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.



Note –

The string “Agent” in Agent_00x is configurable. You can change this string by editing the following file: PolicyAgent-base/config/AMToolsConfig.properties