LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-23-2003, 07:03 AM   #1
linxtc
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9
Posts: 7

Rep: Reputation: 0
memory usage - is it all being used/addressed ?


I'm working with a machine remotely (via ssh, yes updated)
and trying to understand how memory usage is reported.

I read through many other postings and still needed to ask:

This machine has 512 MB RAM, but I see the following:

cat /proc/meminfo:

MemTotal: 481256 kB
MemFree: 8512 kB
MemShared: 0 kB
Buffers: 169048 kB
Cached: 144820 kB
SwapCached: 0 kB
Active: 194264 kB
Inactive: 207556 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 481256 kB
LowFree: 8512 kB
SwapTotal: 2032212 kB
SwapFree: 2032212 kB

======
free:

total used free shared buffers cached
Mem: 481256 472656 8600 0 168908 144812
-/+ buffers/cache: 158936 322320
Swap: 2032212 0 2032212

=====

Please tell me I'm failing to understand this information (!)
Otherwise, I'm led to believe that the kernel is hogging up approx. 30 MB of RAM ... ???



Suse 8.0

AMD Athlon XP 1800+
running at 1.533 GHz
512 MB RAM installed
 
Old 09-23-2003, 10:41 AM   #2
mfeat
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: Fedora Core 3
Posts: 185

Rep: Reputation: 30
I'd say it was taking 40M of RAM (481256/1024 = 469.9765)

I also use this to show kernel memory:

cat /var/log/dmesg | grep -A8 Memory

But I'm no expert on this subject, I'm trying to figure out a memory problem of my own:

http://www.linuxquestions.org/questi...threadid=95873
 
Old 09-23-2003, 03:36 PM   #3
driedlinger
LQ Newbie
 
Registered: Aug 2003
Distribution: RH 7.3, 8, 9
Posts: 13

Rep: Reputation: 0
you can run dmesg or look at the messages file. every boot it should dump out all the cpu and memory stuff. See if you can get it to add up...it may not be exact as memory is allocated in pages (typically 1024K pages). Hope it helps a little.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
memory usage suchi_s Linux - General 2 05-29-2004 05:06 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM
Memory Usage and RH 9 farside268 Linux - General 7 08-24-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration