for i in `ps -ef | grep java | grep -v grep | grep ST | awk '{print $2}'`
do
netstat -nap | grep "$i" | grep java
done
Showing posts with label ports. Show all posts
Showing posts with label ports. Show all posts
Sunday, July 25, 2010
Shell script to find all ports open by WL servers running
ST is a string which distinguishes all servers belonging to a ST domain
Labels:
ports
Subscribe to:
Posts (Atom)