A Digital Age Deserves A Digital Leader

How to find out what process is eating the most memory

How to find out what process is eating the most memory

Postby s. sengupta » Tue Jul 16, 2002 1:07 pm

ps -aux | sort +4n

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

Memory Hog

Postby billbonte » Tue Jul 16, 2002 3:27 pm

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

Postby Weaver » Tue Jul 16, 2002 3:35 pm

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
PROfessional Member
User avatar
Posts: 1967
Joined: Wed Jun 19, 2002 12:05 am
Location: /home/weaver/

Return to Other Operating Systems

Who is online

Users browsing this forum: No registered users and 1 guest

cron
cron