Why there are two users showing in uptime command results?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







33















When I ran the uptime on my MacBookPro machine I got the following result:



Last login: Thu Jun  3 14:43:40 on ttys000
Osama-Gamal-MBP-2:~ iOsama$ uptime
14:49 up 7 days, 20:10, 2 users, load averages: 0.29 0.24 0.24


Why it lists that there are two users? is it normal? and who is the other user, is it the root user or what?



PS: I'm using Mac OS X 10.6.3
Edit: w command output:



Osama-Gamal-MBP-2:~ iOsama$ w
0:41 up 8 days, 6:03, 2 users, load averages: 1.92 1.81 1.38
USER TTY FROM LOGIN@ IDLE WHAT
iOsama console - 26May10 8days -
iOsama s000 - 0:13 - w


who command output:



Osama-Gamal-MBP-2:~ iOsama$ who
iOsama console May 26 18:40
iOsama ttys000 Jun 4 00:13









share|improve this question




















  • 1





    Can you post the output of who ?

    – Dentrasi
    Jun 3 '10 at 12:06











  • And/or last..?

    – T.J. Crowder
    Jun 3 '10 at 12:07











  • added to the question

    – Osama Gamal
    Jun 3 '10 at 21:42


















33















When I ran the uptime on my MacBookPro machine I got the following result:



Last login: Thu Jun  3 14:43:40 on ttys000
Osama-Gamal-MBP-2:~ iOsama$ uptime
14:49 up 7 days, 20:10, 2 users, load averages: 0.29 0.24 0.24


Why it lists that there are two users? is it normal? and who is the other user, is it the root user or what?



PS: I'm using Mac OS X 10.6.3
Edit: w command output:



Osama-Gamal-MBP-2:~ iOsama$ w
0:41 up 8 days, 6:03, 2 users, load averages: 1.92 1.81 1.38
USER TTY FROM LOGIN@ IDLE WHAT
iOsama console - 26May10 8days -
iOsama s000 - 0:13 - w


who command output:



Osama-Gamal-MBP-2:~ iOsama$ who
iOsama console May 26 18:40
iOsama ttys000 Jun 4 00:13









share|improve this question




















  • 1





    Can you post the output of who ?

    – Dentrasi
    Jun 3 '10 at 12:06











  • And/or last..?

    – T.J. Crowder
    Jun 3 '10 at 12:07











  • added to the question

    – Osama Gamal
    Jun 3 '10 at 21:42














33












33








33


8






When I ran the uptime on my MacBookPro machine I got the following result:



Last login: Thu Jun  3 14:43:40 on ttys000
Osama-Gamal-MBP-2:~ iOsama$ uptime
14:49 up 7 days, 20:10, 2 users, load averages: 0.29 0.24 0.24


Why it lists that there are two users? is it normal? and who is the other user, is it the root user or what?



PS: I'm using Mac OS X 10.6.3
Edit: w command output:



Osama-Gamal-MBP-2:~ iOsama$ w
0:41 up 8 days, 6:03, 2 users, load averages: 1.92 1.81 1.38
USER TTY FROM LOGIN@ IDLE WHAT
iOsama console - 26May10 8days -
iOsama s000 - 0:13 - w


who command output:



Osama-Gamal-MBP-2:~ iOsama$ who
iOsama console May 26 18:40
iOsama ttys000 Jun 4 00:13









share|improve this question
















When I ran the uptime on my MacBookPro machine I got the following result:



Last login: Thu Jun  3 14:43:40 on ttys000
Osama-Gamal-MBP-2:~ iOsama$ uptime
14:49 up 7 days, 20:10, 2 users, load averages: 0.29 0.24 0.24


Why it lists that there are two users? is it normal? and who is the other user, is it the root user or what?



PS: I'm using Mac OS X 10.6.3
Edit: w command output:



Osama-Gamal-MBP-2:~ iOsama$ w
0:41 up 8 days, 6:03, 2 users, load averages: 1.92 1.81 1.38
USER TTY FROM LOGIN@ IDLE WHAT
iOsama console - 26May10 8days -
iOsama s000 - 0:13 - w


who command output:



Osama-Gamal-MBP-2:~ iOsama$ who
iOsama console May 26 18:40
iOsama ttys000 Jun 4 00:13






macos mac users uptime






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 3 '10 at 21:41







Osama Gamal

















asked Jun 3 '10 at 11:53









Osama GamalOsama Gamal

452268




