htop: new generation Linux processes viewer

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.

    SHARE:
    nv-author-image

    Stefan Durand

    My name is Stefan, I'm the admin of LinuxScrew. I am a full-time Linux/Unix sysadmin, a hobby Python programmer, and a part-time blogger. I post useful guides, tips, and tutorials on common Linux and Programming issues. Feel free to reach out in the comment section.

    Leave a Reply

    Your email address will not be published. Required fields are marked *