Solved

Linux - explain memory usage mem_info output

Posted on 2004-09-09
4
932 Views
Last Modified: 2012-05-05
Could someone clearly explain each LINE of this output from /proc/mem_info

Giving me if a value is GOOD or BAD , REALLY BAD and why it's good or bad.

LINUX REDHAT 7.3 BI PRO Pentium III CPU

        total:    used:    free:  shared: buffers:  cached:
Mem:  524648448 482758656 41889792    49152 20705280 318124032
Swap: 2147442688 297893888 1849548800
MemTotal:       512352 kB
MemFree:         40908 kB
MemShared:          48 kB
Buffers:         20220 kB
Cached:          29900 kB
SwapCached:     280768 kB
Active:         168112 kB
Inact_dirty:    160128 kB
Inact_clean:      2696 kB
Inact_target:   131068 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       512352 kB
LowFree:         40908 kB
SwapTotal:     2097112 kB
SwapFree:      1806200 kB

Thanks
0
Comment
Question by:eeolivier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12018865
The only thing notable in that is that there's not enough installed memory to avoid using swap. Whether that's good, bad, or doesn't matter is really a matter of what is swapped out. If something that's actively running is having to use swap there'll be a noticable performance problem with the system. On the other hand if what's in swap is only active at infrequent intervals it may not matter.

Are you asking about this because you've got a problem or just for general knowedge?
0
 

Author Comment

by:eeolivier
ID: 12021593
In fact, it's in my development server. But i hardly understand what is "Inact_dirty" for example. And High/Low

0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12021818
" The only thing notable in that is that there's not enough installed memory to avoid using swap."

Forgive my ignorance Jim but I thought the kernel would  always use a small amount of swap no matter how much ram is in the box?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 400 total points
ID: 12022781
Inact_dirty is memory that's not currently being used but still contains data that needs to be saved to swap or disk. An example would something like file data that hasn't yet been flushed to disk.

HighTotal is the total amount of memory in the high region (above approx 860MB). LowTotal is all other memory below the High region.

That, and more, information about memory stats can be seen at http://www.redhat.com/advice/tips/meminfo.html

owensleftfoot,

There's a difference between swap being occasionally used and data living in swap. I've got servers that you never see any swap usage because they have a ton of memory relative to the load.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPA and Samba (and NFS and Samba....) 1 145
Linux SSH Error 9 161
Squid Authentication 7 85
Install XRDP on Ubuntu Server 16.10 x64 3 59
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question