Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
For a global view you can use periodically dumping output from free, (at)sar/sa. Finer grained stats you could gain from lsof, (a)top, or ps (like /bin/ps ax -eo vsz,pid,args) but then you would have to transmogrify the data a bit. I like atop, because it can also show VM in/decreases per app.
Any finer grained and you're at the level where you would zoom in on suspects, test different configs, assess add-ons (like httpd cgi's) or use a preloaded lib or binary recompiled with a debugging lib like dmalloc.
You might also check on whether 1. swap was configured on installation, #2 whether you have a swap line in /etc/fstab, 3. is the swap actually in use. As far as item item 3 is concerned, when I installed my system, although a swap space was configured, swapon was never called on boot to turn it on, so I was running without a swap. Hope this helps. -mk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.