Skip to main content

syshealth command

Use the syshealth command to query the system health status. Only the ThinkSystem servers support this command.

syshealth command syntax

OneCli.exe [misc] syshealth <command>[options]
Table 1. syshealth command specific parameters
ParameterRequired/OptionalNotes
  • --bmc, -b

  • --bmc-cim-port, -p

  • --bmc-password, -w

  • --bmc-username, -u

  • --config

  • --check-trust, -C

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

--device

Optional

Specify the device to get the status.

The supported parameters used with --device: system, processor, fan, dimm, power, and pci_adapter.

If not specified, the system health summary containing errors and warning events will be displayed.

Example of the syshealth command

OneCli.exe syshealth
OneCli.exe misc syshealth --bmc userid:password@host
OneCli.exe misc syshealth --device power
OneCli.exe misc syshealth --device power --bmc userid:password@host