Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #81386

Re: No sort by memory in top command?

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.apps, comp.sys.mac.system
Subject Re: No sort by memory in top command?
Date 2015-10-02 18:38 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <d7818eFd3v3U2@mid.individual.net> (permalink)
References <AJ-dnRlXPtPMUJPLnZ2dnUU7-f2dnZ2d@earthlink.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 2015-10-02, Ant <ANTant@zimage.com> wrote:
> Hello.
>
> Is it me or does Mac OS X's Terminal's top command not have a sort by 
> memory like in Linux? I cannot find anything about it with parameters, 
> keys, etc. online and in its man guide. I know, I can use Activity 
> Monitor GUI, but I'm old school and use Terminal a lot. FYI, I have 
> not installed MacPort/HomeBrew/Fink yet due to other issues. ;)
>
> Thank you in advance. :)

It's right there in the man page:

-o <key>
Order the process display by sorting on <key> in descending order.  A +
or - can be prefixed to the key name to specify ascending or descending
order, respectively.  The supported keys are:
.
.
.
mem    Internal memory size.
rprvt  Resident private address space size.
purg   Purgeable memory size.
vsize  Total memory size.
vprvt  Private address space size.
kprvt  Private kernel memory size.
kshrd  Shared kernel memory size.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

No sort by memory in top command? ANTant@zimage.com (Ant) - 2015-10-02 13:30 -0500
  Re: No sort by memory in top command? Jolly Roger <jollyroger@pobox.com> - 2015-10-02 18:38 +0000
    Re: No sort by memory in top command? ANTant@zimage.com (Ant) - 2015-10-02 14:08 -0500
  Re: No sort by memory in top command? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-10-02 22:38 +0000

csiph-web