Command Reference for the CLI

This chapter contains the following topics:

CLI Tests and Descriptions

The following table lists the CLI commands for the corresponding diagnostics tests. The tests are listed by category.


Note


Some tests are only available as comprehensive tests.


Category Test Name CLI Command Options
CIMC Selftest cimc selftest [count][duration]
  • [count]—Number of loops to run; default 2.

  • [duration]—Number of minutes to run the test; the default is 10.

CPU Stress cpu stress [duration]

The duration in minutes. The default is 2.

Stream cpu stress No options are available.
Temperature cpu temperature No options are available.
Cache cpu cache [duration]

The duration in minutes. The default is 4.

Register cpu register No options are available.
Memory Noise memory noise [loops][size]
  • [loops—Number of loops to run; default 5
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Random address memory random [loops][size]
  • [loops]— Number of loops to run; default 1.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

March memory march [loops][size]
  • [loops]—Number of loops to run; default 2.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Walk memory walk [loops][size]
  • [loops]—Number of loops to run; default 1.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Address memory address [loops][size]
  • [loops]—Number of loops to run; default 1.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Pattern memory pattern [loops][size]
  • [loops]—Number of loops to run; default 1.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Butterfly memory butterfly [loops][size]
  • [loops]—Number of loops to run; default 2.
  • [size]—Size of memory to test (example: 10 GB, 500 MB); the default is all.

You can also run this test in the background.

Storage Smart storage smart No options are available.
Selftest selftest [duration]

Duration in minutes; the default is 10.

CLI Additional Commands

The following table lists the additional commands that you can run in the CLI for the diagnostics tool.
Command Name Definition CLI Command
Comment Adds a comment entry into a test script that you create for batch tests. !
Run CIMC tests Runs CIMC self-tests. cimc selftest
Switch to GUI Returns to the GUI mode. gui
List devices on PCI Lists all devices that are available on the PCI bus. pci
Reboot server Reboots the server. reboot
Save logs Save the logs to the USB drive. saveusb
Server information Displays the basic server details, such as CPU, memory, I/O, storage, BIOS, CIMC. server
BIOS information Displays the BIOS information. smbios
Clear logs Clears the log and the System Event Logs (SEL) log for the diagnostics tool. clear diaglogs sellogs
Stop Stops a test that is already running. stop (example, memory noise stop)
Help Displays a list of available commands and sub-commands. ?
Scroll window Scrolls the CLI window down or up. Right-click the scroll bar to scroll up and left-click the scroll bar to scroll down.