Using Insight Diagnostics Commands

Command Line Options

The optional command line parameters are listed in the following table:

-l Language

Options are: en, fr, it, de, sp, and ja. The default is en.

-v Level

Verbosity of output where Level is an integer between 1 and 5. Level 1 is the most filtered level, 5 is the most verbose. The default value is set to 3

-s "mmhhddMMDD"

Schedule automatic execution. mm=minute (0-59), hh=hour (0-23), dd=day (1-31), MM=month (1-12), DD=Day of Week (0-6). All fields must be two digits ( 02 instead of 2). Use a single * for don't care fields.

NOTE: If you use * you must quote the date/time value ( -s "0023***"). If no * are used the quotes are optional.

NOTE: This command simply adds an entry to your crontab. For more Information on crontab type 'man crontab'.

-u

Unschedule of Insight Diagnostics running.

NOTE: This command will remove all entries in your crontab that refer to Insight Diagnostics.

-c FILE1 [FILE2]

Compare a file to the current output or if two files are specified, compare the files without generating a new report

-t

Output to the terminal.

NOTE: -t and -o cannot be used together

-o FILE

Specify name of the output file. Default is formed using the current date in this format: surveyCCYY-MM-DD-HH-mm-ss.xml (CC=Century,YY=Year, MM=Month, DD=Day, HH=Hour, mm=minute, ss=second).

NOTE: -t and -o cannot be used together

-f

Overwrite the output file if it already exists.

NOTE: If no -o option is specified this option is ignored.

-w

Starts the Insight Diagnostics Web Management service. This is necessary in order to browse to the Insight Diagnostics.

-k

Kills the Insight Diagnostics Web Management service.

-? , -h

Display help

 

HP Insight Diagnostics Commands for Linux

These commands should be executed from the /etc/init.d directory, or the path should be included in the command.

·         Run diagnostics service:

/etc/init.d/hpdiags start

·         Stop diagnostics service:

/etc/init.d/hpdiags stop

·         Check if diagnostics service is running:

/etc/init.d/hpdiags status

·         To see other command line options:

cd /usr/share/diagnostics/
./hpdiags -?

·         Automatically start diagnostics service on reboot:

Redhat Linux  and UnitedLinux
chkconfig --add hpdiags

SuSE Linux - specific
insserv -r /etc/init.d/hpdiags