From 859d4335dfbcf10ffd774151ff7cc40950478e72 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 4 Jul 2010 20:17:05 +0000 Subject: ignore dev/zero git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@452 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- nagios-check-libs | 1 + 1 file changed, 1 insertion(+) diff --git a/nagios-check-libs b/nagios-check-libs index 3bfd837..1ad3458 100755 --- a/nagios-check-libs +++ b/nagios-check-libs @@ -116,6 +116,7 @@ for my $line (@lsof) { next if $path =~ m#^/proc/#; next if $path =~ m#^/var/tmp/#; next if $path =~ m#^/SYS#; + next if $path =~ m#^/dev/zero#; next if ($INVSERVER && ($process eq 'init') && ($pid == 1) && ($user eq 'root')); #$processes{$user}->{$process} = [] unless defined $processes{$user}->{$process}; $processes{$user}->{$process}->{$pid} = 1; -- cgit v1.2.3