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 +3 -1
- data/lib/recmon/diskspace-sensor.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -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 -
|
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:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
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:
|