Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2004, 09:46 AM   #1
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
Listing processes by memory usage?

I always do a ps -ax to list my running processes.

What's the switch to show the actual memory usage? I have a memory leak on my server (suspecting it's PHP) and I'd like to list 'em and see what's sucking up all my resources.

Old 06-17-2004, 09:49 AM   #2
miss crump
LQ Newbie
Registered: May 2004
Location: Oklahoma City, OK
Distribution: Debian
Posts: 17

Rep: Reputation: 0
Did you try "top"?
Old 06-17-2004, 10:06 AM   #3
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
with top it's capital M
Old 06-17-2004, 11:05 AM   #4
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Original Poster
Rep: Reputation: 30


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a listing of running daemons / processes greengrocer Linux - Newbie 6 08-28-2005 04:36 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 05:45 AM
Listing Processes oriel_gizmo Programming 6 08-20-2004 06:40 AM
Memory usage when spawning child processes brianvdc Programming 4 10-24-2003 07:03 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration