- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- correct insf syntax needed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:47 AM
04-19-2005 05:47 AM
there are no errors in dmesg or in syslog.log
but i think i see the problem ...below run as root from the server:
kmtune -q npty | grep npty
npty 512
kmtune -q nstrpty | grep nstrpty
nstrpty 512
cd /dev/pty; ls | wc -w
60
cd /dev/ptym; ls | grep pty | wc -w
60
basically i forgot to run insf when i tweaked the kernel years ago on this server. so my question is what should be the syntax of insf to impact only device files used by xterm?
i do not want to run "insf -e" ...i want to be very specific about what i want insf to do. i just am wondering if i only need to run the following
insf -v -e -d pty -n 512
or do i also need to run
insf -v -e -d ptm -n 512
again i am only concerned about "xterm" not telnet, rlogin, etc... at this point in time
thx, marc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:55 AM
04-19-2005 05:55 AM
Re: correct insf syntax needed
insf is not going to cut the mustard here.
You'll need to increase some kernel parameters - specifically.
npty
nstrpty
nstrtel
This will require a reboot.
Increase them all at the same time & it's recommended that you keep them all the same value. for xterms the key one is nstrpty because they are all streams based connections - so are telnet connections for that matter.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:58 AM
04-19-2005 05:58 AM
Re: correct insf syntax needed
insf -d ptm -s 512 -ev
insf -d telm ss 512 -ev
insf -d tels -s 512 -ev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:58 AM
04-19-2005 05:58 AM
Re: correct insf syntax needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 06:01 AM
04-19-2005 06:01 AM
Re: correct insf syntax needed
insf -d pty -s 512 -ev
(should that be a "-n" not "-s")
insf -d ptm -s 512 -ev
(should that be a "-n" not "-s")
insf -d telm ss 512 -ev
(i thought this was only needed for telnet not xterm)
insf -d tels -s 512 -ev
(i thought this was only needed for telnet not xterm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:03 PM
04-19-2005 05:03 PM
Solution# insf -d ptym -n
# insf -d ptys -n
First command creates master devices:
/dev/ptym/clone
/dev/ptym/pty
Second command creates slave devices
/dev/pty/tty
The last two commands can be replaced by a single command
# insf -d pty -n
These devices are used by xterm and hpterm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 05:08 AM
04-22-2005 05:08 AM