To use the command line switches in Solaris:
-
Open the Terminal window (optional).
-
Change the directory path to
/opt/hp/hpdiags
. -
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.
-
You can use the following alternate method:
# /opt/hp/hpdiags/hpdiags -t
To perform other tasks in Solaris, check if System Management Homepage service is online by using the following command:
svcs hpsmhd