how to check ram usage by process
Hey guys
I was wondering if there was a command that would be able to show me the amount of ram that each process is consuming. Also, after using the command cat /proc/meminfo, I get the following: MemTotal: 262316 kB MemFree: 3176 kB Im assuming 3000kB is VERY low right? |
Hi,
'top' or 'ps' You can 'man' to get the specifics. |
MemFree shows you takes into account all disk caches and buffers together with actual programms memory. To count memory occupied by programs you should subtract MemFree Buffers and Cached from MemTotal.
|
Quote:
262315 - (48648+3176) ? MemTotal: 262316 kB MemFree: 3176 kB Buffers: 664 kB Cached: 48648 kB SwapCached: 42216 kB Active: 216100 kB Inactive: 20556 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 262316 kB LowFree: 3176 kB SwapTotal: 1048568 kB SwapFree: 824592 kB Dirty: 184 kB Writeback: 0 kB Mapped: 212720 kB Slab: 10636 kB CommitLimit: 1179724 kB Committed_AS: 594600 kB PageTables: 2768 kB VmallocTotal: 696312 kB VmallocUsed: 1168 kB VmallocChunk: 694724 kB also, thanks onebuck, will look into it |
All times are GMT -5. The time now is 10:54 PM. |