summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dec4bf6)
raw | patch | inline | side by side (parent: dec4bf6)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 20 Feb 2004 01:05:02 +0000 (01:05 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 20 Feb 2004 01:05:02 +0000 (01:05 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@809 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_swap.c | patch | blob | history |
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index ef12e79894544cec5e5c85ecd9275a60d051baf8..dfa21808e4ed3569e77e099188b086b8a894cd6e 100644 (file)
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
case 'h': /* help */
print_help ();
exit (STATE_OK);
- case '?': /* help */
+ case '?': /* error */
usage (_("Invalid argument\n"));
}
}
-c, --critical=PERCENT%%\n\
Exit with CRITCAL status if less than PERCENT of swap space is free\n\
-a, --allswaps\n\
- Conduct comparisons for all swap partitions, one by one\n"));
+ Conduct comparisons for all swap partitions, one by one\n\
+ -v, --verbose\n\
+ Verbose output. Up to 3 levels\n"));
printf (_("\n\
On Solaris, if -a specified, uses swap -l, otherwise uses swap -s.\n\
print_usage (void)
{
printf (_("Usage:\n\
- %s [-a] -w <used_percentage>%% -c <used_percentage>%%\n\
- %s [-a] -w <bytes_free> -c <bytes_free>\n\
+ %s [-av] -w <percent_free>%% -c <percent_free>%%\n\
+ %s [-av] -w <bytes_free> -c <bytes_free>\n\
%s (-h | --help) for detailed help\n\
%s (-V | --version) for version information\n"),
progname, progname, progname, progname);