| Switch | Description |
|---|---|
| -l LanguageCode | 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 5 |
| -s "mmhhddMMDD" | Schedule automatic execution of survey captures. 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. |
| -u | Unschedule automatic execution of survey captures. |
| -c FILE1 [FILE2] | Compare a survey file to the current configuration. Or, if two files are specified, compare the files. |
| -t | Output to the terminal. NOTE: -t and -o cannot be used together |
| -o FILE | Output to a 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). If a survey compare is being performed the default filename is the same as above except "surveycompareCCYY-....". 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. |
| -? , -h | Display help |
To use the command line switches in Linux:
# ./hpdiags -t# /opt/hp/hpdiags/hpdiags -tPerforming other tasks in Linux:
/etc/init.d/hpsmhd status