Add more examples

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-03-27 12:53:46 +00:00
parent b527fbd5e9
commit 15994301ef

View File

@ -78,68 +78,78 @@ Display output in stanza format. See the xcatstanzafile man page for details on
=item 1.
To get a list of all object names.
To display a description of all the valid attributes that could be used
when defining an xCAT node.
lsdef -t node -h
=item 2.
To get a list of all the objects that have been defined.
lsdef -a
=item 2.
=item 3.
To get a list of all the network definitions.
lsdef -t network
=item 3.
=item 4.
To get a complete listing of all network definitions.
lsdef -l -t network
=item 4.
=item 5.
To list the whole xCAT database and write it to a stanza file. (backup database)
lsdef -a -l -z > mydbstanzafile
=item 5.
=item 6.
To list the MAC and install adapter name for each node.
lsdef -t node -i mac,installnic
=item 6.
=item 7.
To list an osimage definition named "aix53J".
lsdef -t osimage -l -o aix53J
=item 7.
=item 8.
To list all node definitions that have a status value of "booting".
lsdef -t node -w status=booting
=item 8.
=item 9.
To list all the attributes of the group "service".
lsdef -l -t group -o service
=item 9.
=item 10.
To list all the attributes of the nodes that are members of the group "service".
lsdef -t node -l service
=item 11.
To get a listing of object definitions that includes information about
what xCAT database tables are used to store the data.
lsdef -V -l -t node -o node01
=back
=head1 FILES
$XCATROOT/bin/lsdef
(The XCATROOT environment variable is set when xCAT is installed. The
default value is "/opt/xcat".)
/opt/xcat/bin/lsdef
=head1 NOTES