server_metrics 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.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.2
2
+
3
+ * Also grouping under kthread (one d vs. 2 ds)
4
+
1
5
  ## 1.0.1
2
6
 
3
7
  * Grouping kthreadd's children together under the comm "kthreadd"
@@ -255,7 +255,7 @@ module SysLite
255
255
  @kthreadd.stime += struct.stime
256
256
  @kthreadd.rss += struct.rss
257
257
  next
258
- elsif struct.comm == 'kthreadd'
258
+ elsif !@kthreadd and %w(kthread kthreadd).include?(struct.comm)
259
259
  @kthreadd = struct
260
260
  next
261
261
  end
@@ -1,3 +1,3 @@
1
1
  module ServerMetrics
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: