for i in `ps -ef | grep java | grep -v grep | grep ST | awk '{print $2}'` do netstat -nap | grep "$i" | grep java done
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment