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 J2EE agent instance that you name in the command. For example, if you want information about a J2EE agent instance named agent_002 configured on Sun Java System Application Server 8.1, 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 :- Application Server Config Directory: /var/opt/SUNWappserver/domains/domain1/config Application Server Instance name: server2 |
In the preceding example, notice that information is provided only for the agent instance, agent_002, named in the command.