GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Which pts is next?
Operating System - HP-UX
1850719
Members
3584
Online
104055
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-27-2003 09:16 AM
03-27-2003 09:16 AM
Hi, folks.
I???ve got an interesting situation where it seems that two users are using the same pseudo-terminal. It does not appear to be a ???su??? type of situation.
It would seem that one user, whose processes ran yesterday, terminated his telnet window. The second user logged in today, and has newer processes.
So, my question is, what is the mechanism that determines the next pts number to be allocated to telnetd?
Example:
$ ps ???ef | grep ???/tt???
UID PID PPID C STIME TTY TIME COMMAND
ralph 15012 15011 0 Mar 24 pts/tt 0:00 -ksh
ralph 15451 15012 0 Mar 24 pts/tt 0:00 /usr/bin/ksh /usr/local/bin/chx
root 15011 1 0 Mar 24 pts/tt 0:00 telnetd
daniel 16137 15451 255 Mar 24 pts/tt 1372:21 /bin/ksh /usr/local/bin/menu
bill 4039 0 0 07:34:47 pts/tt 0:00 /usr/bin/ksh /usr/local/bin/chx
Thanks,
I???ve got an interesting situation where it seems that two users are using the same pseudo-terminal. It does not appear to be a ???su??? type of situation.
It would seem that one user, whose processes ran yesterday, terminated his telnet window. The second user logged in today, and has newer processes.
So, my question is, what is the mechanism that determines the next pts number to be allocated to telnetd?
Example:
$ ps ???ef | grep ???/tt???
UID PID PPID C STIME TTY TIME COMMAND
ralph 15012 15011 0 Mar 24 pts/tt 0:00 -ksh
ralph 15451 15012 0 Mar 24 pts/tt 0:00 /usr/bin/ksh /usr/local/bin/chx
root 15011 1 0 Mar 24 pts/tt 0:00 telnetd
daniel 16137 15451 255 Mar 24 pts/tt 1372:21 /bin/ksh /usr/local/bin/menu
bill 4039 0 0 07:34:47 pts/tt 0:00 /usr/bin/ksh /usr/local/bin/chx
Thanks,
Command-Line Junkie
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 09:32 AM
03-27-2003 09:32 AM
Solution
Last time I looked at it, HP-UX 11.00 pts assignment appeared to be going pretty much alphabetical.
If a particular pts is giving you trouble these two commands might help.
rmsf to get rid of it.
insf -e to put it back.
SEP
If a particular pts is giving you trouble these two commands might help.
rmsf to get rid of it.
insf -e to put it back.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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-27-2003 09:58 AM
03-27-2003 09:58 AM
Re: Which pts is next?
Looking at your process list, someone initially logs in as root (pid 15011 with pts/tt) and then he switches user to ralph (pid 15012 ppid 15011) which in turn switches user to daniel (pid 16137 ppid 15451). That explains why the same pseudo-term. But I'm not sure about user bill. As far as the assignment of these pseudo-term goes .. it's in order starting with pts/0, pts/1, so on .., pts/tt depending on how may of these are defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2003 10:06 AM
03-27-2003 10:06 AM
Re: Which pts is next?
Hi,
I agree with S.K., it looks like somebody did an 'su' to another user to start the other processes. That last process, if I'm reading your post correctly, shows a PPID of zero? That doesn't look right.
You can see all the processes on a single tty by using the '-t' option in 'ps'. It will save you having to grep for it:
ps -ft pts/tt
JP
I agree with S.K., it looks like somebody did an 'su' to another user to start the other processes. That last process, if I'm reading your post correctly, shows a PPID of zero? That doesn't look right.
You can see all the processes on a single tty by using the '-t' option in 'ps'. It will save you having to grep for it:
ps -ft pts/tt
JP
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP