Operating System - HP-UX
1833178 Members
2654 Online
110051 Solutions
New Discussion

Re: Running getsysinfo command

 
phanishanker
Occasional Contributor

Running getsysinfo command

Hi, am new bee to HP-UX. Could some one please let me know about getsysinfo. Is it a script or command? Or is it something like Sun explorer which collects all system information. I googled it but i didnt get any info.
3 REPLIES 3
Bulent ILIMAN
Trusted Contributor

Re: Running getsysinfo command

Hi,

getsysinfo is a script that collects almost all of the logs needed to understand and analyze the system situation.

You just put it on the /tmp
chmod 744
and run with command
./getsysinfo

the output is something like
/tmp/sysinfo.hostname.tgz
AnthonySN
Respected Contributor

Re: Running getsysinfo command

getsysinfo is a script.
output of getsysinfo is mostly asked by hp support to get the complete info of the system.
R.K. #
Honored Contributor

Re: Running getsysinfo command

Hello,

This is how you will run getsysinfo (script).
You can *also* run getsysinfo with some options as seen below:

# chmod u+x getsysinfo.sh

Then run
# ./getsysinfo.sh -n -p -sas -san
-----------------------------------------------------------------

getsysinfo.sh 8.6
ksh getsysinfo.sh [options]
-s : secure, use only non hanging commands
-t : (default) make a gzipped tar archive /tmp/sysinfo.tgz (bin)
-sh : make shell archive /tmp/sysinfo.shar (ascii)
-u : uuencoded tgz file => /tmp/sysinfo.uu (ascii)
-n : default filename will be /tmp/sysinfo.hostname.???
-d : diskinfo from all disks (scsimgr get_info on 11.31)
-san : capture fcmsutil get remote all (may take a long time)
-h : get all files from /var/tombstones directory instead only those
: younger than 180 days
-p : include information from print_manifest
-f : do not truncate some of the logfiles to 1048576 kB
-diag: capture additional data for diagnostics troubleshooting
-sas : force running of sasmgr

The option -s prevents "hanging" commands like ioscan -f, diskinfo, vgdisplay etc.

The output will be configured and copied at /tmp/sysinfo.tgz
Don't fix what ain't broke