htop to the rescue
April 18, 2008
Recently I noticed my computer had been slowed down. Which was weird because I use Linux and Linux isn’t supposed to slow down over time. So I opened up my system monitor and noticed I was at 100% CPU. But I couldn’t figure out what was eating all my memory. It looked like this, and as you can see not all 100% was accounted for…..
So I decided to ask in the Ubuntu forums, what could possibly be going on…..I was recommended to install htop from synaptic, so I opened a terminal and did a:
sudo apt-get install htop
Then I ran htop in ther terminal with:
htop
Upon doing so I was greeted with a massive list of process and there were things that did not show up in the Ubuntu System monitor. Here is my system monitor side by side with htop (click the image to see it bigger):
As you can see the top procces that is eating all my memory is photorec….I don’t know why it is still running…If you don’t know about photorec, I did a nice review of it here on how it helped me recover deleted files.
Anywho after seeing what was eating all my memory I did a killall photorec in terminal and now my machine is running like new!!
Entry Filed under: Uncategorized. Tags: htop, linux, memory, photorec.
2 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed


1.
heri | April 19, 2008 at 4:54 am
Hi, nice info.
If only I found this article earlier, maybe I could save my Ubuntu. I wiped it out already ……
2.
newt | April 19, 2008 at 10:06 am
You didn’t need to do a separate killall. In htop, highlight the offending process, press F9 (function key menu is at bottom of htop screen) and then enter. Done.
Cheers. Newt.