[monitoring-plugins] check_procs: use proper escape for %

Lorenz Kästle git at monitoring-plugins.org
Fri Nov 8 23:10:13 CET 2024


 Module: monitoring-plugins
 Branch: master
 Commit: 54042ac52f7883cf45176f084f63f22b3fdc235c
 Author: Lorenz Kästle <12514511+RincewindsHat at users.noreply.github.com>
   Date: Fri Nov  8 12:39:44 2024 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=54042ac

check_procs: use proper escape for %

---

 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 53c93c0..1d78cce 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -832,7 +832,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