Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where can I see who is connected to my Mac?

42 views
Skip to first unread message

Freddy Zulu

unread,
Dec 28, 2009, 4:11:22 AM12/28/09
to
Hello, I am working with my Mac in a network with file sharing and
would like to see who is connected to my computer under 10.6.2. Where
can I get this information? Thanks

Warren Oates

unread,
Dec 28, 2009, 6:58:46 AM12/28/09
to
In article <2009122810112216807-info@zuluvde>,
Freddy Zulu <in...@zuluv.de> wrote:

Open a terminal and either

w

or

who

at the prompt.

man w
man who
--
Very old woody beets will never cook tender.
-- Fannie Farmer

Jolly Roger

unread,
Dec 28, 2009, 10:27:31 AM12/28/09
to
In article <2009122810112216807-info@zuluvde>,
Freddy Zulu <in...@zuluv.de> wrote:

This command line will show you every computer connected to your Apple
file sharing service (AFP):

netstat -a -p tcp | grep afp | grep ESTABLISHED

To filter out everything but the name/IP of the connected computer, try:

netstat -a -p tcp | grep afp | grep ESTABLISHED | awk {'print $5'}

--
Send responses to the relevant news group rather than email to me.
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR

Cliff

unread,
Dec 29, 2009, 8:36:51 PM12/29/09
to

Additional 2 cents...

If you want to run the netstat commands from the Finder via
double-clicking just put the netstat Unix commands ( from a previous
post ) in a file with a .command suffix. Save it somewhere and then
make it runnable by opening terminal and typing "chmod +x <your
filename>.command

Then you can run it via double-clicking from the Finder.

Cliff


Jochem Huhmann

unread,
Dec 30, 2009, 4:16:25 AM12/30/09
to
Cliff writes:

Or you can just use the "Netstat" tab in the Network Utility application
found in /Applications/Utilities/.

Jochem

--
"A designer knows he has arrived at perfection not when there is no
longer anything to add, but when there is no longer anything to take away."
- Antoine de Saint-Exupery

0 new messages