From 15994301effaefa0b5092aacb75c359eaf9b9702 Mon Sep 17 00:00:00 2001 From: nott Date: Fri, 27 Mar 2009 12:53:46 +0000 Subject: [PATCH] Add more examples git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-client/pods/man1/lsdef.1.pod | 38 +++++++++++++++++++------------ 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/xCAT-client/pods/man1/lsdef.1.pod b/xCAT-client/pods/man1/lsdef.1.pod index 292f80a74..fa4e3331a 100644 --- a/xCAT-client/pods/man1/lsdef.1.pod +++ b/xCAT-client/pods/man1/lsdef.1.pod @@ -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