Wednesday, December 9, 2015

Weblogic : Sneaky ways to find a logfile or socket/ports



On Linux can be hard to find what files a process has open

Get the PID of the process you want and substitute

For Logfile
Try

ls -lrt /proc//fd|grep -v \\.jar|grep -v socket|grep -v \\.DAT|grep -v Embedded

For Ports/Sockets

 lsof -P|grep |grep IPv

this is all sockets.   To find those actually acting as endpoints

 lsof -P|grep |grep IPv|grep LISTEN








No comments: