From 47ff5e39974bb8960cc8bf962f2bfe4c22b876be Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 28 Oct 2010 14:40:06 +0000 Subject: Ignore open /drm (mm object) things that the xserver in squeeze likes to keep around git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@459 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 b041144..9aa2008 100755 --- a/nagios-check-libs +++ b/nagios-check-libs @@ -117,6 +117,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#^/drm$#; # xserver stuff 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}; -- cgit v1.2.3