Go to main content

Oracle® X8 Series Servers Administration Guide

Exit Print View

Updated: October 2019

Check System Components With HWdiag Commands (Oracle ILOM)

You can run HWdiag commands in the Oracle ILOM Diag shell to check the status of system components.

Note -  The Oracle ILOM Diag shell is available only in Oracle ILOM 4.0.x and later releases.
  1. Log in to the Oracle ILOM CLI.
  2. At the Oracle ILOM prompt, access the Diag Shell.
    ->start /SP/diag/shell
    Are you sure you want to start /SP/diag/shell (y/n)? y
  3. At the diag> prompt, type the following command:

    diag> hwdiag parameters

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

    For details, refer to Oracle x86 Servers Diagnostics and Troubleshooting Guide With Oracle ILOM 4.0.x at https://www.oracle.com/goto/x86admindiag/docs.

  4. 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.

  5. 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, type 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.