mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 05:25:32 +00:00
Remove trailing spaces in file xCAT-client/pods/man1/nodestat.1.pod
This commit is contained in:
@ -24,9 +24,9 @@ By default, it works as following:
|
||||
When -m is specified and there are settings in the monsetting table, it displays the status of the applications specified in the monsetting table. When -p is specified it shows the power status for the nodes that are not pingable. When -u is specified it saves the status info into the xCAT database. Node's pingable status and deployment status is saved in the nodelist.status column. Node's application status is saved in the nodelist.appstatus column.
|
||||
|
||||
|
||||
To specify settings in the B<monsetting> table, use 'xcatmon' as the name, 'apps' as the key and the value will be a list of comma separated list of application names. For each application, you can specify the port number that can be queried on the nodes to get the running status. Or you can specify a command that can be called to get the node status from. The command can be a command that can be run locally at the management node or the service node for hierarchical cluster, or a command that can be run remotely on the nodes.
|
||||
To specify settings in the B<monsetting> table, use 'xcatmon' as the name, 'apps' as the key and the value will be a list of comma separated list of application names. For each application, you can specify the port number that can be queried on the nodes to get the running status. Or you can specify a command that can be called to get the node status from. The command can be a command that can be run locally at the management node or the service node for hierarchical cluster, or a command that can be run remotely on the nodes.
|
||||
|
||||
The following is an example of the settings in the B<monsetting> table:
|
||||
The following is an example of the settings in the B<monsetting> table:
|
||||
|
||||
name key value
|
||||
xcatmon apps ssh,ll,gpfs,someapp
|
||||
@ -38,10 +38,10 @@ The following is an example of the settings in the B<monsetting> table:
|
||||
Keywords to use:
|
||||
|
||||
apps -- a list of comma separated application names whose status will be queried. For how to get the status of each app, look for app name in the key field in a different row.
|
||||
port -- the application daemon port number, if not specified, use internal list, then /etc/services.
|
||||
port -- the application daemon port number, if not specified, use internal list, then /etc/services.
|
||||
group -- the name of a node group that needs to get the application status from. If not specified, assume all the nodes in the nodelist table. To specify more than one groups, use group=a,group=b format.
|
||||
cmd -- the command that will be run locally on mn or sn.
|
||||
lcmd -- the command that will be run the mn only.
|
||||
lcmd -- the command that will be run the mn only.
|
||||
dcmd -- the command that will be run distributed on the nodes using xdsh <nodes> ....
|
||||
|
||||
For commands specified by 'cmd' and 'lcmd', the input of is a list of comma separated node names, the output must be in the following format:
|
||||
@ -50,7 +50,7 @@ For commands specified by 'cmd' and 'lcmd', the input of is a list of comma sepa
|
||||
node2:string2
|
||||
...
|
||||
|
||||
For the command specified by 'dcmd', no input is needed, the output can be a string.
|
||||
For the command specified by 'dcmd', no input is needed, the output can be a string.
|
||||
|
||||
|
||||
=head1 B<Options>
|
||||
@ -63,7 +63,7 @@ Uses fping instead of nmap even if nmap is available. If you seem to be having
|
||||
|
||||
=item B<-m>|B<--usemon>
|
||||
|
||||
Uses the settings from the B<monsetting> table to determine a list of applications that need to get status for.
|
||||
Uses the settings from the B<monsetting> table to determine a list of applications that need to get status for.
|
||||
|
||||
=item B<-p>|B<--powerstat>
|
||||
|
||||
@ -71,7 +71,7 @@ Gets the power status for the nodes that are 'noping'.
|
||||
|
||||
=item B<-u>|B<--updatedb>
|
||||
|
||||
Updates the status and appstatus columns of the nodelist table with the returned running status from the given nodes.
|
||||
Updates the status and appstatus columns of the nodelist table with the returned running status from the given nodes.
|
||||
|
||||
=item B<-v>|B<--version>
|
||||
|
||||
@ -88,7 +88,7 @@ Print help.
|
||||
|
||||
=over 2
|
||||
|
||||
=item 1.
|
||||
=item 1.
|
||||
|
||||
nodestat compute
|
||||
|
||||
@ -100,7 +100,7 @@ Output is similar to:
|
||||
node4 pbs
|
||||
node5 noping
|
||||
|
||||
=item 2.
|
||||
=item 2.
|
||||
|
||||
nodestat compute -p
|
||||
|
||||
@ -113,12 +113,12 @@ Output is similar to:
|
||||
node5 noping(Shutting down)
|
||||
|
||||
|
||||
=item 3.
|
||||
=item 3.
|
||||
|
||||
nodestat compute -u
|
||||
|
||||
Output is similar to:
|
||||
|
||||
|
||||
node1 sshd
|
||||
node2 sshd
|
||||
node3 ping
|
||||
@ -126,7 +126,7 @@ Output is similar to:
|
||||
node5 noping
|
||||
|
||||
|
||||
=item 4.
|
||||
=item 4.
|
||||
|
||||
nodestat compute -m
|
||||
|
||||
|
Reference in New Issue
Block a user