View | Details | Raw Unified | Return to bug 20775
Collapse All | Expand All

(-)sockstat (-2 / +2 lines)
Lines 40-46 Link Here
40
$user,   $cmd,    $pid, $fd, $proto,$laddr,               $faddr
40
$user,   $cmd,    $pid, $fd, $proto,$laddr,               $faddr
41
.
41
.
42
42
43
open NETSTAT, "netstat -Aan |" or die "'netstat' failed: $!";
43
open NETSTAT, "/usr/bin/netstat -Aan |" or die "'netstat' failed: $!";
44
<NETSTAT>; <NETSTAT>;
44
<NETSTAT>; <NETSTAT>;
45
45
46
while (<NETSTAT>) {
46
while (<NETSTAT>) {
Lines 51-57 Link Here
51
51
52
close NETSTAT;
52
close NETSTAT;
53
53
54
open FSTAT, "fstat |" or die "'fstat' failed: $!\n";
54
open FSTAT, "/usr/bin/fstat |" or die "'fstat' failed: $!\n";
55
55
56
while (<FSTAT>) {
56
while (<FSTAT>) {
57
    ($user, $cmd, $pid, $fd, $inet, $type, $proto, $sock) = split;
57
    ($user, $cmd, $pid, $fd, $inet, $type, $proto, $sock) = split;

Return to bug 20775