1836596 Members
1948 Online
110102 Solutions
New Discussion

pty Logins

 
donne007
Regular Advisor

pty Logins

I want to increase the Pseudo terminals logins in my B2000 to 400 Logins , I even tried usring the SAM>Kernel Configuration>Configurable Parameters >and formula value 200.. and reboot the M/c .
Other thing I did was to install special file
# insf -d pty -n 200

But In the /dev/pty it only shows the the defaults value of 60 files ..
Any one please help me on this
Thanks in Advance
Asif
3 REPLIES 3
T G Manikandan
Honored Contributor

Re: pty Logins

To find telnet sessions available

ls /dev/pty |wc -w


Re-build the device files using
insf -d pts -s 512 -e -v


Thanks
T G Manikandan
Honored Contributor

Re: pty Logins

Michael Tully
Honored Contributor

Re: pty Logins

Hi,

You don't metion your OS level. but I'm going to assume it is HPUX 11, as this is a normal problem. With the introduction of HPUX 11, a new parameter called 'nstrtel' was included. To fix your problem the best method is to have 'npty' 'nstrpty' and nstrtel the same value in the kernel. If you have them the same, then you just need to run the below commands.

e.g
npty 1024
nstrpty 1024
nstrtel 1024

Once you have re-generated your kernel and rebooted your system, (if required) run the following commands which will create the pseudo ptys required.

# cd /dev
# insf ???d pty ???s 1024 ???e ???v
# insf ???d ptm ???s 1024 ???e ???v
# insf -d telm ???s 1024 ???e ???v
# insf -d tels ???s 1024 ???e -v
# insf -e

HTH
Michael
Anyone for a Mutiny ?