[opensuse] how to kill a text console
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting? 10.3 Thanks. Primm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* primm <lynn@steve-ss.com> [05-21-08 12:29]:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
text console 1 is tty1 from the cl: ps aux | grep tty1 you will get something like: root 6040 0.0 0.0 11024 3600 tty1 Ss+ May07 0:00 -bash ^^^^^^ where 6040 is the pid of my example then from the cl as root: kill 6040 using the pid you find -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 21 May 2008 18:35:20 Patrick Shanahan wrote:
* primm <lynn@steve-ss.com> [05-21-08 12:29]:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
text console 1 is tty1
from the cl: ps aux | grep tty1
you will get something like: root 6040 0.0 0.0 11024 3600 tty1 Ss+ May07 0:00 -bash ^^^^^^
Thanks to all who replied. It would have take me hours to google that. Lynn x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, May 21, 2008 at 12:26 PM, primm <lynn@steve-ss.com> wrote:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
10.3
Thanks. Primm
I do it the old fashioned way. ps -ef | grep tty1 The pid (process id) should be in the second column. Then use kill to kill the offending process. I start with a simple kill <pid>, then move up to kill -9 <pid> if I have to. -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
primm wrote:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
10.3
Thanks. Primm
You should be able to use the kill command with the process number. If it's really stuck you may have to use the -9 option. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Quoting primm <lynn@steve-ss.com>:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
Did you try ctrl-Q first? Sometimes a stray ctrl-S gets into a console. That stops scrolling. Ctrl-Q resumes. HTH, Jeffrey -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
primm wrote:
root is loged in on text console 1 but it will not accept text entry from the keyboard. How can I kill it from text console 2 without rebooting?
First, you might have hit ctrl-S, which pauses output to the terminal, and ctrl-Q will restart it. If Ctrl-Q doesn't work, then on another terminal ps -ef | grep ttyXX (where XX is the locked up terminal) Then use kill -15 on the processes running on the terminal Since it's a root login, you'll have to run the kill command as root, too. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 22 May 2008 23:46, Washington Irving and others wrote:
ps -ef | grep ttyXX
SCNR, but the "ps" command has an option for exactly that: ps -t tty1 CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Greg Freemyer
-
James Knott
-
Jeffrey L. Taylor
-
Patrick Shanahan
-
primm
-
Stefan Hundhammer
-
Washington Irving