Friday, September 18, 2009

solaris opensolaris process map port listening to app name

# cd /proc && for pid in *; do pfexec pfiles $pid | grep -i inet | grep 52280 && echo $pid && break; done
sockname: AF_INET 127.0.0.1 port: 52280
590

# pargs 590

No comments: