1822014 Members
4055 Online
109639 Solutions
New Discussion юеВ

sysinfo

 
SOLVED
Go to solution
khilari
Regular Advisor

sysinfo

Hi people, is any body here using sysinfo. I downloaded the trial version. 6.0.
I am unable to use it as like being specific to check out network configuration etc. When i type sysinfo it just gives me ioscan -f out put and some basic hardware output.
Can any body with their experience using it tell how do i go about exploring it.
12 REPLIES 12
Arunvijai_4
Honored Contributor

Re: sysinfo

Hi Khilari,

Have you downloaded Sysinfo from

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sysinfo-3.3.1/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Geoff Wild
Honored Contributor

Re: sysinfo

I use HP's sysinfo...

I run from cron like so:

# Run the sysinfo script
0 6 1 * * /usr/bin/SysInfo -a -b -o /usr/tmp/`hostname`.sysinfo ; /usr/bin/chmod 644 /usr/tmp/`hostname`.sysinfo >/tmp/sysinfo.cron 2>&1

I do the chmod so I can grab the file as another user and put it on my documentation server...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
DCE
Honored Contributor

Re: sysinfo



Hello,

The one you downloaded is a commercial version. There is a version available from several sites for no charge. I am using the one from:
http://gatekeep.cs.utah.edu/hppd/hpux/

It is very good and you can get a lot of info using it
khilari
Regular Advisor

Re: sysinfo

Okay i went to the site and i got the sysinfo 3.0. I ftp'ed it in BIN mode and now it is sitting in a directory called sysinfo. with the file name sysinfo.depot.gz.
ftp> BI
200 Type set to I.
ftp> mkdir sysinfo
550 sysinfo: File exists.
ftp> cd sysinfo
250 CWD command successful.
ftp> put sysinfo.depot.gz
200 PORT command successful.
150 Opening BINARY mode data connection for sysinfo.depot.gz.
226 Transfer complete.
ftp: 70908 bytes sent in 0.00Seconds 70908000.00Kbytes/sec.
Now, what do i do next. I tried swinstall but it gives errors.


"n1:/sysinfo/sysinfo.depot.gz": An I/O error occurred while performing this task.

i tried swcopy it by
# swcopy -s /sysinfo/sysinfo.depot.gz @ /var/spool/sw. It gives me the error.
ERROR: The target and source cannot be the same path on the same
host. The identical values are newPC_LA:/var/spool/sw
ERROR: Command line parsing failed.


Can any one give me steps to go about at my current situation.The file is in BIN mode and now it is sitting in a directory called sysinfo. with the file name sysinfo.depot.gz.On the hpux box.
Thanks
khilari
Regular Advisor

Re: sysinfo

# sysinfo -a
sysinfo: Option "-a" is invalid.
Usage: sysinfo [ options ]

