Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #81385 > unrolled thread
| Started by | ANTant@zimage.com (Ant) |
|---|---|
| First post | 2015-10-02 13:30 -0500 |
| Last post | 2015-10-02 22:38 +0000 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.sys.mac.system
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
| From | ANTant@zimage.com (Ant) |
|---|---|
| Date | 2015-10-02 13:30 -0500 |
| Subject | No sort by memory in top command? |
| Message-ID | <AJ-dnRlXPtPMUJPLnZ2dnUU7-f2dnZ2d@earthlink.com> |
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. :)
--
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.
[toc] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-10-02 18:38 +0000 |
| Message-ID | <d7818eFd3v3U2@mid.individual.net> |
| In reply to | #81385 |
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
[toc] | [prev] | [next] | [standalone]
| From | ANTant@zimage.com (Ant) |
|---|---|
| Date | 2015-10-02 14:08 -0500 |
| Message-ID | <KJidnQqUZomFS5PLnZ2dnUU7-QmdnZ2d@earthlink.com> |
| In reply to | #81386 |
> > 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.
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2015-10-02 22:38 +0000 |
| Message-ID | <slrnn0u1up.1444.g.kreme@amelia.local> |
| In reply to | #81385 |
In message <AJ-dnRlXPtPMUJPLnZ2dnUU7-f2dnZ2d@earthlink.com>
Ant <ANTant@zimage.com> wrote:
> Hello.
> Is it me or does Mac OS X's Terminal's top command not have a sort by
You are very confused. OS X's Terminal does not have a top command.
DARWIN has a top command which can be accessed via any terminal or shell
interface.
> 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. ;)
man top:
-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 sup-
ported 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.
--
And the three men I admire most, the father son and the holly ghost they
caught the last train for the coast...
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.mac.system
csiph-web