452268








  • 1





    Can you post the output of who ?

    – Dentrasi
    Jun 3 '10 at 12:06











  • And/or last..?

    – T.J. Crowder
    Jun 3 '10 at 12:07











  • added to the question

    – Osama Gamal
    Jun 3 '10 at 21:42














  • 1





    Can you post the output of who ?

    – Dentrasi
    Jun 3 '10 at 12:06











  • And/or last..?

    – T.J. Crowder
    Jun 3 '10 at 12:07











  • added to the question

    – Osama Gamal
    Jun 3 '10 at 21:42








1




1





Can you post the output of who ?

– Dentrasi
Jun 3 '10 at 12:06





Can you post the output of who ?

– Dentrasi
Jun 3 '10 at 12:06













And/or last..?

– T.J. Crowder
Jun 3 '10 at 12:07





And/or last..?

– T.J. Crowder
Jun 3 '10 at 12:07













added to the question

– Osama Gamal
Jun 3 '10 at 21:42





added to the question

– Osama Gamal
Jun 3 '10 at 21:42










1 Answer
1






active

oldest

votes


















40














Try the w command. On my system I have the following:



# w
02:16:53 up 6:48, 2 users, load average: 0.50, 0.42, 0.52
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pcm tty7 :0 19:28 6:48m 16:07 0.17s gnome-session
pcm pts/0 :0.0 01:51 0.00s 0.36s 0.76s gnome-terminal
# uptime
02:16:56 up 6:48, 2 users, load average: 0.50, 0.42, 0.52


tty7 is your desktop login, pts/0 is a pseudo terminal ... probably what was used to type uptime in.




Why it lists that there are two users?




Because it shows every logged in session. A single user can have multiple active sessions at any one time.




is it normal?




100% normal ... A-OK




and who is the other user, is it the root user or what?




The other user is yourself. You have multiple sessions running. You can see in your output from your question, that the user name is the same for both sessions.






share|improve this answer


























  • Added to the question

    – Osama Gamal
    Jun 3 '10 at 21:43











  • Is something missing from this answer?

    – cmcginty
    Jun 4 '10 at 0:02






  • 2





    I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

    – Stefan Lasiewski
    Jun 4 '10 at 0:09











  • Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

    – Osama Gamal
    Jun 4 '10 at 0:31






  • 1





    "Stefan said" ... ?? uh ya, that is exactly what is in the answer

    – cmcginty
    Jun 4 '10 at 5:54












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f148423%2fwhy-there-are-two-users-showing-in-uptime-command-results%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









40














Try the w command. On my system I have the following:



# w
02:16:53 up 6:48, 2 users, load average: 0.50, 0.42, 0.52
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pcm tty7 :0 19:28 6:48m 16:07 0.17s gnome-session
pcm pts/0 :0.0 01:51 0.00s 0.36s 0.76s gnome-terminal
# uptime
02:16:56 up 6:48, 2 users, load average: 0.50, 0.42, 0.52


tty7 is your desktop login, pts/0 is a pseudo terminal ... probably what was used to type uptime in.




Why it lists that there are two users?




Because it shows every logged in session. A single user can have multiple active sessions at any one time.




is it normal?




100% normal ... A-OK




and who is the other user, is it the root user or what?




The other user is yourself. You have multiple sessions running. You can see in your output from your question, that the user name is the same for both sessions.






share|improve this answer


























  • Added to the question

    – Osama Gamal
    Jun 3 '10 at 21:43











  • Is something missing from this answer?

    – cmcginty
    Jun 4 '10 at 0:02






  • 2





    I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

    – Stefan Lasiewski
    Jun 4 '10 at 0:09











  • Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

    – Osama Gamal
    Jun 4 '10 at 0:31






  • 1





    "Stefan said" ... ?? uh ya, that is exactly what is in the answer

    – cmcginty
    Jun 4 '10 at 5:54
















40














Try the w command. On my system I have the following:



# w
02:16:53 up 6:48, 2 users, load average: 0.50, 0.42, 0.52
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pcm tty7 :0 19:28 6:48m 16:07 0.17s gnome-session
pcm pts/0 :0.0 01:51 0.00s 0.36s 0.76s gnome-terminal
# uptime
02:16:56 up 6:48, 2 users, load average: 0.50, 0.42, 0.52


tty7 is your desktop login, pts/0 is a pseudo terminal ... probably what was used to type uptime in.




Why it lists that there are two users?




Because it shows every logged in session. A single user can have multiple active sessions at any one time.




is it normal?




100% normal ... A-OK




and who is the other user, is it the root user or what?




The other user is yourself. You have multiple sessions running. You can see in your output from your question, that the user name is the same for both sessions.






