gitorious-munin-plugins 0.9.21 → 0.9.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ module GitoriousMuninPlugins
2
+ class MemoryGauge
3
+ def by_pid(pidfile)
4
+ if pidfile.exist?
5
+ pid = pidfile.read.chomp
6
+ command = "ps -p #{pid} -o vsize | grep '[0-9]'"
7
+ result = `#{command}`
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module GitoriousMuninPlugins
2
- VERSION = "0.9.21"
2
+ VERSION = "0.9.22"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitorious-munin-plugins
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 21
10
- version: 0.9.21
9
+ - 22
10
+ version: 0.9.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marius Mathiesen
@@ -79,6 +79,7 @@ files:
79
79
  - lib/gitorious-munin-plugins/cli.rb
80
80
  - lib/gitorious-munin-plugins/config.rb
81
81
  - lib/gitorious-munin-plugins/database.rb
82
+ - lib/gitorious-munin-plugins/memory_gauge.rb
82
83
  - lib/gitorious-munin-plugins/plugin.rb
83
84
  - lib/gitorious-munin-plugins/plugins/git_proxy.rb
84
85
  - lib/gitorious-munin-plugins/plugins/gitorious_clones.rb