--aix
$netstat -an|grep LISTEN|grep 7867tcp4 0 0 *.7867 *.* LISTEN$netstat -Aan|grep 7867f1000e00029fe3b0 tcp4 0 0 *.7867 *.* LISTEN$rmsock f1000e00029fe3b0 tcpcbThe socket 0x29fe008 is being held by proccess 2884424 (test).$ps -ef|grep 2884424 admin 4128816 2491030 0 16:14:42 pts/6 0:00 grep 2884424 admin 2884424 2884008 0 15:31:15 pts/3 0:00 test$
--linux
# netstat -apn|grep LISTEN|grep 4000
tcp 0 0 :::4000 :::* LISTEN 21864/node