[monitoring-plugins] Fix double percentage sign in usage

RincewindsHat git at monitoring-plugins.org
Thu Jan 27 11:00:12 CET 2022


 Module: monitoring-plugins
 Branch: check_procs_fix_double_percent
 Commit: 1970a0141d9bc8edf4eea0732b40cf8da2107d6d
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Thu Jan 27 10:51:53 2022 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=1970a01

Fix double percentage sign in usage

---

 plugins/check_procs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4872340..a025ee8 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -775,7 +775,7 @@ be the total number of running processes\n\n"));
   printf (" %s\n", "check_procs -w 50000 -c 100000 --metric=VSZ");
   printf ("  %s\n\n", _("Alert if VSZ of any processes over 50K or 100K"));
   printf (" %s\n", "check_procs -w 10 -c 20 --metric=CPU");
-  printf ("  %s\n", _("Alert if CPU of any processes over 10%% or 20%%"));
+  printf ("  %s\n", _("Alert if CPU of any processes over 10\% or 20\%"));
 
 	printf (UT_SUPPORT);
 }



More information about the Commits mailing list