Move parsing of sidekiq ps into helper
What does this MR do?
- Moves splitting of
ps
result to helper. - Users a regexp to extract the different parts
Are there points in the code the reviewer needs to double check?
The result of ps
at least depends on the LANG and the distance of start to now (start time then the day + hour then month+day)
I've tested with LANG=en_US.UTF-8 and LANG=de_CH.UTF-8
I don't know if it also differs across OS?
Why was this MR needed?
See #20632 (closed)
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together