null+****@clear*****
null+****@clear*****
2010年 7月 10日 (土) 09:46:29 JST
Kouhei Sutou 2010-07-10 00:46:29 +0000 (Sat, 10 Jul 2010) New Revision: d8ac767cb97ab6cbf94f4e20321ee8cac951f8a2 Log: fix size unit. Modified files: data/munin/groonga_disk Modified: data/munin/groonga_disk (+1 -2) =================================================================== --- data/munin/groonga_disk 2010-07-09 14:40:13 +0000 (fc224cd) +++ data/munin/groonga_disk 2010-07-10 00:46:29 +0000 (39e628c) @@ -101,7 +101,6 @@ graph_vlabel Bytes graph_category groonga graph_info disk usage in groonga tables and columns graph_total Total -graph_args --base 1024 database.label Database database.type GAUGE @@ -128,7 +127,7 @@ EOF end path = Shellwords.shellescape(@path) -du_result = `#{@du} #{path}*` +du_result = `#{@du} -B1 #{path}*` unless $?.success? puts("error: #{du_result}") exit(false)