How to find out what process is eating the most memory
Latest news, Help & Support, or discuss issues with *nix and Linspire systems.

Moderators: Management, Forum Experts

How to find out what process is eating the most memory

Postby s. sengupta on Tue Jul 16, 2002 9:07 am

ps -aux | sort +4n

-OR-
ps -aux | sort +5n
:)
Image
User avatar
s. sengupta
PRO Level 15
PRO Level 15
 
Posts: 1282
Joined: Wed Jun 26, 2002 7:52 am
Location: India

Memory Hog

Postby billbonte on Tue Jul 16, 2002 11:27 am

Being a computer nerd, I wonder if you would give more detail to that response. Thank You
billbonte
 

Postby Weaver on Tue Jul 16, 2002 11:35 am

I find the "top" function to be much more useful. For those new to Linux, just type "top" at a command prompt. This will present to you a pseudo-graphical representation of processes active on the machine that is updated how ever often you choose. Once in top, press the "h" key for the help menu, this allows you to choose such options as the refresh rate, sorting by memory usage, processor usage, etc. Works very handy. When you want to quit, just type "q".

-Weaver
Public Keys

The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant. This also simplifies modifying the program, should the value of pi change.
-- FORTRAN manual for Xerox Computers
User avatar
Weaver
PROfessional Member
 
Posts: 2240
Joined: Tue Jun 18, 2002 8:05 pm
Location: /home/weaver/


Return to Unix & Linux

Who is online

Users browsing this forum: No registered users and 0 guests