Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* unix process behaviour when terminal windows get killed?
@ 2002-10-08  0:28 Williamcin
  2002-10-08  7:04 ` Paul Pluzhnikov
  2002-10-08 11:51 ` Thomas Dickey
  0 siblings, 2 replies; 4+ messages in thread
From: Williamcin @ 2002-10-08  0:28 UTC (permalink / raw)


Hi,

I wonder if someone could tell exactly what would happen in the following
scenario?

During the day, we use the terminal emulator (both native MS telnet and
TeraTerm) from our PC to connect to our Tru64 Unix 5.1A system and run a
character-based in-house application. 

Everything runs ok until the end of the day when people finished their work and
some people just kill the terminal windows by clicking the "X" on the top right
hand corner of the window. Most of the time, killing the windows like that will
kill the Unix process as well (I have assumed that a 'kill -9' signal is sent
over to the Unix and kill that process) but sometimes the Unix process attached
to that terminal will go into infinite loop and use 99.9% of the CPU. We have
to kill that process manually (takes a look time) to get the system back.

Questions: 
1. exactly what would happen to the Unix process when someone just kill the
terminal windows by clicking the "X"
2. is there a way for software (our in-house application) to detect this kind
of situation so that when it happen, it can kill itself?

Many thanks for the help or info.
Bill



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-11  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08  0:28 unix process behaviour when terminal windows get killed? Williamcin
2002-10-08  7:04 ` Paul Pluzhnikov
2002-10-08 11:51 ` Thomas Dickey
2002-10-11  3:00   ` Williamcin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox