How to Find Out Which Process Is Listening Upon a Port

Commonly used this command to find pid of process of previously delete shoutcast or icecast accounts on centova cast but still open used port

# netstat -anp | grep 834 or lsof -i | grep 834