This section demonstrates the format and use of the agentadmin command with the --agentInfo option.
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:
Use this option to specify which agent instance directory, therefore which agent instance such as Agent_002, you are requesting information about.
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.