#!/usr/local/bin/perl -w # -*- perl -*- # Plugin to monitor number of irqs # #%# family=auto #%# capabilities=autoconf use strict; my %IN; my $sysctl = defined($ENV{sysctl}) ? $ENV{sysctl} : '/sbin/sysctl'; if (defined($ARGV[0]) and ($ARGV[0] eq 'autoconf')) { if ( -x $sysctl ) { print "yes\n"; }else{ print "no (sysctl binary not found)\n"; }; exit; }; if (defined($ARGV[0]) and ($ARGV[0] eq 'config')) { print <