Browse files

Adding examples to documentation

  • Loading branch information...
1 parent 6ef2585 commit 55c5a86b2187dca049dae00882c394cb8ca1ac60 @bahamas10 bahamas10 committed Sep 16, 2012
Showing with 8 additions and 4 deletions.
  1. +8 −4 README.md
View
12 README.md
@@ -10,18 +10,22 @@ Plugins
Check for services in SMF that are not functioning properly
+ ~ $ ./check_svcs
+ ok: all services are online
+
### check_hard_errors
Check kstat for hard errors - useful for identifying failing hardware
+ ~ $ ./check_hard_errors
+ ok: no hard errors found
+
### check_mem
Like `check_disk` for memory usage using kstat to calculate used memory
- Usage: check_mem -w 80 -c 90
-
-If the amount of used memory is greater than 90 go critical, over 80 is
-warning, anything else is OK
+ ~ $ ./check_mem -w 90 -c 95
+ ok: 4% used (warning=90%, critical=95%)
License
-------

0 comments on commit 55c5a86

Please sign in to comment.