in reply to Relating AF_INET sockets to processes using Perl
If you have a /proc filesystem maybe a perl-only solution is possible, but otherwise you'll really want to invoke lsof. It has a special -F option to produce output designed to be easily parsable by awk/perl scripts.
I hope this helps you get started
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Relating AF_INET sockets to processes using Perl
by SIGSEGV (Sexton) on Mar 05, 2003 at 08:31 UTC |