Insight Diagnostics commands for Linux

To use the command line switches in Linux:

  1. Open the Terminal window (optional).

  2. Change the directory path to /opt/hp/hpdiags.

  3. Run the command hpdiags with the required switch as shown in the following examples:

    • # ./hpdiags -t

    This example will perform a survey capture and output the resulting XML to the terminal.

    • # ./hpdiags -s "0005**01" -c surveybase.xml -p -o /mnt/remoteserver/surveycompare.txt

    This command schedules Insight Diagnostics to compare the original Survey configuration file to the current configuration after performing a fresh Survey capture, which runs every Monday at 5:00 AM, and saves the result to the specified remote file in a plain-text format.

  4. You can use the following alternate method:

    # /opt/hp/hpdiags/hpdiags -t

To perform other tasks in Linux, check if System Management Homepage service is running by using the following command:

/etc/init.d/hpsmhd status