- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pty Special File activation
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
Discussions
Discussions
Forums
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
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
тАО01-12-2011 05:53 AM
тАО01-12-2011 05:53 AM
Pty Special File activation
Using the INSF command to increase the number of the PTYM & PTYS ( insf -d pty -n 300 ) - the system create all the request special files, but only 48 of them are usable ( linked ).
I found this limit of 48 described also in the explanation given on the manual for the insf command.
Now i need to activate the new created tty's.
Someone could tell me how is it possible activate them ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 09:23 AM
тАО01-12-2011 09:23 AM
Re: Pty Special File activation
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 10:53 AM
тАО01-12-2011 10:53 AM
Re: Pty Special File activation
Unless I have misread what your trying to do.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2011 05:18 PM
тАО01-12-2011 05:18 PM
Re: Pty Special File activation
Just a note: 11i is a meaningless description created by the marketing department. 11i defines any version of HP-UX starting with 11.11 and higher.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2011 04:02 AM
тАО01-13-2011 04:02 AM
Re: Pty Special File activation
I'm not a regular user of it preferring CLI to make changes on Itanium, so I hadn't hit that.
Good to know..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2011 07:24 AM
тАО03-08-2011 07:24 AM
Re: Pty Special File activation
und. but still its resticting upto 78 sessions only
mtxexd4:/roothome 29 ] kctune nstrtel nstrpty npty
Tunable Value Expression
npty 4000 4000
nstrpty 1000 1000
nstrtel (now) 60 Default
(next boot) 200 200
I am going to boot it tommrrow 7 AM IST But still its not going to reoslve i think as yest i had changes npty & nstrpty then run below command insf -d tels -s 1000..
Stiil its restrciting to 78 sessions . Pls let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2011 08:33 AM
тАО03-08-2011 08:33 AM
Re: Pty Special File activation
A reboot will also run insf -e which will create the new device files.
You can run this yourself, but still need to boot.
Do not run insf -e with Oracle ASM running. It will change permissions on the database containers and could down your database.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2011 05:14 PM
тАО03-08-2011 05:14 PM
Re: Pty Special File activation
> nstrpty 1000 1000
> nstrtel (now) 60 Default (next boot) 200 200
Unless you know exactly which pty files will be used by each of your applications, make them all the same -- 4000 seems a bit high unless you plan on have several thousand users logon at the same time. Change the 3 kernel params to the same value, like 1000. Then you can either run insf or reboot to activate all the device files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2011 01:43 AM
тАО03-09-2011 01:43 AM
Re: Pty Special File activation
after reboot & chaging all parametere to 1000 still users can not open xterms . it does not go beyond 81 sessions. Let me know anything need to be done further any other kernel parameter ned to change.
I have done reboot & run insf but still xterm does not go beyond 81 .. any idea
Thank & regards
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2011 02:18 AM
тАО03-09-2011 02:18 AM
Re: Pty Special File activation
Do you have problems with logging in or is this another application for which you want to raise the number of ptys?
I'm asking this because I had problems with an old application. Created some more device files with insf but it didn't solve my problem. It turned out that this legacy application used the ptys directly from under /dev. insf created the new ones under the directory /dev/ptym. So I created hard links to wire the new device files under /dev manually and it solved my problem.
Maybe this helps you.
http://viktorbalogh.net/blog/hp-ux/hp-ux_sysadm/listing-used-ptys-on-hpux
Regards,
Viktor
Unix operates with beer.