|
Home > Archive > Unix Shell > August 2007 > Who is using all the memory?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Who is using all the memory?
|
|
|
| Hi,
Is there a shell command/tool that would tell me what process is using the
most memory.
I am on a Unix VPS and I would like to find what service is taking the most
memory.
Or even better, what page is using the most resources.
Is there a command that would give that kind of information?
Thanks
Simon
| |
| Gretch 2007-08-24, 1:22 am |
| In news:5j75l9F3r7um3U1@mid.individual.net,
Simon <spambucket@example.com> wrote:
> Is there a shell command/tool that would tell me what process is
> using the most memory.
'top' (table of processes) provides that information, and is (I believe)
native to most modern Unix variants.
| |
| PDreyer 2007-08-24, 7:23 am |
| On Aug 24, 6:43 am, "Gretch" <gretc...@invalid.corn> wrote:
> Innews:5j75l9F3r7um3U1@mid.individual.net,
>
> Simon <spambuc...@example.com> wrote:
>
> 'top' (table of processes) provides that information, and is (I believe)
> native to most modern Unix variants.
ps -e -o pid,ppid,pcpu,pmem,stime,rss,vsz,nlwp,ar
gs | sort -k 4,4nr |
head
| |
| PDreyer 2007-08-24, 7:23 am |
| On Aug 24, 8:35 am, PDreyer <petrus.dre...@gmail.com> wrote:
> On Aug 24, 6:43 am, "Gretch" <gretc...@invalid.corn> wrote:
>
>
>
>
> ps -e -o pid,ppid,pcpu,pmem,stime,rss,vsz,nlwp,ar
gs | sort -k 4,4nr |
> head
ps -e -o pid,user,pcpu,pmem,stime,rss,vsz,nlwp,ar
gs | sort -k 4,4nr |
head
|
|
|
|
|