See which sockets belong to which processes
lsof | grep -i "program"
lsof or "list open files" is one of the systems administrator's number one tools. On a busy server it can help you trace what processes are using which services, without turning any serivces on and off to check what dies.
Sponsored by BlackBerry
BlackBerry® Enterprise Server Express enables businesses of any size to quickly and easily get started with the BlackBerry solution. It provides advanced BlackBerry smartphone features with no additional software or user license fees, and works with any Internet-enabled BlackBerry data plan or a BlackBerry enterprise data plan. Download now!