Results 1 to 5 of 5

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: 'top' command in MobileTerminal??

  1. #1
    Default 'top' command in MobileTerminal??
    Can somebody please explain me this 'top' command in MobileTerminal???

    How to Use it?? How to quit it?? what are those digits?? How to kill the processes using it??

    P.S. I know i can kill processes using kill command.
    iPhone 4
    Firmware : iOS4
    Carrier : Softbank (Japan)
    Jailbroken using Jailbreakme

  2. #2
    'top' command is used on mobile terminal to see system information;processes that running or sleeping,cpu usage,shared libs,physical memory,categories...
    *To kill a program,type
    kill -9
    *if the program is running,then type
    sudo kill -9
    Last edited by dejawoo; 01-21-2009 at 05:20 AM.

  3. The Following User Says Thank You to dejawoo For This Useful Post:

    raziiq (01-21-2009)

  4. #3
    how to close this top command, as last time i have hold HOME button for 5 secs to get rid of this top command?

    How to get most out of this top command??
    iPhone 4
    Firmware : iOS4
    Carrier : Softbank (Japan)
    Jailbroken using Jailbreakme

  5. #4
    haha... to exit top, use q
    or Control-C (well you don't have that on iPhone itself)
    q=quit

    now if someone could tell me how to give top command a parameter to it exits right away, a so called non-interactive or batch mode...
    this "top" behaves so differently than Unix or FreeBSD "top", they even have a switch for how many iterations to make, this one doesn't, and there is no "man" for it (manual)

    I want to use "top" to only run once and exit, so i can grep out of it the available memory, that's all i want to do, to get available memory of the iPhone

  6. #5
    Green Apple
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    48
    Thanks
    4
    Thanked 6 Times in 6 Posts

    Quote Originally Posted by robertoooh View Post
    haha... to exit top, use q
    or Control-C (well you don't have that on iPhone itself)
    q=quit

    now if someone could tell me how to give top command a parameter to it exits right away, a so called non-interactive or batch mode...
    this "top" behaves so differently than Unix or FreeBSD "top", they even have a switch for how many iterations to make, this one doesn't, and there is no "man" for it (manual)

    I want to use "top" to only run once and exit, so i can grep out of it the available memory, that's all i want to do, to get available memory of the iPhone
    Darwin Top man page

    You can also use the CTRL-C gesture (up-right) in Mobile Terminal to kill top.

    Also check here for more memory info.
    Last edited by tatum; 04-23-2009 at 10:22 AM.

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