123Macmini.com
FAQFAQ   SearchSearch   MemberlistMemberlist   GalleryPhoto Gallery   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Uptime

 
Post new topic   Reply to topic    123Macmini.com - Forums Forum Index -> New Users and Switchers
View previous topic :: View next topic  
Author Message
Electrofunkdaddy
New Member
New Member


Joined: 06 Mar 2013
Posts: 3

PostPosted: Thu Mar 07, 2013 3:06 pm    Post subject: Uptime Reply with quote

Hey I am trying to write a php script that uses the uptime command in terminal. this works but

running up shows 19:48 51 mins, 4 users???? load averages 0.45 0.38 0.27 etc

I am confused by the 4 users, how do I find out what and who they are, it is only me that uses my mac and I have finished writing the website for it.


Thanks

EFD Smile
Back to top
View user's profile Send private message
Smithcraft
Veteran Member
Veteran Member


Joined: 09 Nov 2008
Posts: 3236
Location: Seattle

PostPosted: Thu Mar 07, 2013 4:03 pm    Post subject: Reply with quote

Sometimes deamon like processes show as users. If you restart, does it still show 4 users right away?

I'm sure there should be a way to list the users, but I can't think of it right now.

SC
_________________
Grumpy old man of computing.

[Desktop] Intel mini - 2.16Ghz 2GB 60GB HDD - Newer miniStack v2 500GB - 10.5.8

[Media System] Intel i5 mini - 2.33Ghz 8GB 500GB HDD - 4 x Hitachi 2TB HDD in a qBOX-SF - 10.7.5 (Thanks Phil!)

Make sure it has pins!
Back to top
View user's profile Send private message Visit poster's website
philiparcario
Veteran Member
Veteran Member


Joined: 19 Jun 2006
Posts: 4574
Location: Howell NJ USA

PostPosted: Thu Mar 07, 2013 5:28 pm    Post subject: Reply with quote

you are welcome smithcraft.



to the op go to finder type in users take a look see at the user folder. sometimes they get duplicated. you may have 2 or 3 user folders.
_________________
2010 Mm 2.4 C2D oem 320gb hdd 8gb ram
2012Mm base 2.5 with 16gb ram diy fusion drive
2012Mm quad with 8gb ram oem 1tb hdd

promise pegasus r6 3x 3tb + 3x 4tb =21tb hdds
lacie little big disk 2x 512gb ssds
synology 2tb disk station
Back to top
View user's profile Send private message Send e-mail
Cypher
Veteran Member
Veteran Member


Joined: 24 Jan 2007
Posts: 3100
Location: North West - UK

PostPosted: Thu Mar 07, 2013 5:39 pm    Post subject: Reply with quote

Have a look in Activity Monitor, and select ALL PROCESSES in the drop down list, then see how many different users show up in the USER column. I have more than the 2 real users. In fact quite a lot more LOL Maybe some of these background ones account for the 4 your seeing.

I have 10 different ones showing including my real users and
root
_spotlight
_netbios
_networkd
_eppc
_mdnsrespoder
_coreaudiod
_usbmuxd
_________________
Phil

Mac Mini 2.53GHz - iMac 2.0Ghz - Macbook Pro 2.4GHz - iPad 1 32GB 3G
6TB Netgear Ready NAS NV+ - 6TB Drobo S
Back to top
View user's profile Send private message
Brendan
Member
Member


Joined: 04 May 2005
Posts: 201

PostPosted: Thu Mar 07, 2013 8:14 pm    Post subject: Reply with quote

You will have a user for each GUI session logon and a user for each terminal session you open. Open another terminal session and the count will go up. The who command will tell you who is logged in and where.
Back to top
View user's profile Send private message
macmanmacman
Veteran Member
Veteran Member


Joined: 25 Oct 2007
Posts: 1819

PostPosted: Fri Mar 08, 2013 7:59 am    Post subject: Reply with quote

also make sure the other users are not networked users mac os x likes to pick up other machines on your network it doesn't mean they are users or you can access them it just means this is what it detected i got confused by the 4 user statment i found it was communicating with my moms macbook air my computer my iMac and my moms iPhone and listing all these devices as users which of course they are not look under the shared devices tab all you have to do is open your hard drive folder on your desktop and look to the left if it says shared devices or shared and you see devices listed there are your users
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    123Macmini.com - Forums Forum Index -> New Users and Switchers All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



      

Shop:  Apple Store  |  Refurbished Macs  |  Refurbished iPads  |  MacConnection  |  Mac Mini Vault  |  Other World Computing

MK 1 Studio Mac mini Racks  |  Crucial Mac Memory  |  Top Free Mac Apps  |  Top Paid Mac Apps



123Macmini.com is an independent publication and has not been authorized, sponsored, or approved by Apple Computer, Inc.
All logos and trademarks in this site are property of their respective owners.
Copyright © 2011 123Macmini.com. All Rights Reserved.