Alternatively, you can feed your script with the output of netstat -e opening a pipe:
citromatikuse strict; use warnings; open NETSTAT, "netstat -e |" or die $!; while (<NETSTAT>){ # process the line # Output to csv } close NETSTAT;
In reply to Re: Perl solution
by citromatik
in thread Perl solution
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |