SUMMARY: Pseudo Terminals

From: Christian Sebeke (
Date: Thu Aug 27 1992 - 09:51:04 CDT

Thanks to all who replied:

The solution for me was manipulating the corrupted /etc/utmp - file
with the program written by DaviD W. Sanderson (
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:

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


Christian Sebeke, Univ. Hannover/LFI, Schneiderberg 32, D-3000 Hannover 1 Tel: +49 511 762 5035

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