Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2000 11:08:03 -0600 (CST)
From:      Ryan Thompson <ryan@sasknow.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ttyv2 crashed HELP FIX it 
Message-ID:  <Pine.BSF.4.21.0007071048440.53891-100000@ren.sasknow.com>
In-Reply-To: <011a01bfe781$a62c9400$cb3b35d1@bconnected.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Q Tuyen wrote to freebsd-questions@FreeBSD.ORG:

> one of my ttyv crashed how do i kill it
> 
> i tried kill -9 pid no.
> killall -9 pid.no
> 
> 
> but that window still there
> 
> i tried crtl C but nothing any suggestion ?
> 

No replies to this, yet... Maybe because the poster spoofed his own email
address? ;-)

FIRST... Switch to that tty (on the local console of course) and verify
that Scroll Lock is not on.  You can kill as many processes as you want
and that tty will still appear hung :-)

Next... From a working terminal, issue the command:

% ps -axl | grep v2

That will give you a list of processes running on ttyv2, and will also
give you a good indication of which ones are hung, and why.  Read
grep(1) for more options, and an explanation of the output.

Or, if you are feeling particularly brazen, just start issuing kill -9's.  
(Generally, start at the deepest level of recursion.  If your editor hung,
kill that.  Then kill the shell, then kill getty on that term if
necessary).


- Ryan

-- 
  Ryan Thompson <ryan@sasknow.com>
  Systems Administrator, Accounts
  Phone: +1 (306) 664-1161

  SaskNow Technologies     http://www.sasknow.com
  #106-380 3120 8th St E   Saskatoon, SK  S7H 0W2



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007071048440.53891-100000>