HP Servers running HP-UX - getsysinfo.sh 9.22 data collection script readme and FAQ

-x 'exec:command' : log the output of command to file addcmds.log
Only if external script hpmpl.jar is in same dir or with getsysinfo.mp.sh or getsysinfo.all.sh:
-mp : run external mp collection java program hpmpl.285.jar
-mpopt "options" - set additional options for hpmpl.285.jar
Only if external script sd2collect.pl is in same dir or with getsysinfo.sd2.sh or getsysinfo.all.sh:
-sd2 : capture Superdome 2 or C[37]000 OA logs with external sd2collect.pl
-sd2opt "options" - set additional options for sd2collect.pl
Only if external script sd2collect.pl is in same dir or with getsysinfo.sd2.sh or getsysinfo.all.sh:
-sginfo : capture Service Guard logs with external script sginfo
The option -s prevents "hanging" commands like ioscan -f, diskinfo, vgdisplay etc.
(hanging means, the command may hang due to a hardware problem, NOT the server !)
Frequently Asked Questions
getsysinfo.sh (current version: 9.22, 24.04.2014 )...............................................................................1
Syntax (run as root !).......................................................................................................................1
Frequently Asked Questions............................................................................................................2
Why should I use the script ?......................................................................................................2
What options should I use ?........................................................................................................2
How long does a script run take ?...............................................................................................3
How big is the output ?...............................................................................................................3
Can the script crash the server ?..................................................................................................3
How can I give feedback to improve the script or report problems ?.........................................3
What is NOT collected by the script ?........................................................................................3
What is collected ?......................................................................................................................4
How to capture additional data from an MP or OA with hpmpl.jar ?.........................................5
How to capture additional data from C-Class or Superdome 2 OA ?.........................................6
How to capture Service Guard related information ?.................................................................7
How to automatically run crashinfo ?.........................................................................................7
How can I modify the temporary directory ?.............................................................................7
How to run/collect additional commands/files with the -x option ?..........................................7
Can I modify the script ?.............................................................................................................8
How to check if I have the official getsysinfo.sh script or a modified ?.....................................8
How to transfer data via ASCII terminal applications with cut&paste ?....................................9
Can I run the script regularly from cron ?...................................................................................9
Why should I use the script ?
It simply saves time if the support engineer gets all information from the OS needed for
troubleshooting in one step. And running a script is much more easy than collecting everything
manually.
What options should I use ?
The script should be run as root with ksh without any option by default. It then collects all data
necessary to troubleshoot recent hardware problems.
ksh getsysinfo.sh
Note: The script is only tested with Korn Shell (/usr/bin/ksh) and also works with the Posix default
shell for the root user (/sbin/sh). Other shells like csh or bash may cause problems.