PTY-Allocation under SCO 5

svaughan at asterion.com svaughan at asterion.com
Wed Aug 30 10:38:05 EST 2000


Bastian showed me that this command
will give you the number of ptys configured.

[sam at beta<>]:$ grep NSPTTYS /etc/conf/cf.d/stune
NSPTTYS 1056

Possible to put in the configure? 

I will have more time tonight to look into if there is a system call .....
I'll let you know. 

Sam

On Wed, 30 Aug 2000, Damien Miller wrote:

> On Mon, 28 Aug 2000 svaughan at asterion.com wrote:
> 
> > 
> > Damien,
> > 	I've tested the patch on SCO Openserver 5.0.5 and so far it works
> > great! This fixed my pty problem.  
> > 	One thing I noticed is that num_ptys turns out to be 832. A
> > standard SCO install gives you 64 ptys, though most admins up this as is
> > the case on the server I have been testing on, which has 1055 ptys. I'm
> > wondering if there is a good way to check to see how many ptys are
> > available on a system like SCO. Or would this be a bad idea ?
>  
> Is there a system call, etc that can be used to check this?
> 
> -d
> 
> 
> -- 
> | "Bombay is 250ms from New York in the new world order" - Alan Cox
> | Damien Miller - http://www.mindrot.org/
> | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
> 
> 
> 







More information about the openssh-unix-dev mailing list