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?

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?

Similar Messages

  • Terminal command to login a user

    I'm doing some work on a lab, and it part of the process involves logging out the user. To complete the installation, I need to log back in as the user. ARD let's let send a command to log out a user, but is there a terminal command to login a user? I've tried using login -f username, but that didn't work.

    To login as administrator:hello
    I use:
    osascript <<EOF
    tell application "System Events"
    keystroke "administrator"
    keystroke tab
    delay 0.5
    keystroke "hello"
    delay 0.5
    keystroke return
    keystroke return
    end tell
    EOF
    You can save it as a task and double-click and drag in the computers and run when you want to do it.

  • Open command in Terminal

    When I try to open a folder from Terminal using the open command, instead of a Finder window opening for the folder, another Terminal window opens up with contents like the following:
    *Last login: Sat Nov 14 16:14:45 on ttys001*
    *jt-imac:~ terrator$ /Users/terrator/Music ; exit;*
    *-bash: /Users/terrator/Music: is a directory*
    logout
    *\[Process completed\]*
    In addition, I get the same symptom when I try to open folders from the Dock and Spotlight so I think the problems are related.
    I have done the following in trying to resolve this problem:
    1. Repair permissions and repair disk with Disk Utility using the Installation DVD after booting from it.
    2. Repair LaunchServices using Onyx
    3. Created a test user to see if this user has the same problem. No, the problem doesn't happen in this user.
    4. Deleted the com.appl.terminal.plist and some other plist files.
    5. Reinstalled Snow Leopard on top of my existing installation.
    None of those attempts have resolved the problem.
    Anyone has any ideas on how to resolve this problem?

    For Terminal.app I don't see anything with name "Folder" but I see one with roles "Editor":
    The Terminal does not execute anything. It is a character terminal emulator that is connected to pseudo (fake) serial terminal device (/dev/pty**)
    The other side of that pty device is attached to an independent process that happens to be running a shell of some kind (default being the bash shell).
    The shell will create child processes on demand and run commands requested by the user. Any text send to standard out or standard error by the shell or any of the children processes started by the shell, will be sent to the pty and the Terminal will read the other side of the pty and display the text in the Terminal window.
    The Terminal will also listen to the keyboard, and send any text you type to the pty where the shell or a child process created by the shell will read the other side of the pty and do what you tell it via the keyboard.
    That is the Terminal's job. communicate through this fake serial device. It does not execute commands. I knows nothing about Folders, nor files, nor TYPE/CREATOR fields, nor file type suffixes. Just reads text you type, and displays text sent back from the shell or its child processes.

  • Uptime command in solaris 10

    Hi,
    On one of my solaris 10 installation i tried giving the "uptime" command and got the below output
    10:31am 2 users, load average: 0.02, 0.02, 0.01
    To my surprise it did not show the no.of days the system is up. Could anyone please help me.
    Thanks.

    Hi,
    Both /usr/bin/uptime and /usr/bin/w came from the same source file:
    http://cvs.opensolaris.org/source/xref/usr/src/cmd/w/w.c
    w/uptime depends on /var/adm/utmpx as their source of data. Judging from the observation you have noted, the utmpx file did exist. Otherwise you would be seeing "stat error of /var/adm/utmpx: No such file or directory".
        244      if (stat(UTMPX_FILE, &sbuf) == ERR) {
        245           (void) fprintf(stderr, gettext("%s: stat error of %s: %s\n"),
        246                prog, UTMPX_FILE, strerror(errno));
        247           exit(1);
        248      }
    ...The reason that you did not have a system uptime was that in the /var/adm/utmpx file, there was no record or type BOOT_TIME.
        275                } else if (ut->ut_type == BOOT_TIME) {
        276                     uptime = now - ut->ut_xtime;
        277                     uptime += 30;
    ...Either the file is corrupted or truncated.
    Hope this helps.

  • How to delete a command in Terminal?

    Months ago I tried to sync ical via Dropbox, which required entering a command in Terminal.  Now I'd like to reverse the action.  How do I go about deleting or countermanding this command?  Thanks.

    Based on the symlink you created long ago, your calendar directory is currently stored in Dropbox.  If you want to keep your calendar data you will need to move it back to ~/Library/Calendars.
    To be on the safe side use the ls command to see which is the symlink and which is the real directory:
    ls -ld ~/Library/Calendars ~/Dropbox/Calendars
    The one that starts with L and contains 2 file paths as in
    lrwxr-xr-x 1 username group 9 Dec 4 2011 /Users/username/Library/Calendars -> /Users/username/Dropbox/Calendars
    is the symbolic link
    The one that starts with D is the real calendars directory, for example:
    drwxr-xr-x 1 username group 9 Dec 4 2011 /Users/username/Dropbox/Calendars
    NOTE:  I strongly suggest you have a current backup before you use the 'rm' command below.  One mistake with 'rm' (remove, aka delete) and you can loose data that you are not going to get back.
    To remove the symlink, and put your calendar data back where iCal expects to find it, use the following commands:
    rm ~/Library/Calendars
    mv ~/Dropbox/Calendars ~/Library/
    The rm command is removing the symlink you created.
    The mv command is moving your calendars information to ~/Library where iCal expects to find it.

  • Can I use the pfctl command in Terminal to throttle bandwidth?

    The ISP I use (Northwestel) limits my upstream bandwith to 2 Mbps. While I upload at that maximum rate, the download service is disabled.
    Plus, if I upload at that maximum rate for any sustained period of time (sustained being longer than about 5 minutes), my entire service is disabled and requires that I reset the modem to start it again.
    As you can imagine, this is very frustrating. Especially when you consider I pay $125 a month for the service.
    Very few apps offer an option to manually throttle upload speeds. Dropbox, for example, does. But Apple's PhotoStream does not.
    So I'm looking for a way to globally throttle upload speeds on my Mac to a rate less than 2 Mbps so that I can avoid the above-described problems.
    This has led me to the pfctl command in Terminal, which – from what I've read – would allow me to set an upload rate maximum limit in the Mac OS Mavericks firewall. The problem is, I'm a novice command line user and so can't figure out how to compose a command properly.
    Does anyone know how to compose a pfctl command that would enable me to limit the upstream bandwidth rate on my Mac to about 1 Mbps?
    Alternatively, is anyone aware of another way to globally set an upstream bandwidth rate limit on a Mac, perhaps a utility or app?
    Any input or thoughts will be gratefully accepted.

    There are gui apps for this.  Apple has one.
    http://apple.stackexchange.com/questions/7426/bandwidth-shaper-or-bandwidth-cont roller-app-for-mac-os-x
    my give you some more hints.
    http://www.justin.my/2012/10/how-to-limit-photostream-upload-speed-in-mac-os-x/

  • Logon rejected for Unable to obtain Terminal Server User Configuration. Error: Not enough resources are available to complete this operation.

    Error: Logon rejected for  Unable to obtain Terminal Server User Configuration. Error: Not enough resources are available to complete this operation.
    The problem is that the SharePoint server will
    function just fine for a week or so and then suddenly when a new user tries
    to log on they get an error message indicating that not enough resources areavailable to
    log them on and also user will to credential prompt while accessing share point site . 
    Raj

    Hi,
    According to the error message, please use performance monitor to diagnose if it is a memory-related bottleneck and you can use the counters of the memory part in the article below:
    https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
    In addition, it may be due to thousands of open connections to the server are in a TIME_WAIT state. You can run "netstat -an" command on the affected server and client. If you see mutiple connections in the TIME_WAIT state, you can follow the article
    to increase the number of TCP/IP connections:
    https://msdn.microsoft.com/en-us/library/ee377084(v=bts.70).aspx
    Furthermore, if you are running windows server 2003, please make sure that you have installed the KB 948496 and stop all services that you don't need.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Maxl statement (display user in group all;) is not working.

    Hello,
    Hyperion version 9.3.1 upgraded to 9.3.3. Not sure the below issue is because of this
    I have an interesting issue with a maxl statement : "display user in group all;". When I execute this statement through command prompt doing essmsh, it does give out any records and also doesn't end. I will have to end it with ctrl+c.
    When I execute it through EAS console, then EAS console just hangs.
    But, if I try to retrieve the users from groups individually ( I mean "display user in group 'examplegrp';"), then its working fine and throwing out the records.
    It is giving me a hard time and my dumb mind not able to figure it out.
    Any ideas please?
    Thanks

    Hi CL, Yes I ran it on the Essbase Server. We actually set it up through a scheduled batch script which was perfectly fine till last month (I guess). We noticed this just a week ago. The only change we had in our environment is that we upgraded 9.3.1 to 9.3.3 recently. Not sure whether it is making any difference.
    Thanks,
    KK

  • Ifconfig command in Terminal

    When I issue "ifconfig" command in Terminal, it does not give the IP address of the network interface. I use Ethernet connection for the Mac Pro (late 2013). However, the output of ifconfig does not show the IP address.
    Is there anything I should know about using ifconfig command in Terminal? Thanks.

    Perfectly clear, but not clear that you are certain you have an internet connection. You can use an interface normally, but not be connected at the moment you ran the command.
    If I run it on mine, all interfaces are displayed. Those with a connection have inet addresses. Those not connected have no inet fields.
    If it is being hidden for some reason, you might find the why in the man page.

  • Setenv command in terminal.

    Hello,
    I'm using the unix "setenv" command in Terminal. But I keep getting the message: -bash: setenv: command not found
    Can anyone tell me what's wrong? Thought 'setenv' was a standard unix command.

    First this question is better asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>
    'setenv' is a csh/tcsh shell built-in command.
    The default Mac OS X shell is 'bash' which sets environment variables using
    export VARIABLE_NAME="new value for the variable"
    If you are just following some instructions you read somewhere, then either see if there is a bourne shell version (sh, bash, ksh, zsh, ...). Or translate the csh/tcsh specific commands to bourne shell varieties.
    If you are a long time csh/tcsh user and want to use that shell, then try using the
    chsh
    command.

  • RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING

    HI All,
    We have an Planning application and when the user is trying to perform some activity and ti involves in running some calculation Scripts.
    At point the application is going down and this is causing real mess.
    There is no .xcp file created in the app folder. We are unable to find the root cause of the issue.
    the following are the fixes we tried but gave us no result.
    We tried to increase the Java Heep size
    <variable id="ESS_CSS_JVM_OPTION8" value="-Xms512m"/>
    <variable id="ESS_CSS_JVM_OPTION9" value="-Xmx1024m"/>
    But the issue still exists.
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1127704896/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0.01] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1127704896/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [204] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1222445376/Info(1013210)
    User [hypadmin@Native Directory] set active on database [Wrkforce]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1130862912/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1130862912/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1132968256/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1013091)
    Received Command [MdxReport] from user [hypadmin@Native Directory]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1132968256/Info(1260039)
    MaxL DML Execution Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln///1129810240/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:32 2013]Local/SMARTPln/Wrkforce/hypadmin@Native Directory/1129810240/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [87] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1134020928/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1134020928/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln///1135073600/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Nov  4 11:24:35 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1135073600/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [7] non-Dyn.Calc.Cache : [0]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1128757568/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1128757568/Info(1013091)
    Received Command [SetAlias] from user [gbeaton@CAL1]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1042059)
    Connected from [140.85.4.227]
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln/SMARTPln/gbeaton@CAL1/1131915584/Info(1020089)
    Ignoring span Hybrid Analysis option. Spanning into Hybrid Analysis Relational Source has been disabled. See the essbase.cfg file
    [Mon Nov  4 11:24:38 2013]Local/SMARTPln///1131915584/Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    [Mon Nov  4 11:24:52 2013]Local/SMARTPln///1218234688/Error(1013204)
    Client Commands are Currently Not Being Accepted
    Can you please help me out form this .
    Regards,
    Kiran.

    Hi Mady,
    Thanks for the reply.
    We have increased the Heap size and restarted the services. But this issue still exists. And also restarted the entire system but the result is the same.
    We are unable to find the root cause which is causing this issue.
    Can any one suggest me....
    Thanks in Advance.
    Regards,
    Kiran.

  • Every Time I do the say command in terminal it shows and error message

    Every time I use the say command in terminal it brings an error message but I does say the message why does it put the error message please help

    This behavior appears to be arising with some 10.8.4 systems, based on some web searches.
    Based on what I've found, there's no specific known trigger, nor any certain cure for this.
    See if the discussion in this thread helps any with resolving the MTBEAudioUnitSoundOutput:: PropagateProperty Error -10851 error. 
    From that discussion thread, please remove any anti-malware software that might be installed and test, and create a second and separate login user and log into that user and test the say command.  
    Also test with the stock voices and not something that's been downloaded, and also (again, as a test, particularly if you're not using an English locale) see if switching your shell locale to the C locale (export LC_ALL=C) alters the behavior.
    If the system is still under warranty or if you have AppleCare with this system, please call Apple support directly and ask.

  • Comment supprimer un dossier via les commandes du terminal ?

    Bonjour à tous,
    Je possède un macbook air dernière génération est ai un petit problème dessus.
    J'ai saturé mon disque dur interne (128 GO) et eu la (fausse) bonne idée d'éteindre mon mac.
    Lorsque que j'essaie de le rallumer, après avoir taper le mot de passe de ma session, un écran blanc apparait à la place de mon bureau.
    Un message d'erreur apparait "Votre disque de démarrage est saturé. Vous devez libérer de la place sur votre disque en supprimant des fichiers."
    Sauf que je ne peux accéder à mes fichiers..
    J'ai essayé de supprimer des fichiers via les commandes du terminal (démarrage en mode single user) mais ça ne marche pas..
    Est ce que quelqu'un sait comment faire sans restaurer totalement mon disque dur ??
    Merci d'avance 

    Plus d'infos ici : Aide de Creative Cloud | Partage de fichiers et de dossiers
    Par contre, pour le moment, pas de granularité des droits, juste des liens publics ou privés.

  • Terminal Server User license file not found or User ID not matched.

    Hi,
    I recently went for the Process Runner, downloaded trial version and wanted to work with Ides system, but at the very first step the system throws the following error:
    "Terminal Server User license file not found or User ID not matched.
    and the details are as follows:
    Process Runner 2008
    Version : 4.20.10
    Supported file version: 7.3
    Current Framework: 2.0.50727.42
    User Name: Demo User
    Licensed  To: Demo Company
    Product Id : PR-ALL-DR-MTH-CU
    Full Version : 4.20.10.9579
    Current UserID : Administrator
    License Type : Evaluation/Demo License
    Evaluation Days : 1 of 30
    Licensed Uses : 5 of 15
    Expiration Date : 12/31/2011
    COMPANY : Demo Company
    MAX_ROWS : 30
    MAX_THREADS : 3
    USER : Demo User
    Current Node Id : DAAB-AA43-58DB-00DB-4862
    Max Instances Allowed : N/A
    OS-Office culture info : en-US | en-US | en-US | en-US
    C-Info : en-US
    Computer : SAPSERVER
    Current Domain : WORKGROUP
    OS : Microsoft Windows NT 5.2.3790 Service Pack 1
    AppPath : D:\Vijj downloaded\Process Runner
    MyDocPath : C:\Documents and Settings\Administrator\My Documents\Innowera
    Terminal Server User license file not found or User ID not matched.
    Can anybody guide me please.
    Thanks.

    Hi,
    According to the error message, please use performance monitor to diagnose if it is a memory-related bottleneck and you can use the counters of the memory part in the article below:
    https://technet.microsoft.com/en-us/magazine/2008.08.pulse.aspx
    In addition, it may be due to thousands of open connections to the server are in a TIME_WAIT state. You can run "netstat -an" command on the affected server and client. If you see mutiple connections in the TIME_WAIT state, you can follow the article
    to increase the number of TCP/IP connections:
    https://msdn.microsoft.com/en-us/library/ee377084(v=bts.70).aspx
    Furthermore, if you are running windows server 2003, please make sure that you have installed the KB 948496 and stop all services that you don't need.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Terminal displaying things that I cannot get rid of

    Everytime I log into Terminal I get the following message:
    Last login: Thu Apr 3 16:07:29 on ttys000
    -bash: import: command not found
    -bash: public: command not found
    -bash: /Users/kylestarr/.profile: line 9: syntax error near unexpected token `('
    -bash: /Users/kylestarr/.profile: line 9: ` public static void main(String[] args)'
    cv077250:~ kylestarr$
    How do I go about cleaning this up?

    alias javac=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/javac
    alias java=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
    alias javac=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/javac
    alias java=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java
    import java.util.*;
    public class JavaTest
    public static void main(String[] args)
    // This statement would make no sense to a pre-5.0 compiler
    ArrayList<String> a = new ArrayList<String>();
    a.add("Alex");
    a.add("is");
    a.add("happy");
    // This loop construct is also gibberish to a pre-5.0 compiler
    for (String s : a)
    System.out.println(s);
    alias javac=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/javac
    alias javac=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/javac
    alias java=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java

Maybe you are looking for

  • ORA-27473: argument 1 does not exist

    Hello I've been trying to create a file_watcher to check for files arriving at the filesystem. But keep getting the error "ORA-27473: argument 1 does not exist ". I've searched forums but can't find an answer to get me on track. Does anyone know why

  • Video behind http authentication does not play in Safari on iOS8.

    Videos (quicktime and probably others) that are sitting behind http authenticated sites do not play properly in IOS8. This is true even with the new 8.0.2. When clicking on the mov file, Safari starts the integrated player (the player with the play b

  • Mac Mini Compatibility

    I am considering buying a used Mac Mini off of ebay because they are so reasonable. All I'm want it for is to run my home automation. I have 3 other Macs and don't want them to be tied up. I'm not familiar with the Mac Mini at all. Are there any issu

  • Blu ray compatible w/ Bose?

    I have a Bose 321 series III home theater and was curious how I could hook my blu ray player up so it would play through the Bose system?

  • Enhancement in BP trx

    Hi, As per my requirement BP transcation should contain the field branch name. We added the branch field in the BP transaction by using EEW. Now i want to update this branch value in the BP master table when ever the BP transcation saved with the bra