beautypg.com

Using the online edition from a command line – HP Insight Diagnostics Software User Manual

Page 13

background image

Using the Online Edition from a command line

The optional command line parameters are listed in

Table 2-1 “Optional command line

parameters”

.

Table 2-1 Optional command line parameters

Description

Parameter

Language Code options:
• en (for English, the default language)
• de (for German)
• es (for Spanish)
• fr (for French)
• it (for Italian)
• ja (for Japanese)

–1

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.

-v

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 (for example,
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 to the
Windows Scheduled Tasks list for Windows-based systems. For more information
on crontab, enter man crontab at a Linux command prompt.

-s "mmhhddMMDD"

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.

–u

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

-c

Run a new HP Survey Utility snapshot and output to the terminal.

This option is ignored if -o is not specified.

-t

HP Survey Utility captures and comparisons can be to a file as plain text. The default
is XML format.

-p

Run a new HP Survey Utility 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.

—o

Overwrite the output file if it already exists.

If the -o parameter is not specified this option is ignored.

-f

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

-a

Run a diagnosis of all diagnosable devices. The test results are posted to the
Diagnosis Log (diagnosislog.xml).

–rd

Display help.

-? , -h

Starting the Online Edition

13