Displays information about the Network Installation Management (NIM) environment.
lsnim { -p| -P} [ -cClass| -S]
lsnim { -p| -P} [ -cClass| -sSubclass| -tType] [ -l| -O] [ -Z]
OR
lsnim { -p| -P}[ -a Attribute ] . . . [ -Z]
lsnim [ -cClass| -sSubclass| -tType] [ -l| -O] [ -Z]
OR
lsnim [ -aAttribute ] . . . [ -Z]
lsnim[ -l | -O| -a Attribute . . . ][ -Z] ObjectName
OR
lsnim[ -qOperation] ObjectName
lsnim -L [ -sSubclass| -tType]ObjectName
lsnim -g | -m [ -a Attribute | -cClass | -L | -l | -sSubclass | -tType] GroupObjectName
The lsnim command displays information about the NIM environment. This information is divided into two basic categories: predefined and customized.
Predefined information consists of values that are preset by NIM and cannot be modified by the user. Examples of predefined information include:
In general, NIM uses this information to make decisions during operations. Predefined information can be displayed by using the -p or -P flag. The -p flag displays default values while the -P flag displays help information.
Customized information consists of values that you enter or modify. This information represents the physical environment in which NIM operates. Related pieces of customized information are grouped together to form objects, which are organized in the NIM database by object type and class. Some examples of object types include diskless, paging, and standalone. Two examples of object classes are machines and network.
For example, a standalone workstation that is part of the NIM environment is represented by a unique object. This object is classified by NIM as a standalonemachines object, where standalone represents the object type and machines represents the object class. Entering the lsnim command on the command line without any flags displays information on all customized objects.
You can also use the lsnim command to display relationships between customized objects. Choose an object to anchor on (specified by the Objectname parameter) and then select the desired relationship with the -c, -s, or -t flag. The information displayed then depends upon the type and class of the anchored object. For example, if you select an object of type spot, the type of relationships that can be displayed are:
When not displaying relationships, the lsnim command provides flags that can be used to filter the output that it would normally display. The -a, -c, -O, -s, or -t flag can be used to restrict the amount of information which is displayed.
-g | Displays long listing of group object with state information for individual members. |
-m | Applies other flags specified to group members. |
Access Control: You must have root authority to run the lsnim command.
lsnim -p
lsnim -p -S
lsnim -p -c machines
lsnim -P -c machines
lsnim -p -a lpp_source -a Rstate
lsnim -p -t paging -O
lsnim -t standalone -q bos_inst
lsnim -t diskless
lsnim -c networks
lsnim -l altoid
lsnim -c resources altoid
lsnim -O altoid
lsnim -L altoid
lsnim -g MacGrp1
lsnim -m ResGrp1
lsnim -m -Fl MacGrp1
lsnim -ma spot MacGrp1
/etc/niminfo | Contains variables used by NIM. |
The nim command, nimclient command, nimconfig command, niminit command.
The .info file.