class Sidekiq::ProcessSet

def total_rss_in_kb

Returns:
  • (Integer) - total amount of RSS memory consumed by Sidekiq processes
def total_rss_in_kb
  sum { |x| x["rss"].to_i }
end