Solved

Linux - explain memory usage mem_info output

Posted on 2004-09-09
4
921 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
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
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
Comment Utility
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
Comment Utility
" 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now