LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 06-18-2003, 05:34 PM   #1
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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?
 
Old 06-18-2003, 11:40 PM   #2
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
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.
 
Old 06-21-2003, 10:53 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Original Poster
Rep: Reputation: 60
anyone else have any explanations?
 
Old 06-21-2003, 11:15 PM   #4
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal question Optimistic Slackware 2 08-15-2004 12:39 PM
Terminal Emulators Question ximiansavior Linux - Software 4 11-17-2003 06:07 AM
terminal question gonzalezjay Linux - General 7 10-16-2003 06:05 PM
Terminal question dsgdevil Linux - Software 6 08-26-2003 10:44 PM
Terminal question SnowSurfAir Linux - Software 2 08-17-2003 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration