Skip to content

Opening book details…

Can I read Understanding Linux Memory Metrics on EtoBox?

Understanding Linux Memory Metrics by keytasks is a document available to read on EtoBox.

What is Understanding Linux Memory Metrics about?

The document discusses calculating memory usage on Linux systems. It explains that virtual memory usage reported by tools like top and ps can be misleading as they include shared memory. The document recommends using the smaps file in /proc to get more accurate resident set size (RSS) and private memory usage for a process by extracting values like RSS, shared, private, swap, and PSS. It also provides a memuse.sh script to calculate total memory usage from smaps.

Author
keytasks
Language
EN