[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Program to display process information (especially sockets)



On Sun, 2004-12-26 at 15:19 +0700, David Garamond wrote:
> Dear all,
> 
> Anyone knows of a program (command-line or GUI) to display process 
> information, e.g. which TCP/UDP/Unix sockets are used by the process and 
> what are their ports/hosts/etc. I used to write a little script that 
> parses /proc/net/{tcp,udp,unix} but needs more info/convenience, e.g. 
> displaying which other processes share the same sockets or searching for 
> other processes which occupy a certain port.

How can processes share a socket?

> PS: I know about netstat and I have searched with keywords "proc" or 
> "process" in synaptic.

Have you tried lsof?

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

I am *not* my children's friend; I am their parent.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: