run command
Use the run command to run the diagnostics program of the remote server.
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]
Parameter | Required/Optional | Notes |
---|---|---|
--bmc, -b | Required | Refer to Table 2. |
| 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 pmemstands 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