1834047 Members
2406 Online
110063 Solutions
New Discussion

A500 Hardware Spec

 
SOLVED
Go to solution
Emma_8
Frequent Advisor

A500 Hardware Spec

Hi folks

What command(s) can I run on a platform to determine the h/w spec of the a box. I want to know things like no of disks and amount of RAM.

Thanks in advance
Emma
3 REPLIES 3
Rodney Hills
Honored Contributor
Solution

Re: A500 Hardware Spec

Run "print_manifest" which is part of the ignite package.

"ioscan" can tell you the devices and bus information.

HTH

-- Rod Hills
There be dragons...
Pete Randall
Outstanding Contributor

Re: A500 Hardware Spec

Emma,

I run this:

echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "w
ith" `ioscan -k |grep -n processor |wc -l` `cpuspeed
` "Mhz processors and" `memory` "of memory"


where cpuspeed looks like this:

HPUX=/stand/vmunix

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


and memory looks like this:

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


Pete

Pete
Emma_8
Frequent Advisor

Re: A500 Hardware Spec

Folks

Thanks to you both for the v.quick response. This was just what I needed :)

Emma