From e819ba2c0c7f4bb24489844a0467c1fa9a2b7d31 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Wed, 24 Oct 2012 15:57:17 +0200 Subject: [PATCH] added support for the line 'proc4ops' in /proc/net/rpc/nfsd --- monitorix | 1 + 1 file changed, 1 insertion(+) diff --git a/monitorix b/monitorix index 48224ac..826e824 100755 --- a/monitorix +++ b/monitorix @@ -5271,6 +5271,7 @@ sub nfss_update { if(/^rpc\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) { @rpc = ($1, $2, $3, $4, $5); } + $NFSS_VERSION = "4ops" if $NFSS_VERSION eq "4"; if(/^proc$NFSS_VERSION /) { my @tmp = split(' ', $_); (undef, undef, @nfss) = @tmp;