diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-08-30 09:18:20 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-08-30 09:18:20 +0000 |
| commit | 2d090923d6161bc96c07e025ac7089cb71c07a8c (patch) | |
| tree | 99e4c32f1d44bacaf6c6337a7de1d4011dc32e86 | |
| parent | 2160daba07a5bc63e288f4a007696075748c046c (diff) | |
Notes
| -rw-r--r-- | usr.bin/sockstat/sockstat.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sockstat/sockstat.pl b/usr.bin/sockstat/sockstat.pl index 02c60d1524ff..cbd66d82eb3e 100644 --- a/usr.bin/sockstat/sockstat.pl +++ b/usr.bin/sockstat/sockstat.pl @@ -40,7 +40,7 @@ format STDOUT = $user, $cmd, $pid, $fd, $proto,$laddr, $faddr . -open NETSTAT, "netstat -Aan |" or die "'netstat' failed: $!"; +open NETSTAT, "/usr/bin/netstat -Aan |" or die "'netstat' failed: $!"; <NETSTAT>; <NETSTAT>; while (<NETSTAT>) { @@ -51,7 +51,7 @@ while (<NETSTAT>) { close NETSTAT; -open FSTAT, "fstat |" or die "'fstat' failed: $!\n"; +open FSTAT, "/usr/bin/fstat |" or die "'fstat' failed: $!\n"; while (<FSTAT>) { ($user, $cmd, $pid, $fd, $inet, $type, $proto, $sock) = split; |
