gitlab-org--gitlab-foss/app/controllers/admin/background_jobs_controller.rb
2013-10-23 10:11:54 +03:00

5 lines
219 B
Ruby

class Admin::BackgroundJobsController < Admin::ApplicationController
def show
@sidekiq_processes = `ps -U #{Settings.gitlab.user} -o euser,pid,pcpu,pmem,stat,start,command | grep sidekiq | grep -v grep`
end
end