Displays information about the Network Installation Management (NIM) environment.
To Display a List of Supported NIM Classes, Subclasses, or Types
lsnim { -p| -P} [ -cClass| -S]
To Display Predefined NIM Information
lsnim { -p| -P} [ -cClass| -sSubclass| -tType] [ -l | [ -o ] | -O] [ -Z]
OR
lsnim { -p| -P}[ -a Attribute ] . . . [ -Z]
To Display Attributes Required for an Operation
To Display Information about All Customized NIM Objects
lsnim [ -cClass| -sSubclass| -tType] [ -l | [ -o ] | -O] [ -Z]
OR
lsnim [ -aAttribute ] . . . [ -Z]
To Display Information about a Specific NIM Object
lsnim[ -l | -O| -a Attribute . . . ][ -Z] ObjectName
OR
lsnim[ -qOperation] ObjectName
To Display Information about Resources Available to a Specific NIM Machine
lsnim -L [ -sSubclass| -tType]ObjectName
To Display Information about NIM Groups
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.
Item | Description |
---|---|
-a Attribute | Filters displayed information based on the specified attribute
name. The possible attributes are: Operation subclass type class |
-c Class | Specifies a NIM object class. When this flag is used without the Objectname parameter, it filters the displayed information so only information about objects in that class is displayed. |
-g | Displays long listing of group object with state information for individual members. |
-l | Displays detailed information. |
-L | Displays information about resources that can be accessed by a client machine. |
-m | Applies other flags specified to group members. |
-o | Is used by the SMIT interface of a NIM environment. |
-O | Lists the operations NIM supports. |
-p | Displays predefined information using default values. |
-P | Displays help information for predefined data. |
-q Operation | Lists the attributes required for the specified operation. |
-S | Displays a list of NIM subclasses. |
-s Subclass | Specifies a NIM subclass. When this flag is used without the ObjectName parameter, it filters the displayed information so only information about objects in that subclass is displayed. |
-t Type | Specifies a NIM object type. When this flag is used without the Objectname parameter, it filters the displayed information so only information about objects of that type is displayed. |
-Z | Displays information in colon-separated format. |
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
Item | Description |
---|---|
/etc/niminfo | Contains variables used by NIM. |