Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.apps,comp.sys.mac.system Subject: Re: No sort by memory in top command? Date: 2 Oct 2015 18:38:06 GMT Organization: People for the Ethical Treatment of Pirates Lines: 33 Message-ID: References: X-Trace: individual.net zpbUdpuV+SQBwhu6gohUMwh3sNgJui5fVYoarb9IrKktjXXudS Cancel-Lock: sha1:Bc2I/X1JglYONyc1+eIoz8EX9cc= X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.apps:32336 comp.sys.mac.system:81386 On 2015-10-02, Ant 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 Order the process display by sorting on 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