Skip to content

Commit

Permalink
Merge pull request #16480 from jrafanie/euwe_hack_uss_in_pss_column
Browse files Browse the repository at this point in the history
[EUWE] [POC] Store unique set size (USS) in the PSS column
  • Loading branch information
simaishi committed Dec 15, 2017
2 parents f7f1c70 + 06030f3 commit 917b22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gems/pending/util/miq-process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def self.processInfo(pid = nil)
cpu_total /= MiqSystem.num_cpus
percent_cpu = (1.0 * result[:cpu_time]) / cpu_total
result[:percent_cpu] = round_to(percent_cpu * 100.0, 2)
result[:proportional_set_size] = Sys::ProcTable.ps(pid).smaps.pss
result[:proportional_set_size] = Sys::ProcTable.ps(pid).smaps.uss
when :macosx
h = nil
begin
Expand Down

0 comments on commit 917b22f

Please sign in to comment.