Re: Program to display process information (especially sockets)
From: Frank Gevaerts (frank_at_gevaerts.be)
Date: 12/26/04
- Previous message: David Garamond: "Re: The 'mail' system account"
- In reply to: Sam Watkins: "Re: Program to display process information (especially sockets)"
- Next in thread: Hugo Vanwoerkom: "Re: Program to display process information (especially sockets)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 26 Dec 2004 13:48:14 +0100 To: debian-user@lists.debian.org
On Sun, Dec 26, 2004 at 11:28:35PM +1100, Sam Watkins wrote:
> On Sun, 2004-12-26 at 15:19 +0700, David Garamond wrote:
> > 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.
>
> Probably the best you're going to get is the output of netstat -p.
>
> This will tell you process names and numbers for each socket, you can
> parse that and do what you like with it. If you need it to spit out the
> info faster, try the -n option, which won't do reverse dns lookups.
>
> One thing I would like to know how to do, but I don't think it's
> possible, is to find out what process is on the other end of a pipe.
> If that were possible, I could write a graphical system display tool,
> that shows you all your processes and how they're connected together.
Try lsof.
Frank
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: David Garamond: "Re: The 'mail' system account"
- In reply to: Sam Watkins: "Re: Program to display process information (especially sockets)"
- Next in thread: Hugo Vanwoerkom: "Re: Program to display process information (especially sockets)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|