summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminimunin2
1 files changed, 1 insertions, 1 deletions
diff --git a/minimunin b/minimunin
index cca7edb..c9c0d10 100755
--- a/minimunin
+++ b/minimunin
@@ -70,7 +70,7 @@ swap)
70 ;; 70 ;;
71uptime) 71uptime)
72 boot=`get_sys kern.boottime`; boot=${boot#*sec =}; boot=${boot%%,*} 72 boot=`get_sys kern.boottime`; boot=${boot#*sec =}; boot=${boot%%,*}
73 printf "uptime.value %d\n" $(( ( `/bin/date +%s` - boot ) / 84600 )) 73 printf "uptime.value %d\n" $(( ( `/bin/date +%s` - boot ) / 86400 ))
74 ;; 74 ;;
75memory) 75memory)
76 pagesize=`get_sys vm.stats.vm.v_page_size` 76 pagesize=`get_sys vm.stats.vm.v_page_size`