share|improve this answer


























  • Added to the question

    – Osama Gamal
    Jun 3 '10 at 21:43











  • Is something missing from this answer?

    – cmcginty
    Jun 4 '10 at 0:02






  • 2





    I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

    – Stefan Lasiewski
    Jun 4 '10 at 0:09











  • Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

    – Osama Gamal
    Jun 4 '10 at 0:31






  • 1





    "Stefan said" ... ?? uh ya, that is exactly what is in the answer

    – cmcginty
    Jun 4 '10 at 5:54














40












40








40







Try the w command. On my system I have the following:



# w
02:16:53 up 6:48, 2 users, load average: 0.50, 0.42, 0.52
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pcm tty7 :0 19:28 6:48m 16:07 0.17s gnome-session
pcm pts/0 :0.0 01:51 0.00s 0.36s 0.76s gnome-terminal
# uptime
02:16:56 up 6:48, 2 users, load average: 0.50, 0.42, 0.52


tty7 is your desktop login, pts/0 is a pseudo terminal ... probably what was used to type uptime in.




Why it lists that there are two users?




Because it shows every logged in session. A single user can have multiple active sessions at any one time.




is it normal?




100% normal ... A-OK




and who is the other user, is it the root user or what?




The other user is yourself. You have multiple sessions running. You can see in your output from your question, that the user name is the same for both sessions.






share|improve this answer















Try the w command. On my system I have the following:



# w
02:16:53 up 6:48, 2 users, load average: 0.50, 0.42, 0.52
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
pcm tty7 :0 19:28 6:48m 16:07 0.17s gnome-session
pcm pts/0 :0.0 01:51 0.00s 0.36s 0.76s gnome-terminal
# uptime
02:16:56 up 6:48, 2 users, load average: 0.50, 0.42, 0.52


tty7 is your desktop login, pts/0 is a pseudo terminal ... probably what was used to type uptime in.




Why it lists that there are two users?




Because it shows every logged in session. A single user can have multiple active sessions at any one time.




is it normal?




100% normal ... A-OK




and who is the other user, is it the root user or what?




The other user is yourself. You have multiple sessions running. You can see in your output from your question, that the user name is the same for both sessions.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 29 at 20:15

























answered Jun 3 '10 at 12:17









cmcgintycmcginty

1,62942026




1,62942026













  • Added to the question

    – Osama Gamal
    Jun 3 '10 at 21:43











  • Is something missing from this answer?

    – cmcginty
    Jun 4 '10 at 0:02






  • 2





    I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

    – Stefan Lasiewski
    Jun 4 '10 at 0:09











  • Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

    – Osama Gamal
    Jun 4 '10 at 0:31






  • 1





    "Stefan said" ... ?? uh ya, that is exactly what is in the answer

    – cmcginty
    Jun 4 '10 at 5:54



















  • Added to the question

    – Osama Gamal
    Jun 3 '10 at 21:43











  • Is something missing from this answer?

    – cmcginty
    Jun 4 '10 at 0:02






  • 2





    I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

    – Stefan Lasiewski
    Jun 4 '10 at 0:09











  • Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

    – Osama Gamal
    Jun 4 '10 at 0:31






  • 1





    "Stefan said" ... ?? uh ya, that is exactly what is in the answer

    – cmcginty
    Jun 4 '10 at 5:54

















Added to the question

– Osama Gamal
Jun 3 '10 at 21:43





Added to the question

– Osama Gamal
Jun 3 '10 at 21:43













Is something missing from this answer?

– cmcginty
Jun 4 '10 at 0:02





Is something missing from this answer?

– cmcginty
Jun 4 '10 at 0:02




2




2





I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

– Stefan Lasiewski
Jun 4 '10 at 0:09





I have multiple Terminal.App windows open on my workstation. uptime says there are 8 users on my system, but each of them is tied to one of my Terminal sessions : 17:08 up 8:42, 8 users, load averages: 0.68 0.60 0.58

– Stefan Lasiewski
Jun 4 '10 at 0:09













Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

– Osama Gamal
Jun 4 '10 at 0:31





Nope nothing missing .. seems that Stefan said .. it is linked with the number of terminals .. I opened multiple terminal tabs and checked the uptime found out 5 users!!

– Osama Gamal
Jun 4 '10 at 0:31




1




1





"Stefan said" ... ?? uh ya, that is exactly what is in the answer

– cmcginty
Jun 4 '10 at 5:54





"Stefan said" ... ?? uh ya, that is exactly what is in the answer

– cmcginty
Jun 4 '10 at 5:54


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f148423%2fwhy-there-are-two-users-showing-in-uptime-command-results%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown