HP Systems Insight Manager 7.1 Command Line Interface Guide

When a system group is created, its attributes and membership can be specified. When it is
modified, its attributes can be selectively modified, its membership can be reset, and it can be
updated based on a collection.
You must have administrative rights to add, modify, or remove groups. Any user can list system
groups and attributes.
mxngroup -a -g groupname [ -d description ] [ -n [ member... ] ]
mxngroup -a -f filename
These commands enable you to add system groups. The mxngroup -a -f filename
command enable you to provide the system group information in an XML file. See
mxngroup(4) for more information about the required XML file format.
mxngroup -m -g groupname [-d description ] [-n [ member... ] ] [-u
[t|f] ]
mxngroup -m -f filename
These commands allow you to modify system group information. As with adding system groups,
the group can be specified on the command line or in an XML file in the format described in
the mxngroup(4) manpage. When you modify a system group, HP SIM updates the
authorization information for any authorizations associated with the modified system group.
mxngroup -r -g groupname
mxngroup -r -f filename
These commands allow you to remove a system group. You can specify an individual system
group or an XML file containing multiple system groups. The file must be formatted as described
in the mxngroup(4) manpage. When an HP SIM administrative rights user removes a system
group, the authorizations associated with the group are removed.
mxngroup [-l d|f|m|n] [-g groupname... ]
mxngroup [-l d|f|m|n] [-n [ member... ] ]
These commands allow you to list system group names and attributes. The -l option indicates
that system group information is to be listed.
d specifies a detailed listing of system group names and attributes.
f results in a listing that matches the XML file format defined in mxngroup(4).
m specifies a combined list of system group members, one member per line.
n lists system group names, one per line.
The set of system groups that gets listed can be constrained in two ways:
-g lets you specify the names of the desired groups.
-n lists system groups that contain all of the specified members.
The default is to list all system groups.
mxngroup -l f [-g groupname... ] [-b encoding ]
mxngroup -lf [-n [ member... ] ] [-b encoding ]
These commands allow you to list system group information in an XML file.
Optionally, you can specify the character encoding of the XML file. The value for the character
encoding must match a valid character encoding. If no encoding is specified, the system
attempts to write the file in the encoding currently defined on the system. See http://
www.iana.org/assignments/character-sets for the list of valid character sets.
mxngroup 59