summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSven Nierlein <sven@nierlein.org>2019-02-19 22:08:04 +0100
committerGitHub <noreply@github.com>2019-02-19 22:08:04 +0100
commitaf8e68d140ad5c3f40b95d995d97dc206e40bf6b (patch)
tree22312a03ac84a58961fb59675b883500350e36f6 /configure.ac
parente5823c7ae48b7e1556c3c671a417c9211a6f051e (diff)
parentc03e1ad081bc080cb8085bc14a94e4965a8e119e (diff)
downloadmonitoring-plugins-af8e68d140ad5c3f40b95d995d97dc206e40bf6b.tar.gz
Merge pull request #1507 from sanchezfauste/check_load_print_top_procs
Adding print top consuming processes option to check_load
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bf129956..08a0e782 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1016,6 +1016,10 @@ if test -n "$ac_cv_ps_varlist" ; then
1016 AC_DEFINE(PS_USES_PROCETIME,"yes", 1016 AC_DEFINE(PS_USES_PROCETIME,"yes",
1017 [Whether the ps utility uses the "procetime" field]) 1017 [Whether the ps utility uses the "procetime" field])
1018 fi 1018 fi
1019 if echo "$ac_cv_ps_varlist" | grep "procpcpu" >/dev/null; then
1020 AC_DEFINE(PS_USES_PROCPCPU,"yes",
1021 [Whether the ps utility uses the "procpcpu" field])
1022 fi
1019fi 1023fi
1020 1024
1021AC_PATH_PROG(PATH_TO_PING,ping) 1025AC_PATH_PROG(PATH_TO_PING,ping)