1 inventory ---------------------------------------------------------------------- 可以使用 inventory 在节点中扫描当前安装的固件、驱动程序和硬件组件的版本。 1.1 语法 hpsum inventory [--nodes ] [--baselines ] 1.2 参数 inventory 命令提供了以下选项: +------------------------------------------------------------------------+ | 选项 | 说明 | |--------------------+---------------------------------------------------| | hpsum | HP SUM 脚本启动此操作。 | |--------------------+---------------------------------------------------| | inventory | 此命令清点节点。 | |--------------------+---------------------------------------------------| | | 要执行清点命令的节点列表。可以通过以下方法指定每 | | | 个节点: | | | localhost127.0.0.1::1 | | | 1. localhost | | --nodes [nodelist] | | | | 2. 127.0.0.1 | | | | | | 3. ::1 | | | | |--------------------+---------------------------------------------------| | | 您可以指定 SPP 或组件的路径。如果某个位置包含多个 | | | 软件包,您可以指定该位置中的特定软件包。如果使用 | | | setattributes 命令为某个节点分配了基准,则不需要 | | | 指定基准。 | | --baselines | baseline: C:\repor1baseline: C:\repor1\bp0001.xml | | [baselinelist] | 1. baseline: C:\repor1 | | | | | | 2. baseline: C:\repor1\bp0001.xml | | | | | | | +------------------------------------------------------------------------+ 1.3 示例 Windows 示例命令行 C:\>hpsum inventory /nodes 16.157.90.182 /baselines C:\Users\Administrator\Desktop\blds\ilo\26.33 Linux 示例命令行 $ hpsum inventory --nodes 16.157.90.182 --baselines /root/Desktop/rono/blds/ilo