recmon 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,6 +1,8 @@
1
+ == Version 1.0.2
2
+ - Fixed du syntax
3
+
1
4
  == Version 1.0.1
2
5
  - Added filesize monitor.
3
6
 
4
-
5
7
  == Version 1.0.0
6
8
  - Initial publication
@@ -17,7 +17,7 @@ class DiskspaceSensor < Sensor
17
17
  # Called by Monitor. Executes du(1) to determine the disk usage in Megabytes.
18
18
  def sense()
19
19
  begin
20
- size = `sudo /usr/bin/du -sm #{@path}`.to_i().to_s()
20
+ size = `sudo /usr/bin/du -sk #{@path}`.to_i().to_s()
21
21
  rescue
22
22
  size = "unknown"
23
23
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recmon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan
@@ -72,7 +72,7 @@ rubyforge_project:
72
72
  rubygems_version: 1.8.24
73
73
  signing_key:
74
74
  specification_version: 3
75
- summary: Recmon is a host-based system monitor. It complements REC, the Ruby Event Correlator.
75
+ summary: Recmon is a host-based OpenBSD system monitor. It complements REC, the Ruby Event Correlator.
76
76
  test_files: []
77
77
 
78
78
  has_rdoc: