helpコマンドを使用して,すべてのコマンドまたは特定のコマンドのヘルプ情報を表示します。
特定のコマンドを指定しないでhelpコマンドを実行すると,コマンド一覧が表示されます。
権限
Admin,Modify,View,User Management
構文
csm help [command]
オプション
helpコマンドを使用して,次のオプションを指定できます。
オプション | 説明 |
---|---|
command | 指定したコマンドに関するヘルプを標準出力に表示します。 |
例
次のコマンドを使用して,すべてのコマンド一覧を表示します。
Client>csm help
Command shell to issue commands to the CSM server.
usage :csm [<subcommand> <args...>]
This will run one or more subcommands.
If you are connecting to a CSM server on the localhost, no configuration is necessary.
To access a remote CSM server, specify the server host by executing a "configure" command.
After specifying the host use "csm ping" to test communication with the server.Then use "csm login" to establish a session.
Available subcommands (short forms shown in parentheses):
configure
help
ping
login
logout
GetHost(gethost)
GetHostAlert(gethostalert)
GetHostCPU(getcpu)
GetHostFCNetwork(getfc)
GetHostFileSystem(getfilesystem)
GetHostIPNetwork(getip)
GetHostMemory(getmemory)
GetHostRemoteManagement(getrmtmgmt)
GetHostOs(getos)
GetHostPCI(getpci)
GetAlerts(getalerts)
GetTaskInfo(gettaskinfo)
RebootOS(rebootos)
ShutdownOS(shutdownos)
PowerON(poweron)
PowerOFF(poweroff)
戻り値
値 | 意味 |
---|---|
0 | 成功 |
1 | エラー |
関連コマンド
なし