server_metrics 0.0.8.6 → 0.0.8.7.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,7 +157,7 @@ class ServerMetrics::Processes
|
|
157
157
|
# best thread I've seen on cutime vs utime & cstime vs stime: https://www.ruby-forum.com/topic/93176
|
158
158
|
# * cutime and cstime include CPUusage of child processes
|
159
159
|
# * utime and stime don't include CPU usage of child processes
|
160
|
-
(
|
160
|
+
(cutime || 0) + (cstime || 0) # utime and stime aren't available on mac. Result is %cpu is 0 on mac.
|
161
161
|
end
|
162
162
|
# delegate everything else to ProcTable::Struct
|
163
163
|
def method_missing(sym, *args, &block)
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: server_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.8.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.8.7.pre
|
5
|
+
prerelease: 8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Andre Lewis
|
@@ -172,16 +172,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
segments:
|
174
174
|
- 0
|
175
|
-
hash:
|
175
|
+
hash: 2782727168826211888
|
176
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
177
|
none: false
|
178
178
|
requirements:
|
179
|
-
- - ! '
|
179
|
+
- - ! '>'
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version:
|
182
|
-
segments:
|
183
|
-
- 0
|
184
|
-
hash: -1938747791304012429
|
181
|
+
version: 1.3.1
|
185
182
|
requirements: []
|
186
183
|
rubyforge_project:
|
187
184
|
rubygems_version: 1.8.23
|