1847342 Members
2101 Online
110264 Solutions
New Discussion

Re: System Info

 
SOLVED
Go to solution
Geetha.R
Occasional Advisor

System Info


How to find out the memory size,Shared memory size CPU speed, size of RAM for HP UX 10.2 ? Is there any command to do the above query?
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: System Info

Memory:

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM



CPU Speed:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ

Pete
Patrick Wallek
Honored Contributor

Re: System Info

If you want to go thru SAM, go into SAM, then go to Performance Monitors, then System Characteristics

Or, if you have Ignite/UX installed then you can run /opt/ignite/bin/print_manifest and get the characteristics.
Paul Sperry
Honored Contributor

Re: System Info

SAM
Preformance Monitors
System Properties
Processor, Memory tabs have all the info you want
MANOJ SRIVASTAVA
Honored Contributor
Solution

Re: System Info

If you have ignite then

print_manifest


or

sam--->performance monitor---> system info.

dmesg | grep Phy will aslo give you the memory size too


stm or xstm will help tooo.


Manoj Srivastava
Geetha.R
Occasional Advisor

Re: System Info

HI,
Thanks a lot for your answers..
They work fine

Anil C. Sedha
Trusted Contributor

Re: System Info

One more good one-line command

/usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui


run this as root or with sudo permissions.

-Anil
If you need to learn, now is the best opportunity