[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Viewing socket owner
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Viewing socket owner
- From: Arnaud Bergeron <abergeron_(_at_)_gmail_(_dot_)_com>
- Date: Sun, 1 May 2005 20:19:53 -0400
- Reply-to: Arnaud Bergeron <abergeron_(_at_)_gmail_(_dot_)_com>
I have been playing around with netstat and found lots of strange
(read uknown ports) udp connections. I wanted to know what processes
where doing these connections. After reading the netstat man page I
concluded that it can't do it. Google provided no useful information.
So I wonder if there is a way to view the pid (or pgid) of the owner
of a socket other than writing my own program to read kernel memory
with kvm_*.
Arnaud Bergeron
--
Fourth law of programming:
Anything that can go wrong wi
sendmail: segmentation violation - core dumped
Visit your host, monkey.org