Skip to main content

getdevices command

Use the getdevices command to obtain the supported inventory categories. Users can then use “getinfor --device” to collect data for any category of interest.
Note
The getdevices command can only be used in the in-band mode.

getdevices command syntax

OneCli.exe inventory getdevices <options>
Table 1. getdevices command specific parameters
ParameterRequired/OptionalNotes
  • --check-trust, -C

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

Example of the getdevices command

OneCli.exe inventory getdevices

This is the complete device list generated 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 - kernel_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 - persistent_memory
14 - pci_information
15 - firmware_vpd
16 - bmc_configuration
17 - bmc_environmental
18 - light_path
19 - pci_adapters
20- storage_devices
21 - ssd
22 - fod_key
23 - application_event (Windows only)
24 - var_log_boot_log (Linux only)
25 - var_log_mail_err (SUSE only)
26 - var_log_mail_warn (SUSE only)
27 - var_log_messages (Linux only)
28 - var_log_warn (SUSE only)
29 - var_log_cron (RHEL only)
30- var_log_dmesg (RHEL only)
31 - var_log_secure (RHEL only)
32 - system_event (Windows only)
33 - security_event (Windows only)
34 - bmc_event_logs
35 - ipmi_event_logs
36 - execution_log
37 - system_settings