-
名称
-
show-tpsystem-status - 個別の状態表示
-
形式
-
show-tpsystem-status --user admin_user [--password admin_password] [--host host_name] [--port port_number] [--passwordfile filename] [--terse=true|false] [--echo=true|false] [--interactive=true|false] system_name [apgroup_name [pgroup_name [component_name [interface_name operation_name] ] ] ]
-
説明
-
指定した各項目の状態の表示を行ないます。表示情報は以下のようになります。
-
システム:
-
starting(起動処理中),running(起動中),stopping(停止処理中),stopped(停止),failed(起動停止処理失敗)。
-
プリケーショングループ:
-
starting(起動処理中),running(起動中),stopping(停止処理中),stopped(停止),failed(起動停止処理失敗),client connecting(クライアント接続中)。
-
プロセスグループ:
-
starting(起動処理中),running(起動中),stopping(停止処理中),stopped(停止),process executing(プロセス稼働中),recovery executing(リカバリ実行中)。
-
コンポーネント:
-
starting(起動処理中),running(起動中),stopping(停止処理中),stopped(停止),failed(起動停止処理失敗)。
-
オペレーション:
-
starting(起動処理中),running(起動中),stopping(停止処理中),stopped(停止),failed(起動停止処理失敗)。
-
オプション
-
-
--user
-
ドメインアプリケーションサーバの管理ユーザ名
-
--password
-
ドメインアプリケーションサーバの管理ユーザのパスワード
-
--host
-
ドメインアプリケーションサーバが起動しているマシン名
-
--port
-
ドメインアプリケーションサーバのポート番号(既定値:6212)
-
--passwordfile
-
ドメインアプリケーションサーバのパスワードを含むファイル
-
--terse
-
trueを指定すると出力データがスクリプトによる処理のための簡潔なデータとなります。既定値はfalseです。
-
--echo
-
trueを指定すると、標準出力でコマンドライン文が表示されます。既定値はfalseです。
-
--interactive
-
true(既定値)を指定すると、パスワードオプション入力用のプロンプトを表示します。
-
--exitstatus
-
trueを指定すると、個別状態表示の結果がコマンドの終了ステータスに反映されます。trueを指定した場合は、終了コード0はその他状態取得失敗になることに注意してください。既定値はfalseです。
-
オペランド
-
-
system_name
-
システム名
apgroup_name
アプリケーショングループ名
pgroup_name
プロセスグループ名
component_name
コンポーネント名
interface_name
インタフェース名
operation_name
オペレーション名
-
使用例
-
例1: show-tpsystem-statusの使用法
otxadmin> show-tpsystem-status --user admin --password adminadmin --host localhost tpsystem
tpsystem running
-
終了ステータス(--exitstatus=false デフォルト)
-
| 0 : | コマンド実行成功 |
| 1 : | コマンド実行失敗 |
-
終了ステータス(--exitstatus=true)
-
システムの個別状態取得
| 1 : | 他のユーザがオペレーション実行中 |
| 2 : | 起動中 |
| 3 : | 停止中 |
| 4 : | 起動/停止処理中 |
| 5 : | 起動停止処理失敗 |
| その他(0) : | 状態取得失敗 |
アプリケーショングループの個別状態取得
| 1 : | 他のユーザがオペレーション実行中 |
| 2 : | 起動中 |
| 3 : | 停止中 |
| 4 : | 起動/停止処理中 |
| 5 : | 起動停止処理失敗 |
| 6 : | 起動中(クライアント接続中) |
| その他(0) : | 状態取得失敗 |
プロセスグループの個別状態取得
| 1 : | 他のユーザがオペレーション実行中 |
| 2 : | 起動中 |
| 3 : | 停止中 |
| 4 : | 起動/停止処理中 |
| 7 : | 起動中(プロセス稼働中) |
| 7 : | 起動中(リカバリ実行中) |
| その他(0) : | 状態取得失敗 |
コンポーネントの個別状態取得
| 1 : | 他のユーザがオペレーション実行中 |
| 2 : | 起動中 |
| 3 : | 停止中 |
| 4 : | 起動/停止処理中 |
| 5 : | 起動停止処理失敗 |
| その他(0) : | 状態取得失敗 |
オペレーションの個別状態取得
| 1 : | 他のユーザがオペレーション実行中 |
| 2 : | 起動中 |
| 3 : | 停止中 |
| 4 : | 起動/停止処理中 |
| 5 : | 起動停止処理失敗 |
| その他(0) : | 状態取得失敗 |
-
関連事項
-
list-tpsystem-status(1)