1847175 Members
5547 Online
110263 Solutions
New Discussion

Re: RAM

 
bhoang
Advisor

RAM

How can I find the total RAM on my machine,
HP9000 T600 OS10.20? TIA
10 REPLIES 10
Anthony deRito
Respected Contributor

Re: RAM

Use SAM -> Performance Monitors -> System Properties
Tab to memory and view values.

Can also use swapinfo -tma
RikTytgat
Honored Contributor

Re: RAM

Hi,

The title area of a top screen also shown he amount of physical memory.

Bye
Rick Garland
Honored Contributor

Re: RAM

dmesg | grep Phy will give the amount of Phtsical Memory on the system as well.
Andy Monks
Honored Contributor

Re: RAM

Checking dmesg is good as long as the message buffer hasn't wrapped.

Another way, is via a small program which I've attached. Just compile and run

make phys_mem.c
./phys_mem
Jason Luginbuhl
Frequent Advisor

Re: RAM

This is just a clarification on some of the other messages. dmesg is probably the best way to see your total physical memory. It will also show you lockable memory. However, info in dmesg is just coming from the startup sequence and can get overwritten by other errors. If this occurs than you can grab it out of the kernel with adb debuggers. See Knowledge Base Document KBRC00001146.

Finally, someone mentioned that swapinfo -tma will show you this. This is FALSE. The MEMORY line in swapinfo is the amount of memory that is being used for pseudo swap. This can be as much as 75% of your total physical memory. This is not hard to comfirm. Just compare the output of swapinfo with dmesg.
"Unfortunately you can't out-program stupidity"
Dave Wherry
Esteemed Contributor

Re: RAM

Yet one more way is to use the Support Tools Manager. There are character and GUI versions. I prefer the GUI.
Run xstm for GUI or mstm for character. Highlight the Memory icon or cursor to the Memory line. Then go to Tools > Information > Run to get a report. It gives you more information on the physical memory in your system. Shows what size memory module is in what slot. It helps to know if you have any slots available before you buy additional memory.
tech1214
Advisor

Re: RAM

One further way:

Check /var/adm/syslog/syslog.log, the same message that dmesg can contain
is 'permanently' written to syslog on boot. Plus, by default non-root users can
read syslog too.
Ramesh Donti
Frequent Advisor

Re: RAM

Hi,
Try any of the following.

1. #dmesg |grep -i phy (may not work if the message buffer is filled up with some other messages)

2. # echo "mem_ptr/D"| adb /stand/vmunix
/dev/mem (gives in number of bytes)
3. SAM --> Performance Monitors --> System Properties ---> Memory
Always Keep Smiling
Stefan Schulz
Honored Contributor

Re: RAM

You can also use /usr/sam/lbin/getmem
which gives you the RAM im Megabyte. As this is a commandline tool you can use it very easy in your own scripts.

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Stefan Farrelly
Honored Contributor

Re: RAM


Just one command; /usr/sam/lbin/getmem (results are in Megabytes)
Im from Palmerston North, New Zealand, but somehow ended up in London...