Uptime command in terminal displays 2 users?

Hello everyone,

When I type in "uptime" in terminal I get this message back:
20:54 up 14:34, 2 users, load averages: 0.08 0.11 0.13. Does anyone know why it would register 2 users when I am the only user and there are no other accounts enabled?

20" iMac, Mac OS X (10.6.2)

Posted on May 8, 2010 6:55 PM

Reply
13 replies

May 18, 2010 3:54 PM in response to baltwo

Your machine is special!
Anyways, I sorry that my post aren't clear, english is my second language. My primary language is UNIX.
I thought I'd post a snippet of /private/etc/ttys->

#
# @(#)ttys 5.2 (Berkeley) 6/10/93
#
# name getty type status comments
#
# To secure single-user mode, enable Firmware password protection.
# http://docs.info.apple.com/article.html?artnum=106482
#
#console "/usr/libexec/getty std.57600" vt100 on secure
console "/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow" vt100 on secure onoption="/usr/libexec/getty std.9600"


Interestingly, not on my machines:
Last login: Tue May 18 14:32:09 on ttys000


And?

May 18, 2010 11:57 PM in response to Mark Jalbert

When you open a new terminal window it shows how the previous session connected. It's a security thing to allow you to spot if somebody is accessing your machine at a time or via a connection you weren't expecting.

When you first login, that session connects via "console", so your first terminal session will show "console" as the previous connection. However, that terminal session will have connected via "ttys000". The next terminal window to open will therefore show "ttys000".

If you open two or more terminal sessions at the same time then subsequent "ttys" are used - "ttys001", "ttys002" and so on. Once you close a terminal session, it's "ttys" device becomes available for re-use.

Hope that's a bit clearer than mud!

May 19, 2010 2:50 PM in response to Kappy

I have similar problem, I have fear about I have some intrusion...
my firewall ask new for allow services connect to internet that never before asked me!!!
I typing in terminal ''ac -p'' and I get:
Guest 1.94
root 0.37
Juan 1868.93
total 1871.24

It is mean I have an active connection from a Guest?? I didn't allow guest accounts in my system, then... any idea what happens?

If I reinstall leopard and use last timemachine files I will have a clean operate system to start from zero?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Uptime command in terminal displays 2 users?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.