lsof | grep iTunes | grep TCP
lsof -i tcp:daap
If you work in a place that allows sharing itunes over the network, you may wonder who is listening to your shared media. Just two different Mac OS X terminal comands needed to find who is listening to your iTunes. There is also a handy app called iTunes Monitor that works quite well and also does the lookup of the ip address. Finally there is a widget iTunes Connection Monitor that allows you to quickly see the ip address and what is being listened to.