1834696 Members
2393 Online
110069 Solutions
New Discussion

Re: system memory...

 
SOLVED
Go to solution
Michael Bowler
Occasional Contributor

system memory...

I have been asked by a colleague if I know how much memory is on one of our Unix boxes. It is one I am not familiar with, so does anyone know how I can find out what the memory size is?

Regards,

Michael.
9 REPLIES 9
MARTINACHE
Respected Contributor

Re: system memory...

Hi,

If your dmesg is not full :

dmesg | grep Physical

Regards,

Patrice.
Patrice MARTINACHE
Alexander M. Ermes
Honored Contributor

Re: system memory...

Hi there.
Either with glance trial software or the support tools ( xstm / cstm ).
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Michael Bowler
Occasional Contributor

Re: system memory...

Thanks for those suggestions, but neither of them work. The grep returns nothing, glance trial has expired and the other xstm/cstm do not exist.

Regards,

Michael.
federico_3
Honored Contributor
Solution

Re: system memory...

Try the followig for memory in MBs:

for 10.20
echo "physmem/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'

for 11.00
echo "phys_mem_pages/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'

Federico

Barry O Flanagan
Respected Contributor

Re: system memory...

Try :

top

or

vmstat
Stefan Schulz
Honored Contributor

Re: system memory...

The easiest way is to use SAM. You will find the memoryconfiguration and some other usefull stuff under sam -> Performance Monitors -> System Properties.

You can also use /usr/sam/lbin/getmem on the commandline. But i've seen this tool report 56 MB RAM when there have been 1 GB RAM.

Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Thierry Poels_1
Honored Contributor

Re: system memory...

LOL, okay other options :
grep Physical /var/adm/syslog/syslog.log
(or OLDsyslog.log)


/usr/sam/lbin/getmem

or a little C-prog

good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Ravi_8
Honored Contributor

Re: system memory...

Hi michael

login as root
SAM -->Performance Monitor -->System properties

u can view the memory
never give up
CHRIS_ANORUO
Honored Contributor

Re: system memory...

There are a lot of ways, for example:
For 10.20:
echo "physmem/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'

For 11.00
echo "phys_mem_pages/D"| adb -k /stand/vmunix /dev/kmem | tail -1 | awk '{print $2/256}'

cat /var/adm/syslog/syslog.log |grep Phy
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.