Chris Slattery oracle and Miscellaneous tech Blog

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








Posted by Chris Slattery at Version 1 at 3:33 AM No comments:
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Blog Archive

  • ►  2019 (1)
    • ►  March (1)
  • ►  2018 (2)
    • ►  April (1)
    • ►  March (1)
  • ►  2017 (5)
    • ►  July (1)
    • ►  June (1)
    • ►  May (2)
    • ►  January (1)
  • ►  2016 (23)
    • ►  December (1)
    • ►  October (19)
    • ►  September (3)
  • ▼  2015 (25)
    • ▼  December (1)
      • Weblogic : Sneaky ways to find a logfile or socket...
    • ►  November (6)
    • ►  June (5)
    • ►  January (13)
  • ►  2014 (3)
    • ►  August (2)
    • ►  July (1)
  • ►  2013 (26)
    • ►  October (3)
    • ►  August (1)
    • ►  June (2)
    • ►  May (2)
    • ►  April (1)
    • ►  March (7)
    • ►  February (1)
    • ►  January (9)
  • ►  2012 (17)
    • ►  December (4)
    • ►  November (12)
    • ►  October (1)
  • ►  2009 (4)
    • ►  April (2)
    • ►  March (2)
  • ►  2008 (8)
    • ►  December (1)
    • ►  October (3)
    • ►  September (2)
    • ►  August (2)

About Me

Chris Slattery at Version 1
View my complete profile
Simple theme. Powered by Blogger.