dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


How to find which process is eating RAM memory in Linux

Dec 09, 2010, 05:03 (3 Talkback[s])

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"If you are running out of RAM on your Linux system, you will want to find the culprit in order to solve the problem, either by reconfiguring the RAM-hungry application or by stopping it.

"We'll use ps, awk, head and sort with a pipe, to find out which application is consuming our RAM

"List running processes ordered by RAM usage

ps aux | awk '{print $2, $4, $11}' | sort -k2r | head -n 20

Complete Story

Related Stories: