Koozali.org: home of the SME Server

Memory question

Andrew Hodgson

Memory question
« on: March 28, 2003, 11:18:50 PM »
Hi,

This is a basic question for a Unix newby: How to check the available memory?  I am looking for similar to the mem command in Dos, though of course more detail would be nice :-)
Thanks,
Andrew.

Bill Talcott

Re: Memory question
« Reply #1 on: March 28, 2003, 11:25:46 PM »
top

http://www.justlinux.com/nhf/Command_Reference is very handy for us newbs. =)

Also, the PHPSysInfo contrib will show memory usage along with lots of other system info on a web page.

kees blokland

Re: Memory question
« Reply #2 on: March 28, 2003, 11:36:55 PM »
Do Alt F2 to switch to the 2nd terminal. Login as 'root'  
then type:

# mypc > dmesg |more |grep Memory

or without the '| grep Memory' for loads of good stuff!
This tells you about physical hardware.
Try 'top'  to see what is been used by what.

# mypc >top

And in both cases:
# mypc>man dmesg

and

# mypc>man top

will tell you all about these programs..

Andrew Hodgson

Re: Memory question
« Reply #3 on: March 29, 2003, 03:23:01 PM »
Hi,

Thanks, as I feared there is a big memory problem in my unit, it also went very rong overnight and now when switched on makes one continuious beep!!

Dam, just when everything was working grate!

Andrew.