Operating System - HP-UX
1836361 Members
2541 Online
110100 Solutions
New Discussion

system whole informations needed

 
siva baskaran
Regular Advisor

system whole informations needed

dear,

i have to findout systems whole infomation information by command line interface so what is the command for to do same

like i have attached an example file, i need to collect all the information which are metioned in that attached file so please help me anyone

thanks
siva
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: system whole informations needed

If you open your sample file and click the link in the first line you will find a HP-UX version too.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: system whole informations needed

Shalom siva,

I'd say that some form if ioscan may provide a lot of the information in that report.

That will provide a good chunk, along with perhaps some menu driven cstm.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: system whole informations needed

Sorry, I have a better answer. I'm attaching a couple of scripts.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
siva baskaran
Regular Advisor

Re: system whole informations needed

dear,
Steven E. Protter how can i use cstrm can u give some examples? is it file or scribpt ?

however i needed all information of system in single file, like by ioscan i couldn't able to find out speed of cpu, like such kind of information how can i get it ?

i need exact path to get all the information of hpux server like seial no of server, whatever infomation is there in hpbox

thanks
siva
Torsten.
Acclaimed Contributor

Re: system whole informations needed

A good start is this:

# echo "dev sel all;info;wait;il"|cstm >your_file.txt

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pete Randall
Outstanding Contributor

Re: system whole informations needed

You might want to look at Ignite's "print_manifest" command.

CPU speed can be found from the command line with a little script:

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

ioscan -k |grep -n processor |wc -l


And - all of this can be scripted to append to a single file.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: system whole informations needed

another good one:

# /opt/ignite/bin/print_manifest

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
DCE
Honored Contributor

Re: system whole informations needed



Another program you can use is sysinfo

you can download it from here
http://gatekeep.cs.utah.edu/hppd/cgi-bin/search?package=on&description=on&term=sysinfo

It is a very useful program.........