1836357 Members
1900 Online
110100 Solutions
New Discussion

Base memeory

 
Praveen Bezawada
Respected Contributor

Base memeory

How can I find the base memory of my box

thanks in advance
praveen
9 REPLIES 9
Rita C Workman
Honored Contributor

Re: Base memeory

If by base you mean physical memory than these first two will answer it.
1-go under SAM/Performance Monitors/System Properties and select the corresponding tab.
2-Or another way to get memory...run dmesg

Or for swap mem set up and used... run swapinfo -tm

Just a couple thoughts,
John Palmer
Honored Contributor

Re: Base memeory

Hi,

If you mean 'How much memory does my system have?' then there are several methods:-

1) glance - if you have it 't' or 'm' screens
2) dmesg - providing it hasn't been overwritten gives you a 'Physical: nnnn Kbytes
3) STM tools allow interrogation of memory down to type and slot position.
4) echo 'phys_mem_pages/D'| adb /stand/vmunix /dev/kmem
will give you the number of 4Kbyte pages (on HP-UX 11) or:-
echo 'physmem/D'| adb /stand/vmunix /dev/kmem
will give you the number of 4Kbyte pages (on HP-UX 10.20

Pick one...

Regards,
John

Stefan Farrelly
Honored Contributor

Re: Base memeory


add 1 more....

/usr/sam/lbin/getmem

(answer in MB)
Im from Palmerston North, New Zealand, but somehow ended up in London...
Praveen Bezawada
Respected Contributor

Re: Base memeory

Hi
Base memory , i thought was the on chip memory ,that is memory on the CPU.
Am I correct ?

Thanks and Regards
Stefan Farrelly
Honored Contributor

Re: Base memeory


Base memory is the amount of memory installed in your system, just as in a PC.

To find out how much memory (cache) is on your CPU chips then you need to identify what type of server/cpu's you have. Or, use STM (xstm) it will tell you this info if you select a CPU then go to info report.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: Base memeory


eg. on my little workstation I go into XSTM, select the CPU, then go to Tools -> Information -> Information Log and here is what it gives;

Product ID: CPU Module Type: 0
Hardware Model: 0x59d Software Model: 0x4
Hardware Revision: 0 Software Revision: 0
Hardware ID: 0 Software ID: 2009591309
Boot ID: 0x2 Software Option: 0x81
Hard Physical Address: 0xfffa0000 Soft Physical Address: 0
Slot Number: 8 Software Capability: 0x100000f0
PDC Firmware Revision: 6.1 IODC Revision: 0
Instruction Cache [Kbyte]: 512 Processor Speed: N/A
Data Cache [Kbyte]: 1024 Processor State: N/A
Instruction TLB [entry]: 120 Processor Chip Revisions: 5.1
Data TLB Size [entry]: 120 2nd Level Cache Size:[KB] N/A
Serial Number: N/A

As you can see, Icache (memory) is 512k and dcache 1Mb and no 2nd level cache.

Im from Palmerston North, New Zealand, but somehow ended up in London...
Carlos Fernandez Riera
Honored Contributor

Re: Base memeory


/usr/sam/lbin/getmen fails when more than 2Gb are instaled.

My peer has develop a C program which call to pstat_getstatic funtion. See man pstat.
unsupported
Alan Riggs
Honored Contributor

Re: Base memeory

Carlos is correct, though I think the cutoff is even lower. I have seen /usr/sam/lbin/getmem report inaccurate information for anything over 512Mb.

One more option:
grep Physical /var/adm/syslog/syslog.log
Carlos Fernandez Riera
Honored Contributor

Re: Base memeory


Alan:

Im sorry,you are rigth.
unsupported