Solved

Linux - explain memory usage mem_info output

Posted on 2004-09-09
4
936 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 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