Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-18-2003, 05:34 PM
|
#1
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
terminal question
i am curious about something that i was never too sure about, and i am pretty confident someone will have the answer....now i am going to show my output from the command "who".
user tty1 Jun 13 21:55
user pts/5 Jun 17 22:48
user pts/6 Jun 17 22:39
7:36pm up 4 days, 22:08, 3 users, load average: 0.85, 1.06, 1.34
and there is my uptime...now my question is as you see i did log in almost 5 days ago and i understand that the first one in the list is my login on terminal 1 (TeleType) or whatever it means, and it was on June13...but what are the other two...
and you see, it was lastnight that they came, and i was wondering what they are there for, and what does "pts" stand for? i think i noticed another type it was like "vc" or something, i just remember seeing it on a mdk box, but anyways, to wrap it up
does anyone know why i have 3 users and what does the pts stand for?
|
|
|
06-18-2003, 11:40 PM
|
#2
|
Member
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760
Rep:
|
pts = pseudo-terminal slave
twilli pts/0 Jun 18 16:18
twilli pts/1 Jun 19 00:35
twilli pts/2 Jun 19 00:26
This is what mine looks like in RH9.0. If you open another terminal, it will be added. I don't know why there are at least three of them though, or what they all stand for.
|
|
|
06-21-2003, 10:53 PM
|
#3
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Original Poster
Rep:
|
anyone else have any explanations?
|
|
|
06-21-2003, 11:15 PM
|
#4
|
Member
Registered: Feb 2003
Distribution: Debian
Posts: 797
Rep:
|
I thought twilli227 explained it.
Each one pts/# is a pseudo terminal. Usually you have TTY 1 logged in - this would be where you logged in and started X from (even if it was started automatically). The others are terminals you opened in X (ie. xterm, aterm, etc.)
Try to run 'pstree'
maybe that will explain it better.
|
|
|
All times are GMT -5. The time now is 07:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|