for that we can use following shell script to find out the socket process which are still active on the ports, it will list by process id.
# is the port we are looking for
if [ $# -lt 1 ]
echo "Please provide a port number parameter for this script"
echo "e.g. %content 8888?"
echo "Greping for your port, please be patient (CTRL+C breaks) . "
for i in `ls /proc`
if [ $? -eq 0 ]
echo Is owned by pid $i
Any comments ?? / Suggestions ??