Operating System - HP-UX
1837777 Members
3476 Online
110119 Solutions
New Discussion

Re: 8GB memory is smaller on C8000

 
Christian Schulze_1
Occasional Contributor

8GB memory is smaller on C8000

Hi,
I try to read out the memory size on an C8000 WS with the following commandline:
echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem|tail -1| awk '{printf "%.0f", $2/256}'

On an C3XXXX the value is correct (8192) on an C8000 the value is 8190. Why?
Thank you for help

Christian
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: 8GB memory is smaller on C8000

Hi Cristian,

Could this be a case of a bad round off in the "awk '{printf "%.0f", $2/256}'" command.

# echo "selclass qualifier memory;info;wait;infolog" | cstm | grep 'Total Configured'

# echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem | perl -nle'/(\d+)/&&print$1*4,"k"'

Best regards,
Robert-Jan
bhavin asokan
Honored Contributor

Re: 8GB memory is smaller on C8000

hi,
can you use stm (if it is installed)

#/usr/sbin/cstm
cstm>map

find the dev num of memory. (assuming it is 33)

csrm>sel dev 33;info

cstm>il

and enter q for leaving the session

regds,
Christian Schulze_1
Occasional Contributor

Re: 8GB memory is smaller on C8000

Hi Robert-Jan,

no, because this the result of this command:
echo 'memory_installed_in_machine/D' | adb -k /stand/vmunix /dev/mem

C8000: 2096640
C3600: 2097152

Both Machine have 8GB MEM. This is the same result as if you using symbol phys_mem_pages

Yes you can do it with cstm, but if you want to scan 4000 machines, you will die by a coffee flash, while waiting and drink coffee ;)

So where are the lost 512 Pages (2Mb)?

Christian