Skip to content

Commit

Permalink
Show USS instead of PSS in rake evm:status
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Nov 30, 2017
1 parent fb439ed commit 6175e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/evm_application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def self.output_servers_status(servers)
s.drb_uri,
s.started_on && s.started_on.iso8601,
s.last_heartbeat && s.last_heartbeat.iso8601,
(mem = (s.proportional_set_size || s.memory_usage)).nil? ? "" : mem / 1.megabyte,
(mem = (s.unique_set_size || s.memory_usage)).nil? ? "" : mem / 1.megabyte,
s.is_master,
s.active_role_names.join(':'),
]
Expand All @@ -104,7 +104,7 @@ def self.output_workers_status(servers)
w.queue_name || w.uri,
w.started_on && w.started_on.iso8601,
w.last_heartbeat && w.last_heartbeat.iso8601,
(mem = (w.proportional_set_size || w.memory_usage)).nil? ? "" : mem / 1.megabyte]
(mem = (w.unique_set_size || w.memory_usage)).nil? ? "" : mem / 1.megabyte]
end
end

Expand Down

0 comments on commit 6175e02

Please sign in to comment.