Table 6-1 provides summary definitions of the mpadmin command-line options. This section describes their use.
Table 6-1 mpadmin Options| Option | Description | 
|---|---|
| -c command | Execute single specified command. See | 
| -f file-name | Take input from specified file. | 
| -h | Display help/usage text. | 
| -q | Suppress the display of a warning message when a non-root user attempts to use restricted command mode. | 
| -s cluster-name | Connect to the specified Sun HPC cluster. | 
| -V | Display mpadmin version information. | 
Use the -c option when you want to execute a single mpadmin command and return automatically to the shell prompt. For example, the following use of mpadmin -c changes the location of the CRE log file to /home/wmitty/cre_messages:
# mpadmin -c set logfile="/home/wmitty/cre_messages"
Most commands that are available via the interactive interface can be invoked via the -c option. See "mpadmin Command Overview" for an overview of the mpadmin command set and a list of which commands can be used as arguments to the -c option.
Use the -f option to supply input to mpadmin from the file specified by the file-name argument.
The -h option displays help information about mpadmin.
Use the -q option to suppress a warning message when a non-root user attempts to invoke a restricted command.
Use the -s option to connect to the cluster specified by the cluster-name argument.
Use the -V option to display the version of mpadmin.