Files
gitlabhq/app/controllers/admin/background_jobs_controller.rb
T

6 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