diff options
-rwxr-xr-x | minimunin | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ swap) | |||
70 | ;; | 70 | ;; |
71 | uptime) | 71 | uptime) |
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 | ;; |
75 | memory) | 75 | memory) |
76 | pagesize=`get_sys vm.stats.vm.v_page_size` | 76 | pagesize=`get_sys vm.stats.vm.v_page_size` |