Skip to main content

run command

Use the run command to run the diagnostics program of the remote server.

Note
  • To enable or disable advanced memory test, refer to Enabling/disabling advanced memory test.

  • Restart the remote server before running the diagnostics program. If the message System reboot is required, confirm to continue (yes/no) is displayed, input yes/y to run the diagnostics program, or input no/n to exit.

  • For the ThinkServer/WenTian/KaiTian servers, only WR5220 G3 and WR5228 G3 support the diags function, and it only supports the hdd, hdd_full, mem, and mem_full parameters.

run command syntax

OneCli.exe [misc] diags run [options] [connection options]
Table 1. run command specific parameters
ParameterRequired/OptionalNotes
--bmc, -bRequired

Refer to Table 2.

  • --check-trust, -C

  • --config

  • --help,-h

  • --never-check-trust, -N

  • --nolog

  • --output, -o

Optional

Refer to Table 2.

--item

Optional

The values include: hdd, hdd_full, mem, mem_full, and pmem. If not specified, hdd, mem, and pmem are the default parameters. The value is case insensitive.

Note
pmem stands for Intel Optane DC Persistent Memory Module.

--force

Optional

If specified, it will run the diagnostics program without interaction.

Example of the run command

OneCli.exe diags run --bmc userid:password@IP --item mem_full,hdd,pmem