MacTexan Wallpaper o' th' Week

Sedona Starry Night


Help us, WE'RE BROKE:
Search MacTexan
MacTexan on Twitter

« Why Won't My Mac Go To Sleep? | Main | Run the New iPhoto on Original iPad »
Sunday
Aug192012

Find Out Who's Connected to Your iTunes Library

Have you ever tried to quit iTunes and gotten the warning message: "others are connected to your iTunes library...", going on to say that quitting will disconnect whoever it is using your media? If you're like me and have a house full of Apple gear using HomeSharing, you never know which AppleTV is streaming a movie or who's iPhone is jamming to one of your playlists.  Common courtesy dictates at least checking what's going on. There are a couple of ways to do this. One is screaming at the top of your lungs, "WHO'S STREAMING FROM MY IMAC??!!!"  The other is much more civil and certainly less invasive to your neighbors...

...from the Terminal prompt, type: 
lsof |grep iTunes |grep TCP
...and your results should look something like this:
iTunes    8258  joe   23u    IPv4 0xd862114a55e74e55       0t0      TCP *:daap (LISTEN)
iTunes    8258  joe   24u    IPv6 0xd862114a3499b6e5       0t0      TCP *:daap (LISTEN)
iTunes    8258  joe   49u    IPv4 0xd862114a4fa01cc5       0t0      TCP 192.168.1.114:daap->192.168.1.107:62788 (ESTABLISHED)
Now, you will need to know your user's IP address, but that shouldn't be a problem for anyone reading the "GEARHEAD" page of MacTexan!

 

 

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>