403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/munin-common/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/munin-common/files/patch-plugins_node.d.freebsd_iostat.in
- iostat returns kB, not MB.
- Remove silly limits on IO

--- plugins/node.d.freebsd/iostat.in.orig	2014-11-24 21:46:24 UTC
+++ plugins/node.d.freebsd/iostat.in
@@ -41,7 +41,7 @@ fi
 if [ "$1" = "config" ]; then
     echo 'graph_title IOstat by bytes'
     echo 'graph_args --base 1024 -l 0'
-    echo 'graph_vlabel MB per ${graph_period} read+written'
+    echo 'graph_vlabel kB per ${graph_period} read+written'
     echo 'graph_category disk'
     echo 'graph_info This graph shows the I/O to and from block devices'
     # We don't give a XXXX about device or extended
@@ -56,13 +56,11 @@ if [ "$1" = "config" ]; then
     for d in $drives; do
        echo "${d}_read.label ${d}"
        echo "${d}_read.type DERIVE"
-       echo "${d}_read.max 2000"
        echo "${d}_read.min 0"
        echo "${d}_read.graph no"
        echo "${d}_write.label ${d}"
        echo "${d}_write.info I/O on device ${d}"
        echo "${d}_write.type DERIVE"
-       echo "${d}_write.max 2000"
        echo "${d}_write.min 0"
        echo "${d}_write.negative ${d}_read"
     done

Youez - 2016 - github.com/yon3zu
LinuXploit