aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-common/files/patch-plugins_node.d_multips__memory.in
blob: 61f219811f2b3fdec9371c65753266086055ad69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
awk works just fine here.

--- plugins/node.d/multips_memory.in.orig	2018-09-21 02:11:11 UTC
+++ plugins/node.d/multips_memory.in
@@ -137,7 +137,7 @@ fi
 for name in $names; do
         fieldname="$(clean_fieldname "$name")"
 
-	ps -eo "$monitor,comm" | gawk '
+	ps -eo "$monitor,comm" | awk '
 BEGIN              { total = "U"; } # U = Unknown.
 /grep/             { next; }
 $2 ~ /^'"$name"'$/ { total = total + ($1*1024); }