lstree.1¶
NAME¶
lstree - Display the tree of service node hierarchy, hardware hierarchy, or VM hierarchy.
DESCRIPTION¶
The lstree command can display the tree of service node hierarchy for the xCAT nodes which have service node defined or which are service nodes, display the tree of hardware hierarchy only for the physical objects, display the tree of VM hierarchy for the xCAT nodes which are virtual machines or which are the hosts of virtual machines. If a noderange is specified, only show the part of the hierarchy that involves those nodes. For ZVM, we only support to disply VM hierarchy. By default, lstree will show both the hardware hierarchy and the VM hierarchy for all the nodes.
OPTIONS¶
-h|--help
Display usage message.
-s|-- servicenode
Show the tree of service node hierarchy.
-H|--hardwaremgmt
Show the tree of hardware hierarchy.
--v|--virtualmachine
Show the tree of VM hierarchy.
noderange
A set of comma delimited node names and/or group names. See the “noderange” man page for details on additional supported formats.
EXAMPLES¶
To display the tree of service node hierarchy for all the nodes.
lstree -s
Output is similar to:
To display the tree of service node hierarchy for service node “mysn01”.
lstree -s mysn01
Output is similar to:
To display the tree of hardware hierarchy for all the nodes.
lstree -H
Output is similar to:
To display the tree of hardware hierarchy for HMC “myhmc01”.
lstree -H myhmc01
Output is similar to:
To display the tree of VM hierarchy for all the nodes.
lstree -v
Output is similar to:
To display the tree of VM hierarchy for the node “x3650n01”.
lstree -v x3650n01
Output is similar to:
To display both the hardware tree and VM tree for all nodes.
lstree
Output is similar to:
- HMC: myhmc01
- Service Focal Point: myhmc02
- Management Module: mymm01
- BMC: 192.168.0.1
FILES¶
/opt/xcat/bin/lstree
SEE ALSO¶
noderange(3)|noderange.3, tabdump(8)|tabdump.8