diff options
author | Peter Palfrader <peter@palfrader.org> | 2010-10-28 14:40:06 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2010-10-28 14:40:06 +0000 |
commit | 47ff5e39974bb8960cc8bf962f2bfe4c22b876be (patch) | |
tree | dbb72ceb3e4157d780770931d73902699706d762 | |
parent | fc1c456f966a7a586abcfb38b775fa27bbc685c5 (diff) |
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
-rwxr-xr-x | nagios-check-libs | 1 |
1 files changed, 1 insertions, 0 deletions
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}; |