Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Uptime Question

Uptime Question
Thread Tools
Professional Poster
Join Date: Jun 2007
Status: Offline
Reply With Quote
Aug 26, 2007, 07:54 AM
 
I did an uptime on my computer and it said: 8:52 up 4 days, 13:36, 2 users, load averages: 0.22 0.38 0.34

What's this 2 users? I'm the only user
     
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status: Offline
Reply With Quote
Aug 26, 2007, 07:57 AM
 
No, you're not.

/Applications/Utilities/Activity Viewer.app --> Show: All processes

There's you, and there's your system.

This separation is fundamental to the security concept of *nix systems.
     
Professional Poster
Join Date: Jun 2007
Status: Offline
Reply With Quote
Aug 26, 2007, 08:46 AM
 
So it is root.

Thanks.
     
Mac Elite
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 27, 2007, 03:45 PM
 
Nah, the other user is not root.

Type 'who' to see everyone who is logged in. Typically it's you -- logged in "twice." Once is your login from the command prompt, and the other one is the "login" to open the command shell. See:

[Ocho:~$] who
catone console Aug 24 11:33
catone ttyp1 Aug 27 13:43

[Ocho:~$] who am i
catone ttyp1 Aug 27 13:43

[Ocho:~$] whoami
catone
     
Professional Poster
Join Date: Nov 2004
Location: eating kernel
Status: Offline
Reply With Quote
Aug 27, 2007, 03:50 PM
 
Originally Posted by CatOne View Post
Nah, the other user is not root.

Type 'who' to see everyone who is logged in. Typically it's you -- logged in "twice." Once is your login from the command prompt, and the other one is the "login" to open the command shell. See:

[Ocho:~$] who
catone console Aug 24 11:33
catone ttyp1 Aug 27 13:43

[Ocho:~$] who am i
catone ttyp1 Aug 27 13:43

[Ocho:~$] whoami
catone
No, its still catone, not 2 catones.

ie:

RULER console Aug 27 15:56
RULER ttyp1 Aug 27 16:01
RULER ttyp2 Aug 27 16:01
RULER ttyp3 Aug 27 16:01

Type 'w' and you get this:

USER TTY FROM LOGIN@ IDLE WHAT
RULER console - 15:56 50 -
RULER p1 - 16:01 - w
RULER p2 - 16:01 25 ssh root@192.168.1.*
RULER p3 - 16:01 25 ssh cats@192.168.1.*

catone console is the GUI (I think), catone ttyp1 is your term window. Any other ttyp* is another term window.


EDIT: pic of Activity Monitor window:

(Last edited by C.A.T.S. CEO; Aug 27, 2007 at 03:57 PM. )
Signature depreciated.
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:34 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2