Go to main content

Oracle® x86 Servers Diagnostics and Troubleshooting Guide

Exit Print View

Updated: January 2020

Run HWdiag (CLI)

Note -  The Oracle ILOM Diag shell is available only in Oracle ILOM 4.0.x and later releases. Check the Oracle x86 Critical Patch Update Guide and server Product Notes to see if this functionality is supported on your platform.
  1. At the Oracle ILOM CLI prompt, access the Diag shell, type:
    -> start /SP/diag/shell
    Are you sure you want to start /SP/diag/shell (y/n)? y
  2. At the diag> prompt, type diag> hwdiag parameters

    HWdiag commands use the form hwdiag main_command [subcommand ...].

    For details, see HWdiag Commands and Options.

  3. Choose any of the following ways to display help for HWdiag options and commands:
    • To display an overview of HWdiag options and main commands, type help hwdiag.

    • To display all HWdiag main commands and their subcommands, type help hwdiag -h.

    • To display the command structure with all options available by command, type help hwdiag -h -v.

    • To display help specific to a main-command, type help hwdiag -h main command.

  4. In the Diag shell, type any of the following commands:
    • To display the external commands available in the Diag shell, type help.

    • To display information, type echo, for example, echo $?.

    • To exit the Diag shell, type exit.

    • To run hardware diagnostics, type hwdiag.

    • To list the diagnostics log directories and files, type ls.

    • To print the content of the diagnostics log files, type cat.