Operating System - HP-UX
1753797 Members
7498 Online
108805 Solutions
New Discussion юеВ

Taking System Configuration ...

 
SOLVED
Go to solution
Shahbaz_1
Regular Advisor

Taking System Configuration ...

Hi,
Knowing about a new Server.
it's processor, speed etc ?
memory?
disks, no of disks and raid level?
lan cards ?
etc

When we don't have any manual/docs of hardware.
How best to know about each and every server components?

Please give me your inputs...

Thanks in Adv

Regards
Shah
Let's share the great thing "THE KNOWLEDGE"
9 REPLIES 9
steven Burgess_2
Honored Contributor
Solution

Re: Taking System Configuration ...

Hi Shah

Script to get memory calculation

let x=$(grep -i physical: /var/adm/syslog/syslog.log | head -1 | awk '{print $7}
')/1048
let z=$(vmstat|tail -1|awk '{print $5}')*4096;let z=$z/1000000
let free=100000/$x*$z
let free=$free/1000
let free=100-$free
echo "$x Mb physical memory \n$z Mb memory free \n$free % used"
/freeem: END

HTH

Steve
take your time and think things through
Scott Van Kalken
Esteemed Contributor

Re: Taking System Configuration ...

There are a million scripts out there to do this for you.

I wrote my own, because... well, I just did.

Some really neat ones I've seen are at the following address:

http://www.introcomp.co.uk/hpux/index.html

There are a heap for solaris and AIX as well.
Sridhar Bhaskarla
Honored Contributor

Re: Taking System Configuration ...

Hi Shah,

# of procs

echo 'processor_count/D' | adb -k /stand/vmunix /dev/kmem

'top' will also show you # of procs.

Processor Speed

echo itick_per_tick/D | adb /stand/vmunix /dev/kmem

Memory

grep Physical /var/adm/syslog/syslog.log

Disks

ioscan -fnC disks > disk.out

Disk Size

diskinfo /dev/rdsk/c?t?d? (for each disk in the ioscan output)

Inventory with device files

ioscan -fn > ioscan.out

System Administration

sam

I strongly recommend you to go through docs.hp.com for documentation on HP-UX.

-Sri


You may be disappointed if you fail, but you are doomed if you don't try
steven Burgess_2
Honored Contributor

Re: Taking System Configuration ...

Shah

Have a look through the below thread. There a loads of them

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html

HTH

Steve
take your time and think things through
Michael Tully
Honored Contributor

Re: Taking System Configuration ...

Hi,

What's wrong with the output generated from an ignite session. Have a look at the 'print_manifest' command. There is also a man page for this.

Michael
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: Taking System Configuration ...

Sounds like you want a "wider scope" tool to collect information on your server. There are quite a number of tools out there. They may not be a single tool that will cover everything for you. Some of the tools that you may want to download and try out are ..

http://www.grc.hp.com/docs/nickel/
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/
The command /opt/ignite/bin/print_manifest
http://members.tripod.com/rose_swe/cfg/cfg.html
T G Manikandan
Honored Contributor

Re: Taking System Configuration ...

shahbaz

nickel is a very good tool

http://www.grc.hp.com/docs/nickel/
Support tools manager can do the same(stm)
Also you can check the man pages of getconf.
getconf can give you good information.
Also check,
/opt/ignite/bin/print_manifest


Thanks
Shahbaz_1
Regular Advisor

Re: Taking System Configuration ...


Thanks lot, very one.

Regards
Shah
Let's share the great thing "THE KNOWLEDGE"
Doug Burton
Respected Contributor

Re: Taking System Configuration ...

Try this:
http://members.tripod.com/rose_swe/cfg/cfg.html

Makes a nice little(?) html page. I use the HP version and it works great.