Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-09-2009, 06:30 PM   #1
LQ Newbie
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
"TOP" Command keeps going to "stopped" state

Hi folks:

I'm not a Linux expert, and maybe there is an easy solution that I'm missing here, but for some reason the "TOP" command all of a sudden keeps going into the stopped state after one to three iterations. I key in "fg" and it gives me a few more iterations and then goes into stopped state again. The only odd thing that's happened recently is that the power cord got pulled on the machine, so it didn't shutdown correctly. I've tried creating a different userid just in case something in my normal userid profile got corrupted during the power off, but the same thing happens. I don't know where the underlying files are for this command, or if there is a way to uninstall and reinstall it without reinstalling the O/S. The machine is running Ubuntu server 8.04, Webmin, and VMWare Server 2.0.

Suggestions welcome.


Old 03-09-2009, 07:26 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
I don't quite understand what you mean by
the "TOP" command all of a sudden keeps going into the stopped state.
Try installing Htop instead...
sudo apt-get install htop
Htop will run from the desktop or commandline.
Old 03-09-2009, 08:55 PM   #3
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Are you hitting CTRL+Z?
Old 03-09-2009, 11:15 PM   #4
LQ Newbie
Registered: Mar 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I tried htop, and that's nice; it works fine. With regard to ctrl-z, I'm not hitting that, unless there is something screwy about the terminal emulation. I'm using Putty from a Windows machine to create an SSH session to the machine. I'll go back and see if there are any settings in Putty that could be sending ctrl-z as a line feed or something.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
difference between "ps" and "top" command idleBrain Linux - General 3 10-18-2008 05:03 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Suggestion: for "subscribed threads" & "top of page" buttons Old_Fogie LQ Suggestions & Feedback 7 07-10-2006 05:10 PM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration