add -t support

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-02-02 13:51:55 +00:00
parent 58dd01e0dc
commit 7ee91c7861

View File

@ -25,7 +25,10 @@ Display usage message.
=item B<-d|--database>
Displays information about the current database being used by xCAT.
Any user can run the command.
=item B<-t|--nodetype>
Displays whether the node is a Management Node or a Service Node.
=item B<-a|--all>
@ -57,6 +60,22 @@ Output is similar to:
dbhost=7.777.47.250
dbadmin=xcatadm
=item 2.
To display all information:
lsxcatd -a
Output is similar to:
Version 2.7 (svn r, built Tue Jan 17 15:16:33 EST 2012)
This is a Management Node
cfgloc=mysql:dbname=xcatdb;host=10.6.0.1|xcatadmin
dbengine=mysql
dbname=xcatdb
dbhost=10.6.0.1
dbadmin=xcatadmin
=back