SUMMARY: Pseudo Terminals

From: Christian Sebeke (cseb@frodo.lfi.uni-hannover.de)
Date: Thu Aug 27 1992 - 09:51:04 CDT


Thanks to all who replied:

ccoprmd@prism.gatech.edu
flash!flash.telesoft.com!mnejat@uunet.UU.NET
ajn@physics.wm.edu
bill@its.brooklyn.cuny.edu

The solution for me was manipulating the corrupted /etc/utmp - file
with the program written by DaviD W. Sanderson (dws@cs.wisc.edu).
It is available from comp.sources.unix (ask archie for the server
next to you) in Volume 25.

MAKEDEV/mknod did not help because the utmp-file seems to be
unaffected by this command.

Mehregan mentioned that there might be a patch for this behaviour.
Is there anyone who has the number on the fly? If it is a Bug, I wonder
why Sun did not fix it in 4.1.2.

The original posting was:

-----------CUT------------
Sometimes when I log into one of our SUN's and ask 'who',
I get something like

User tty login@ idle JCPU PCPU what
cseb ttyp2 8:40am w
xbey ttyp6 14Aug9210days -

xbey does not have any processes running. It seems as if
the Pseudo Terminal is not released correctly. I looked
through the answerbook, manuals and FAQs - nothing found.

How can I free ttyp6 ?

Setup: several SPARCs, 4.1.2, OW3, occasionally SUNVIEW

-----------CUT------------

Christian Sebeke, Univ. Hannover/LFI, Schneiderberg 32, D-3000 Hannover 1 Tel: +49 511 762 5035 sebeke@frodo.lfi.uni-hannover.de



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:48 CDT