david 13257 0.1 1.8 80788 38736 ? Sl 15:31 0:09 evince file:///tmp/phparch-xdebug-qa.pdf david 6755 0.3 2.1 87732 44272 ? Sl 08:58 1:31 /usr/bin/cli /usr/lib/gnome-do/Do.exe david 6757 0.0 2.1 98872 44632 ? Sl 08:58 0:23 /usr/bin/python /usr/local/bin/gwibber david 15191 0.1 2.3 91580 48308 ? Sl 12:28 0:32 pidgin david 30577 1.2 3.1 189016 64768 ? Sl 10:06 5:14 /usr/lib/firefox-3.0.5/firefox -P FireFTP -no-remote root 6225 8.6 3.6 86648 76024 tty7 Ss+ 08:57 42:25 /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 david 8050 2.6 4.2 227412 86964 ? Sl 09:01 13:04 epiphany-browser david 9465 0.2 5.3 155852 110272 ? S 09:05 1:13 /usr/lib/opera/9.27-20080331.6/opera david 10836 3.5 8.2 302092 170212 ? Sl 15:24 3:48 /usr/lib/firefox-3.0.5/firefox -P default -no-remote david 27109 9.7 22.0 760784 454376 ? Sl 09:56 42:16 /home/david/programs/pdt/eclipse/eclipse
Display the top processes sorted by memory usage. This is mostly useful because it's easy to remember and can give me a quick 'top' view of a group of servers when used over pssh. (Though I'd recommend |head -10 to minimize the output). Show Sample Output
This command is better for just displaying the memory in KiB. Show Sample Output
Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?
You must be signed in to comment.
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for:
ps aux | sort -nrk 3 | head
ps -e -orss=,args= | sort -b -k1,1n | pr -TW$COLUMNS
Wow
https://bahriatownwala.com/