HP Systems Insight Manager 7.0 Command Line Interface Guide

NOTE: When duplicate options are specified, the last instance of the option is used. For example,
if you enter -f file1 -f file2, mxauth uses file2.
External influences
For HP-UX or Linux, LANG determines the default encoding that the system will use to output XML
data if no encoding is specified on the command line. If LANG is not specified or null, or LANG
does not correspond to a recognized encoding, it defaults to C (see lang (5)). In this case, use
the -b option to specify the encoding of the XML data.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
Nonexistent system or system group error.3
Duplicate name.5
Invalid name.21
Unauthorized user.50
Database error.102
The CMS is not initialized.222
Unable to connect to the session manager.249
Remote exception.250
Examples
Example 1
To create the system group group1 containing systems systema, systemb, and systemc, enter
mxngroup -a -g group1 -d "Example system group" -n systema systemb
systemc.
Example 2
To modify the system group group1 by replacing system systemc with system systemd, enter
mxngroup -m -g group1 -n systema systemb systemd.
Example 3
To update group group1 enter mxngroup -m -g group1 -u.
Example 4
To update group group1 from the collection and enable automatic update, enter mxngroup -m
-g group1 -ut.
Example 5
To update the group group1 from the collection and disable automatic update, enter mxngroup
-m -g group1 -uf.
mxngroup 61