mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	documented the new key 'lcmd' for nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -40,9 +40,17 @@ 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 filed in a different row. | ||||
|     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 will be run locally on mn or sn. | ||||
|     dcmd -- the command will be run distributed on the nodes (xdsh <nodes> ...). | ||||
|     cmd -- the command that will be run locally on mn or sn. | ||||
|     lcmd -- the command that will be run the 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: | ||||
|  | ||||
|   node1:string1 | ||||
|   node2:string2 | ||||
|   ... | ||||
|  | ||||
| For the command specified by 'dcmd', no input is needed, the output can be a string.  | ||||
|  | ||||
|  | ||||
| =head1 B<Options> | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -424,7 +424,16 @@ sub getDescription { | ||||
|     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 will be run locally on mn or sn. | ||||
|     dcmd -- the command will be run distributed on the nodes (xdsh <nodes> ...)."; | ||||
|     cmd -- the command that will be run locally on mn or sn. | ||||
|     lcmd -- the command that will be run locally on the mn only. | ||||
|     dcmd -- the command that will be run distributed on the nodes using xdsh. | ||||
|  | ||||
|        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: | ||||
|          node1:string1 | ||||
|          node2:string2 | ||||
|          ... | ||||
|        For the command specified by 'dcmd', no input is needed, the output can be a  | ||||
|        string."; | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user