summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-29 03:59:48 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-29 03:59:48 -0500
commit813c02364f55c14fef396d83eed52874d8e16fb2 (patch)
tree481e9175c8caaa1e814b87f919c4a38a47b3284c /plugins/check_swap.c
parent44485ddee2475aaff0c4d22b8ba789596d48afaf (diff)
downloadmonitoring-plugins-813c02364f55c14fef396d83eed52874d8e16fb2.tar.gz
Update check_swap usage
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index d8fc14f2..26dba0bc 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -547,7 +547,7 @@ print_help (void)
547 printf (" %s\n", "-c, --critical=INTEGER"); 547 printf (" %s\n", "-c, --critical=INTEGER");
548 printf (" %s\n", _("Exit with CRITICAL status if less than INTEGER bytes of swap space are free")); 548 printf (" %s\n", _("Exit with CRITICAL status if less than INTEGER bytes of swap space are free"));
549 printf (" %s\n", "-c, --critical=PERCENT%%"); 549 printf (" %s\n", "-c, --critical=PERCENT%%");
550 printf (" %s\n", _("Exit with CRITCAL status if less than PERCENT of swap space is free")); 550 printf (" %s\n", _("Exit with CRITICAL status if less than PERCENT of swap space is free"));
551 printf (" %s\n", "-a, --allswaps"); 551 printf (" %s\n", "-a, --allswaps");
552 printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one")); 552 printf (" %s\n", _("Conduct comparisons for all swap partitions, one by one"));
553 printf (" %s\n", "-n, --no-swap=<ok|warning|critical|unknown>"); 553 printf (" %s\n", "-n, --no-swap=<ok|warning|critical|unknown>");
@@ -556,6 +556,7 @@ print_help (void)
556 556
557 printf ("\n"); 557 printf ("\n");
558 printf ("%s\n", _("Notes:")); 558 printf ("%s\n", _("Notes:"));
559 printf (" %s\n", _("Both INTEGER and PERCENT thresholds can be specified, they are all checked."));
559 printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.")); 560 printf (" %s\n", _("On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s."));
560 561
561 printf (UT_SUPPORT); 562 printf (UT_SUPPORT);
@@ -567,6 +568,6 @@ void
567print_usage (void) 568print_usage (void)
568{ 569{
569 printf ("%s\n", _("Usage:")); 570 printf ("%s\n", _("Usage:"));
570 printf ("%s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname); 571 printf (" %s [-av] -w <percent_free>%% -c <percent_free>%%\n",progname);
571 printf ("%s [-av] -w <bytes_free> -c <bytes_free>\n", progname); 572 printf (" -w <bytes_free> -c <bytes_free> [-n <state>]\n");
572} 573}