The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-23-2006
swing swing is offline
Registered User
 

Join Date: Nov 2006
Posts: 3
Getting PID of Open Connectivity

Hi!

I've a Java socket server program that is listening for requests, and using netstat, I can see that the connection is already open.

However as the process name (from ps -ef) is very long and I can't grep the program name. Can anyone advise how I find out the PID of the process? Can netstat or some other command tell me that?

Thanks!


Regards
swing
Reply With Quote
Forum Sponsor