To list the command line options, enter the following commands:
cd
opt\hp\hpdiags
hpdiags
-?
The optional command line parameters are listed in the following table.
Parameter |
Description |
---|---|
|
Language Code options:
|
|
Verbosity of output where Level is an integer between 1 and 5. Level 1 is the most filtered and Level 5 is the most verbose. The default is Level 3. |
|
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 asterisk (*) for any value. If you use an asterisk, you must quote the date/time value (-s "0023***"). If no asterisk is used, the quotes are optional. This command adds an entry to your
crontab, for Linux-based systems, or the Windows Scheduled Tasks
list, for Windows-based systems. For more Information on crontab,
enter |
|
Unschedule of HP Insight Diagnostics running. This command removes all entries that refer to HP Insight Diagnostics in your crontab. For a Windows system, this command removes the entries in the Windows Scheduled Tasks list. |
|
Compare a file to the current output, or if two files are specified, compare the files without generating a new report. |
-t |
Run a new Survey snapshot and output to the terminal. This option is ignored if -o is not specified. |
-p |
Survey captures and comparisons can be to a file as plain text. The default is XML format. |
|
Run a new survey snapshot and output to a file. The 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, and ss=second). -t and -o cannot be used together. |
|
Overwrite the output file if it already exists. If the -o parameter is not specified this option is ignored. |
|
Append the output to an existing output file. If no -o option is specified, this option is ignored. To avoid XML parsing errors, use this option with the plain text (-p). |
|
Run a diagnosis of all diagnosable devices. The test results are posted to the Diagnosis Log (diagnosislog.xml). |
|
Display help. |