Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell OpenManage Server Administrator 版本 7.3 命令行界面指南

为 CLI 命令输出选择格式

您可以为 CLI 命令结果指定格式。该格式将确定命令输出显示的方式。如果将命令结果定向到一个文件,则向其中写入命令结果的文件会捕获此格式。

可用的格式包括:
  • 列表 (lst)
  • 分号分隔值 (ssv)
  • 表 (tbl)
  • 自定义分隔符格式 (cdv)
格式化选项的语法为:
<命令> -fmt <格式选项>
例如,键入:
omreport system summary -fmt tbl
omreport servermodule summary -fmt tbl
其中, -fmt tbl 指定表格式。
您可以将格式化选项与将输出定向到文件的选项组合在一起。例如,键入:
omreport system summary -fmt tbl -outa summary.txt
omreport servermodule summary -fmt tbl -outa summary.txt
其中, -fmt tbl 指定表格式,而 -outa 指定将命令结果附加到名为 summary.txt 的文件。

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\