$run="snmpwalk $host $opt_c ifType.".$thisport; open(PIPE,"$run |") || die "Failed to get type, stopped."; while(<PIPE>) { $type=$_; } close(PIPE); print "$MAC $type $ifName $iftomodule{$ifIndex} $iftopor +t{$ifIndex} $ifIndex $bridgeport $vlan $host\n";
Edit kudra, 2001-09-19 Added code tags
In reply to DONE: System() or the like
by PyroX
in thread System() or the like
by PyroX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |