This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

command Line top, uptime

is thier a top and uptime comand


This thread was automatically locked due to age.
  • No, however you can get the uptime from performing a "cat /proc/uptime"

    and it gives it to you in seconds.  Just do a little math to get it in a format you want.  Or check out the hacks to load other binaries.
  • [ QUOTE ]
    No, however you can get the uptime from performing a "cat /proc/uptime"

    and it gives it to you in seconds.  Just do a little math to get it in a format you want.  Or check out the hacks to load other binaries. 

    [/ QUOTE ]
    In ASL4 yes however in ASL5 both top and uptime are usable commands.
  • on ASL 3 (and 4 I think), human-readable uptime can be seen by typing
    w

    You'll have to su first, or cheat (set suid on w)


    for TOP, ps auxw will give you most of the info, you'll just have to figure out how to sort it (use perl or sort or sed or whatever [:P] )

    Or just install ASL 5. 
    Or get the pluspack and compile pstools or whatever it's called.

    Barry