Geektool processes script not working under Snow Leopard

Discussion in 'Mac Apps and Mac App Store' started by maddin4j, Nov 18, 2009.

  1. maddin4j macrumors member

    Jul 28, 2009
    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:

    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!
  2. JonBorichef macrumors regular


    Jun 16, 2010
    Roseville, CA
    I know this thread is old but I happened to run across this today. I have the same issue... do you have a solution?
  3. jmp51483 macrumors member

    Apr 22, 2010
    Its actually telling you what is wrong right inside Terminal.. notice it says "invalid syntax -FR" try separating the FR like this -F -R. See if it works then..

Share This Page