Debian Admin - Your way to Debian World

December 27, 2006

Display top CPU processes Using htop

by @ 6:51 am. Filed under Monitoring

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

htop is a very competent interactive process viewer for the shell, providing all the functionality - and more - that the top utility does, in an easier and more intuitive way. htop provides easy-to-use menus for most operations and also has support for using a mouse.

htop is an easier to use and friendlier version of top. While it hasn’t as much time behind it and therefore is less tested, it seems to work very well both locally and over SSH, and it’s well worth taking it for a spin. It’s just one of those small utilities that makes life a bit easier.

Install htop in debian

#apt-get install htop

This will complete the installation.Now if you want to check this application just type the following command from your terminal

#htop

You should see the following screen


If you want to know about the more available option check htop man page

Comparison between htop and top

In ‘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.

Tags: , , , ,

You may also be interested in...

One Response to “Display top CPU processes Using htop”

  1. it-partizan Says:

    Thank you for a nice article, htop is realy very nice and more user friendly.

    Now it will be my process viewer of choise (after ps, ofcource:))

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

WidgetBucks - Trend Watch - WidgetBucks.com

Related Links:


WidgetBucks - Trend Watch - WidgetBucks.com

Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.