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


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

Re: No sort by memory in top command?

From ANTant@zimage.com (Ant)
Subject Re: No sort by memory in top command?
Newsgroups comp.sys.mac.apps, comp.sys.mac.system
References <AJ-dnRlXPtPMUJPLnZ2dnUU7-f2dnZ2d@earthlink.com> <d7818eFd3v3U2@mid.individual.net>
Message-ID <KJidnQqUZomFS5PLnZ2dnUU7-QmdnZ2d@earthlink.com> (permalink)
Date 2015-10-02 14:08 -0500

Cross-posted to 2 groups.

Show all headers | View raw


> > 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.

Ah thanks, I missed "mem" part in man guide. I was looking at "?" help 
and online.
-- 
Quote of the Week: Allah's Apostle said, "Once while a prophet amongst 
the prophets was taking a rest underneath a tree, an ant bit him. He, 
therefore, ordered that his luggage be taken away from underneath that 
tree and then ordered that the dwelling place of the ants should be set 
on fire. Allah sent him a revelation: 'Wouldn't it have been sufficient 
to burn a single ant (that bit you)?'" --Translation of Sahih Bukhari, 
Book 54, Number 536
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
  /\___/\   Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
 / /\ /\ \                 Ant's Quality Foraged Links: http://aqfl.net
| |o   o| |
   \ _ /    Please nuke ANT if replying by e-mail privately. If credit-
    ( )     ing, then please kindly use Ant nickname and AQFL URL/link.

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