LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why does the "w" command output count the logged out user? (https://www.linuxquestions.org/questions/linux-newbie-8/why-does-the-w-command-output-count-the-logged-out-user-4175478893/)

ulkoma 09-28-2013 01:31 PM

Why does the "w" command output count the logged out user?
 
I have logged in from tty6, then logged out, now executing the "w" command from a terminal inside unity gives the following output

Code:

mark@mark-Latitude-D620:~$ w
 19:27:19 up  2:40,  3 users,  load average: 0.41, 0.61, 0.46
USER    TTY      FROM              LOGIN@  IDLE  JCPU  PCPU WHAT
mark    tty7                      16:47    2:39m  5:06  0.22s gnome-session -
mark    pts/2    :0.0            19:13    7.00s  0.30s  0.00s w

isn't the command suppose to list only the logged in users?

Regards

Firerat 09-29-2013 06:29 AM

open up a few more terminals
it will show you one for each


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