Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-10-2016, 03:23 AM   #1
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
silly question about the w command

if i go w i get

[user@localhost ~]$ w
08:19:37 up 23 min, 2 users, load average: 0.04, 0.14, 0.21
user :0 :0 07:57 ?xdm? 3:27 0.12s gdm-session-wor
user pts/0 :0.0 08:14 1.00s 0.04s 0.00s w

according to what i read w (what) shows more detailed info than who,its ment to show info about users

but why is my user account in twice? does it just show users and what processes they running?
gdm and the w command itself or am i missing something?

Old 02-10-2016, 03:33 AM   #2
Senior Member
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,860
Blog Entries: 36

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
man w explains it. Not a silly question. You should look up tutorials on how to read man pages. I find I rarely have to ask questions by reading man pages.

Last edited by sag47; 02-10-2016 at 03:35 AM.
Old 02-10-2016, 04:53 AM   #3
LQ Newbie
Registered: Feb 2016
Location: There and here.
Distribution: RPM & DEB
Posts: 1

Rep: Reputation: Disabled
gdm grabs the tty you're using for w. The terminal is also used as a PID for w.

Could be wrong though. :,/
Old 02-10-2016, 05:04 AM   #4
Senior Member
Registered: Apr 2010
Posts: 1,645

Rep: Reputation: 278Reputation: 278Reputation: 278
i suppose you're account is login on the machine.

then you use same account to login via TTY.

or it could be that:

1 user is a ninja user

the other user is just a virtual user.

So two users: 1 ninja and 1 virtual
Old 02-10-2016, 05:22 PM   #5
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
tons of tanks guys!!!


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] man command and silly behavior johnpuppa Slackware 15 06-18-2014 08:30 AM
Silly question really about ftp command in bash hashbangbinbash Linux - Newbie 3 07-04-2008 05:47 AM
silly question? Maxorata Solaris / OpenSolaris 8 12-20-2006 06:06 PM
Silly Question Crashed_Again Linux - General 21 04-07-2003 06:08 AM
Sorry for such silly question anandc Linux - Newbie 3 03-11-2003 09:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

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