The syntax for the es-validate command is as follows:
es-validate [-s server [-r serverport] [-u user-name [-p password ]]] [-a agenthost [-b agentport] [-d]] [-c] [-o outfile]The following table describes the es-validate parameters.
Table 7–1 es-validate Options
Option |
Modifying Options |
Description |
---|---|---|
-a |
agenthost |
Check connectivity with agent host machine agenthost. |
-b |
agentport |
The SNMP port number associated with agentport. |
-c |
|
Show all the agents in the context of the Sun Management Center server specified with -s option. |
-d |
|
Show the version number of the agent on agenthost. |
-o |
outfile |
Store the output of es-validate in file outfile. outfile should be an absolute file path. The default is an arbitrary file name in /tmp. |
-p |
password |
The password for -uuser-name If not specified, and -uuser-name is specified, you are prompted for the password. |
-r |
serverport |
The Sun Management Center RMI port number. If not specified, port 2099 is used. |
-s |
server |
The Sun Management Center server host name. If not specified, the current host is used. |
-u |
user-name |
The user name used to connect with the Sun Management Center server. The -u user name parameter is mandatory for login checks. |