Fli
08-27-2015, 11:08 AM
Hello,
what is the best way to see the processes and their memory usage so i get processes which using most RAM on the Linux server?
so far i found:
1)
top -c
and lookup VIRT column, it should give approximate usage in memory.
2)
ps aux --sort -rss
use ps and sort processes according to memory usage?
3)
pmap -x <process pid>
4)
cat /proc/<process pid>/status | grep Size
what is the best way to see the processes and their memory usage so i get processes which using most RAM on the Linux server?
so far i found:
1)
top -c
and lookup VIRT column, it should give approximate usage in memory.
2)
ps aux --sort -rss
use ps and sort processes according to memory usage?
3)
pmap -x <process pid>
4)
cat /proc/<process pid>/status | grep Size