As it comes from htop‘s manual page, htop is free (GPL) ncurses-based process viewer, that is similar to top, but allows to scroll the list vertically and horizontally to see all processes and their full command lines. Tasks related to processes (killing, renicing) can be done without entering their PIDs.

htop logo

I found this utility very useful and powerful in my everyday working process. Here is the comparison between htop and oldie top (taken from htop’s site):

    • htop xtermIn ‘htop’ you can scroll the list vertically and horizontally to see all processes and complete command lines.
    • In ‘top’ you are subject to a delay for each unassigned key you press (especially annoying when multi-key escape sequences are triggered by accident).
    • ‘htop’ starts faster (‘top’ seems to collect data for a while before displaying anything).
    • In ‘htop’ you don’t need to type the process number to kill a process, in ‘top’ you do.
    • In ‘htop’ you don’t need to type the process number or the priority value to renice a process, in ‘top’ you do.
    • ‘htop’ supports mouse operation, ‘top’ doesn’t
    • ‘top’ is older, hence, more used and tested.

    As usual it’s possible to install htop in Ubuntu by single command: sudo aptitude install htop.

     

    6 Comments

     

    1. July 5, 2008  3:11 am by Nekys Reply

      htop is really cpu consuming. i started using it on monitoring in fast way my machines but i came up as cpu consuming so i use top. top is cpu consuming too but not that much. i wait for improovements in htop. there will be. but if you don't care about cpu usage, its a must :)

    2. January 26, 2011  11:25 am by Baldwin Reply

      I precisely had to say thanks all over again. I'm not certain the things I could possibly have created in the absence of the actual hints discussed by you concerning such concern. It actually was a real difficult condition for me personally, but discovering a new professional fashion you handled it forced me to cry for delight. I'm grateful for the assistance and as well , have high hopes you comprehend what a powerful job you're carrying out educating men and women by way of your blog. I am certain you've never come across all of us.

    3. May 6, 2011  4:31 pm by Roseanna Utter Reply

      I dont suppose Ive read anything like this just before. So nice to locate somebody with some original thoughts on this subject. realy thank you for beginning this up. this site is something which is required on the web, someone with just a little originality. useful job for bringing something new to the internet!

    4. June 11, 2011  3:34 pm by Alex Waltemeyer Reply

      Whoa..superb document and incredibly helpful, a great compilation, an Exceptional talk about will be wanting for far more … maintain on producing. I bookmarked this weblog and i am going to certainly discuss this site with my friend.

    5. June 22, 2012  8:25 am by Thanh Avendano Reply

      I do believe all of the concepts you've offered to your post. They are really convincing and can definitely work. Still, the posts are too brief for newbies. Could you please prolong them a little from next time? Thanks for the post.

    Leave a reply

     

    Your email address will not be published.