The syntax of the Enterprise Manager command-line client is:
em-cmdline-client -l hostname -p port -u username -w password -s service -m method -Pparameter=value |
The following table describes the arguments.
Table 1–6 Enterprise Manager Command-Line Client Arguments|
Argument |
Description |
|---|---|
|
-h, --help |
Displays help about the command-line client. |
|
-l, --host |
Enables you to specify the hostname of the computer where Enterprise Manager is running. |
|
-p, --port |
Enables you to specify the base port number of Enterprise Manager. |
|
-u, --userid |
Enables you to specify an Enterprise Manager user name. |
|
-w, --password |
Enables you to specify the password for the Enterprise Manager user name. |
|
-s, --service |
Enables you to specify the service that you want to use. The runtime service is called RuntimeService51x. The alert service is called AlertService51x. |
|
-m, --method |
Enables you to specify the method that you want to call. |
|
-P |
Enables you to specify a parameter name and value for a method. Some methods do not require parameters. |
|
-n, --signatures |
Displays the signatures of the available methods. |
|
-t, --timeout |
Enables you to specify an HTTP request timeout value for the command (in milliseconds). |
|
-v, --validate |
Checks for the required number of parameters. |
You use the following arguments to connect to the Enterprise Manager server: -l, -p, -u, and -w.