gitlab-org--gitlab-foss/app/controllers/admin/background_jobs_controller.rb

6 lines
219 B
Ruby
Raw Normal View History

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