日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。
フィールドを使用した show コマンド出力のカスタマイズ方法
共同作成者
-
このドキュメント ページのPDF
-
ボリューム管理
- CLI を使用した論理ストレージ管理
-
NAS ストレージ管理
-
CLIを使用したSMBの管理
- SMB を使用したファイルアクセスの管理
-
CLIを使用したSMBの管理
-
ボリューム管理
PDF版ドキュメントのセット
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
を使用する場合 –instance
パラメータにを指定します show
コマンドを使用して詳細を表示すると、出力に時間がかかり、必要以上の情報が含まれることがあります。。 –fields
のパラメータ show
コマンドでは、指定した情報のみを表示できます。
たとえば、実行中です volume show -instance
いくつかの画面に情報が表示される可能性があります。を使用できます volume show –fields
fieldname[,fieldname…]
(常に表示されるデフォルトのフィールドに加えて)指定したフィールドのみが含まれるように出力をカスタマイズします。 を使用できます –fields ?
の有効なフィールドを表示します show
コマンドを実行します
次の例は、の出力の違いを示しています –instance
パラメータおよび –fields
パラメータ:
cluster1::> volume show -instance Vserver Name: cluster1-1 Volume Name: vol0 Aggregate Name: aggr0 Volume Size: 348.3GB Volume Data Set ID: - Volume Master Data Set ID: - Volume State: online Volume Type: RW Volume Style: flex ... Space Guarantee Style: volume Space Guarantee in Effect: true ... Press <space> to page down, <return> for next line, or 'q' to quit... ... cluster1::> cluster1::> volume show -fields space-guarantee,space-guarantee-enabled vserver volume space-guarantee space-guarantee-enabled -------- ------ --------------- ----------------------- cluster1-1 vol0 volume true cluster1-2 vol0 volume true vs1 root_vol volume true vs2 new_vol volume true vs2 root_vol volume true ... cluster1::>