Determing listening port, process id, exe-file name and location



Hi,
I am using HP-UX

'HP-UX g1028029 B.11.00 A 9000/800 1279364181 two-user license'


I would like to identify all the process that are listening on
different ports. I would like to know the following information about
each process.
1. pid
2. Exe-file name
3. Listening port
4. Location of the exe file


Kindly let me know the command to get the above mentioned
information.




.



Relevant Pages

  • Re: Some new guy questions
    ... The listening status shows that your machine is listening on certain ports ... for incoming or outgoing connections. ... I was wondering if there's a command to manually ...
    (Security-Basics)
  • Re: Determing listening port, process id, exe-file name and location
    ... I would like to identify all the process that are listening on ... different ports. ... there may still be versions of the lsof command floating around ...
    (comp.sys.hp.hpux)
  • Re: How to read netstat?
    ... > of the netstat -a command. ... I have seen the (incomplete) list of ports, ... You should see your IP address to the left of the file and listening ...
    (comp.security.firewalls)
  • Re: How to read netstat?
    ... > of the netstat -a command. ... I have seen the (incomplete) list of ports, ... You should see your IP address to the left of the file and listening ...
    (comp.security.firewalls)
  • Re: Starting iptables
    ... it is not clear that you need a firewall at all. ... just don't open any ports. ... "netstat -putl" will let you find out what listening ports are open. ... mysql is listening on tcp port 3306. ...
    (Debian-User)