Commit d5b25941 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #5345 from jojosch/sidekiq-running-procs-infopage

Show only processes owned by the GitLab user on the Admin-Sidekiq page
parents 591421e8 5b0abbcb
......@@ -3,7 +3,7 @@
.ui-box
%iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}
%h4 Sidekiq running processes
- sidekiq_processes = `ps -eo euser,pid,pcpu,pmem,stat,start,command | grep sidekiq | grep -v grep`
- sidekiq_processes = `ps -U #{Settings.gitlab.user} -o euser,pid,pcpu,pmem,stat,start,command | grep sidekiq | grep -v grep`
- if sidekiq_processes.empty?
%b There are no running sidekiq processes
%b Please restart GitLab
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment