Subject: Re: tty_count?
To: Peter Seebach <>
From: Jason Thorpe <>
List: current-users
Date: 07/16/1996 07:43:06
On Mon, 15 Jul 1996 23:22:16 -0500 
 Peter Seebach <> wrote:

 > pstat fails because it can't find a tty_count.  Neither can I... I can find
 > a declaration of it as an extern int, but there simply is no such thing in
 > any part of the source tree I've checked.

This is because your pstat is newer than your kernel.  The tty_count 
symbol is in sys/kern/tty.c

Arguably, pstat should not complain about symbols it can't find if its 
not looking for information pointed to by those symbols... (i.e. pstat -s 
shouldn't have to care about finding the tty_count symbol, since you're 
not really displaying any information about ttys...)

 -- save the ancient forests - -- 
Jason R. Thorpe                             
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939