getdevices command

Use the getdevices command to display the entire system device list. The output generated from this command can be used with the getinfor command.

getdevices command syntax

OneCli.exe inventory getdevices [<options>]
Table 1. getdevices command parameters
Parameter Required/Optional Notes
--output Optional By default, the log file output is saved to: ../Onecli-%PID%-%date%-%time%/.
Note: Arguments for the --output parameter are case sensitive.

Example of the getdevices command

This example of the inventory application for the getdevices command displays the full inventory list of a server on the console. The output is saved to a log file directory. By default, the log file is saved to: ../Onecli-%PID%-%date%-%time%/.
OneCli.exe inventory getdevices --output c:\onecli\log
This is the complete device list generated by this example for Linux and Microsoft Windows systems, as noted. All items are case sensitive.
1 - system_overview
2 - installed_applications (Windows only)
3 - installed_hotfixes (Windows only)
4 - installed_packages (Linux only)
5 - kernal modules (Linux only)
6 - device_drivers (Windows only)
7 - system_services (Windows only)
8 - network_settings
9 - resource_utilization
10 - processes
11 - os_configuration
12 - hardware_inventory
13 - pci_information
14 - firmware_vpd
15 - BMC_configuration
16 - environmental
17 - light_path
18 - PCIeDevice
19 - RAIDLink
20 - SSD
21 - Inband_RawData
22 - application_event (Windows only)
23 - var_log_boot_log (Linux only)
24 - var_log_mail_err (SUSE only)
25 - var_log_mail_warn (SUSE only)
26 - var_log_messages (Linux only)
27 - var_log_warn (SUSE only)
28 - var_log_cron (RHEL only)
29 - var_log_dmesg (RHEL only)
30 - var_log_secure (RHEL only)
31 - system_event (Windows only)
32 - security_event (Windows only)
33 - chassis_event_logs
34 - ipmi_event_logs
35 - asusettings
36 - Ffdc logs
37 - ExecutionLog