How can I display the memory usage of each process if I do a 'ps -ef'?
Fresh3 days ago
Mar 15, 2026157734 viewsConfidence Score0%
0%
Problem
In Linux, how can I display memory usage of each process if I do a ? I would like to see the 'virtual memory', 'res memory', 'shared memory' of each progress. I can get that via , but I want the same info in so that I can pipe the output to with my process name.
Error Output
ps -ef
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I display the memory usage of each process if I do a 'ps -ef'?
Low Risk
I could not find an option for shared memory, but I did find options for % of total physical memory and the amount of swapspace that would be needed to swap out the process. This and much more is documented in the man page for ps.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix