Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Web Server 7.0

agentadmin --agentInfo

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


Example 2–7 Command Format: agentadmin --agentInfo

The following example illustrates the format of the agentadmin command with the --agentInfo option:


./agentadmin --agentInfo AgentInstance-Dir

The following argument is supported with the agentadmin command when using the --agentInfo option:

AgentInstance-Dir

Use this option to specify which agent instance directory, therefore which agent instance such as Agent_002, you are requesting information about.



Example 2–8 Command Usage: agentadmin --agentInfo

Issuing the agentadmin command with the --agentInfo option provides you with information on the web agent instance that you name in the command. For example, if you want information about a web agent instance named Agent_002 configured on Sun Java System Web Server 7.0, you can issue the command illustrated in the following example to obtain the type of output that follows:


./agentadmin --agentInfo Agent_002

The following are the details for agent Agent_002 :-
Sun Java System Web Server Config Directory:
/var/opt/SUNWwbsvr7/https-agentHost1.example.com/config

In the preceding example, notice that information is provided only for the agent instance, Agent_002, named in the command.