Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac Applications
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 18, 2009, 11:53 AM   #1
maddin4j
macrumors member
 
Join Date: Jul 2009
Geektool processes script not working under Snow Leopard

Hello guys!

I am having problems with Geektool. Well, the actual problem is not the application itself. I think it is because of the UNIX script I am trying to use.
I just want to show my processes (I mean My Processes, like when you go into Activity Monitor and choose "My Processes" next to the filter box) on the desktop. I do have the script which I have found several times online but it does not seem to work under Snow Leopard. The one I am using is this here:

Code:
top -FR -l2  | grep '^....[1234567890] ' | grep -v ' 0.0% ..:' | cut -c 6-24,64-70
As far as I know, this should show me the process name, % CPU, and real memory.

After unsuccessfully pasting this script in to Geektool, I though I'd just test it in Terminal.

In Terminal I get this message: "invalid option or syntax: -FR"

The weird thing is that on every website where they post this script to show running processes, all show the "-FR".

I don't know anything about UNIX scripts and hope you guys can help me with this.

And by the way, how can is sort those processes after their real memory usage? And is it possible to show only processes which use more than 100MB of real memory?

Thanks a lot!
maddin4j is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac Applications

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:30 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC