15

This geeklet displays the top 12 processes sorted by their memory usage. It updates every 30 seconds.

The three columns it shows are given by "command %mem %cpu." You can delete one of those if you don't want it. You can change "head -13" at the end of the command to specify how many processes to show.

Command:

ps -amcwwwxo "command %mem %cpu" | grep -v grep | head -13

Font: Courier
Colour: White
Size: 11

Screenshot

Geeklet files to download

Comments

User Avatar
maelcum 800 days ago
Why the 'grep -v grep'?

ps -amcwwwxo "command %mem %cpu" | head -13

works nicely for me.
User Avatar
picnictables 143 days ago
How do I change it to update, instead of every 30 sec to 3 sec or 5 seconds? It's to help my graphic designer wife who constantly complains about her "slow" computer and hates Activity Monitor open. She can just look at the desktop to see what's killing her stuff. Thanks!
User Avatar
chimpysgotswag 65 days ago
right under where you place the code there's the word Refresh Every and then a box to put the number of seconds you would like it to refresh after. anywhere from 1-2374562349837465 will work. Sadly GeekTool's brain isn't good enough to handle a 0.5 or 0.25. Hope this helped.
User Avatar
chimpysgotswag 65 days ago
Thanks for this =]
User Avatar
dbuller 28 days ago
im new to coding and things. would anybody know how to make the process using the most %cpu colored?

Log in to comment or register here.