where [ options ] are:
--avoidblink Avoid DDC monitor probes known to blink monitor
--background [] Set GUI background color
--cache [YES|NO] Cache all class and license data
DEFAULT: YES
--cachedir [] Cache file directory
--cacheexpire [] Cache expire time
DEFAULT: 300
-c|--class [] Show information class
VALUES: all,General,Hardware,FileSys,Partition,StorVol,StorSys,Net
f,Network,Printer,Software,License,Kernel,SysConf,SiteInfo,device
--configdir [] Use as configuration dir
--configfile [] Use as master configuration file
--copyright Display copyright message and exit
--danger Disable runtime platform safety checks
-d|--debug Enable debugging messages
--democheck Check for demo license
--display [] Specify X11 display to display to
--driverlist List info about available SysInfo drivers
-e|--encode [] Encode output as
VALUES: text,html
--font [] Specify X11 font name
--foreground [] Set GUI foreground color
-f|--format [] Format output as
VALUES: tree,columns,report
--geometry [] Specify X11 geometry
-g|--gui [YES|NO] Use Graphical User Interface (GUI)
DEFAULT: YES
-H|--help Display usage options and exit
--hints [YES|NO] Show hints about how to use the CLI
DEFAULT: YES
-h|--host [] Show info for instead of this system
--iconic Start application in iconified
-i|--infile [] Read and display report format data from
--license Display SysInfo product license for this system
--licenselist List all SysInfo product licenses
--licensevalid [] Check for valid license and exit
-P|--licports [start-end,...] Range of ports to scan for license servers
-l|--list [] List valid option names for option
--logfile [] File to log all messages to
--members List description of class members
-C|--msgclass [] Set message class to
VALUES: info,gerror,unknown,cerror,warn,hint,debug,all
-L|--msglevel [] Output message level
VALUES: terse,brief,general,descriptions,config,all
--name [] Specify X11 resource name
--nodemo Do not use any type of demo license
--noserial Do not check serial #'s of devices to eliminate dups
-W|--nw No Graphical User Interface; force command line
--offset [<#spaces>] # of spaces for tree display offset
-o|--output [] Write output to
-p|--password [] Password to authenticate with server
--port [] Port on server to connect to
--refresh Refresh any cached data
--reportencvers [1,2,3,...] Specify format report encoding versions
-s|--repsep [] Report field seperator
--rtplatform Show runtime platform and exit
--show [] Show specific types of info
--siedirect Call SysInfo Engine (SIE) directly
--swfiles Show file info in software packages
--title [] Specify X11 window title
-t|--type [] Show devices of specific type
-U|--unknown Show unknown devices
--unused Show unused partitions or other items
--useconfig Do not use (read) config files
--useprom Read data directly from PROM instead of kernel
-u|--username [] Username to authenticate with server
-V|--version Show version info and exit
--widechar Output wide (I18N compliant) characters.
--xrm [] Specify X11 resource pattern



i am getting these options, lets say when i try using the gui and type.

sysinfo -g | yes. I get the options screen again.

Any ideas...
Victor BERRIDGE
Honored Contributor

Re: sysinfo

Ever thought using cfg2html?


All the best
Victor
Geoff Wild
Honored Contributor
Solution

Re: sysinfo

Use the sysinfo I attached in the doc above.

I also use cfg2html

http://groups.yahoo.com/group/cfg2html/

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Tom Henning
Trusted Contributor

Re: sysinfo

----IN response to:
Can any one give me steps to go about at my current situation.The file is in BIN mode and now it is sitting in a directory called sysinfo. with the file name sysinfo.depot.gz.On the hpux box.
-----

You have a gzip'ed depot file. gzip is a compression program, so the first thing you need to do is uncompress it using gunzip. Then you should be able to swinstall the depot, if you still insist on using sysinfo.

One other point I would like to make is that creating new temporary directories under / is not generally a good idea. Your line: "n1:/sysinfo/sysinfo.depot.gz": implies that you created the sysinfo directory under / which can lead to problem if done too often, especially if the directory is left because you forgot to clean up. This can cause the root volume to fill up, then the system goes down. I suggest you use /var/tmp as a temporary place for this sort of task, since filling /var up causes less damage than filling root.

That's my opinion, at least.


What is it that possesses otherwise sane individuals to change something just because it has not been changed in a while?
Yogeeraj_1
Honored Contributor

Re: sysinfo

hi,
just one clarification:

-g|--gui means

either -g or --gui


i.e.
sysinfo -g yes
or
sysinfo --gui yes

please try again

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
khilari
Regular Advisor

Re: sysinfo

# ll
total 1104
-rwxr-xr-x 1 root sys 501760 Mar 10 11:44 273453

This is the situation of cfg2html, on an hpunix server. I downloaded it with this name and gunzipped it
Now, what do i do next. I did sh 273453, but it said execute permission denied. I changed it to
chmod 755, still the same. Its in the /var/273453 directory. What do i do next.
Victor BERRIDGE
Honored Contributor

Re: sysinfo

Hi
I just downloaded my attachment to see what went wrong...
It there OK the name of the unique file has changed thats all, do a cat 273453|tar -tvf -

And you will see it content

Its real name was:
cfg2html_hpux_3.21-20060207.tar.gz
So now you have (since you gunziped it)
cfg2html_hpux_3.21-20060207.tar
Up to you if you want to rename it again before using tar....


All the best
Victor
Geoff Wild
Honored Contributor

Re: sysinfo

When I dl'd cfg2html the other day, I grabbed the depot version:

cfg2html_hpux_3.21-20060207.depot


do a:

file 273453

I bet it is a tar file

To list:
tar tvf 273453

To extract:
tar xvf 273453


For running cfg2html, I run from cron once a month like so:

30 5 1 * * cd /opt/cfg2html ; /opt/cfg2html/cfg2html_hpux.sh >/dev/null 2>&1


TIP: There is an annoying pop up add added to the generated html files - to remove - do the following:

cd /opt/cfg2html/plugins
cp -p head02.html head02.html.orig
vi head02.html

Delete the everything between and including:

Sponsor:


.
.
.



Rgds...Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.