Htop: It's like top turned up to 11

| | Comments (2) |

htop.jpg

I'm a big user of the top utility, which provides a whole lot of data on what processes are running and how much memory and CPU they're using. I open up a terminal window and run top more than a few times every day.

I've seen htop before but haven't bothered to install it on any of my boxes in quite awhile.

I don't know what prompted me to do so, but I finally installed htop in Ubuntu 8.04. It's easy to do:

$ sudo aptitude install htop

And to run htop:

$ htop

The great thing about htop is that you can kill a process from the application itself. Just arrow down to the offending process and hit F9 to kill it.

It's a lot easier than opening up a new terminal window and using "kill" the old-fashioned way.

I just had to kill Firefox, which was pegging the CPU for some reason, and htop saved me a few steps.

Htop actually has configuration options, which can be accessed with the F2 key while in the application. I'm not at the point yet where I'm ready to mess with this, but I've known for awhile that the output of top can also be screwed with via command-line switches. Haven't done that, either, but it's nice to know that both top and htop have options.

And I really, really like being able to kill processes from within htop.


2 Comments

Alan Rochester Author Profile Page said:

Have you tried xkill?

In a terminal input: xkill

The cursor changes to an X.

Place the X on the thing you want to kill. Click. It's gone.

Alan, that is a good tip.

One of the things I like about the Fvwm window manager is that you can kill any X application from the window's own menu. I wonder why GNOME doesn't add that feature.

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on August 11, 2009 2:29 PM.

Update Twitter from the Linux/Unix command line was the previous entry in this blog.

5 laptops priced under $500 at TigerDirect.com is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Steven Rosenberg on Htop: It's like top turned up to 11: Alan, that is a good tip. One of the things I like about the Fvwm win ...

Alan Rochester on Htop: It's like top turned up to 11: Have you tried xkill? In a terminal input: xkill The cursor changes ...

Powered by Movable Type 4.25

Search this blog

Loading

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet's Storage Bits
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement

Other blogs

Neuheisel/Johnson Pt. 3 in Inside UCLA with Jon Gold
Live: U.S.-Chile at Home Depot Center in 100 Percent Soccer
Girls' basketball: Bell-Jeff wins again in Daily News High School Spotlight
Decision Time in Inside USC with Scott Wolf
Countdown to Debian Squeeze in CLICK