1753879 Members
7592 Online
108809 Solutions
New Discussion юеВ

pty count ?

 
Isaac_4
Frequent Advisor

pty count ?

hi

Exist some script o command to count the npty
that system have in use ?

Thank you !!!!
The time is gold
4 REPLIES 4
baiju_3
Esteemed Contributor

Re: pty count ?

Pls elaborate .

kmtune |grep npty will give the configured value in kernel.


Thanks,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Isaac_4
Frequent Advisor

Re: pty count ?

my hpux box is 10.20
The time is gold
baiju_3
Esteemed Contributor

Re: pty count ?

on 10.20 you may use

sysdef |grep npty


Thanks,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Hakan Aribas
Valued Contributor

Re: pty count ?

Hi,

Our server is HP-UX 11.23, I don't know if the following command is supported in 10.20.. If you wish check this out:

kcusage -l npty