Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • 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 命令行界面指南

将命令结果附加到现有文件中

如果要将新命令结果附加到存储在以前编写的文件中的数据,请使用 -outa 选项。例如,您在上午 11:00 点捕获到系统风扇探测器 0 的风扇探测器 RPM 读数,并将结果写入名为 fans.txt 的文件。 要用这些结果与四小时之后获得的同一探测器的输出进行比较,则可以使用 -outa 命令将新的输出附加到 fans.txt

键入:
omreport chassis fans index=0 -outa fans.txt
omreport mainsystem fans index=0 -outa fans.txt
Fans.txt 此时将显示如下内容:
索引 : 0
状态 : 良好
探测器名称 : 系统板风扇 1 RPM
读数 : 2380RPM
最小警告阈值 : 600RPM
最大警告阈值 : 5700RPM
最小故障阈值 : 500RPM
最大故障阈值 : 6000RPM
   
索引 : 0
状态 : 良好
探测器名称 : 系统板风扇 1 RPM
读数 : 3622RPM
最小警告阈值 : 900RPM
最大警告阈值 : 3500RPM
最小故障阈值 : 500RPM
最大故障阈值 : 6000RPM

您可以使用文本编辑器插入捕获每个数据块的时间。通过比较风扇探测器 0 的两个快照,您会发现第二个报告中出现了一些变化。风扇 RPM 的读数增加了 621 RPM,但仍在正常范围内。有人将最小警告阈值提高了 200 RPM,并将最大警告阈值降低了 2000 RPM。


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: <>()\