pgrep command doesn't exist in the latest pmm docker image
General
Escalation
General
Escalation
Description
Environment
None
Activity
Show:
Done
Created October 16, 2023 at 9:45 AM
Updated March 5, 2024 at 10:20 AM
Resolved October 18, 2023 at 10:35 AM
We need to use a workaround to avoid the need to use the
pgrep
orps
commands. Currently, we test for the existence ofpostgres
process with:The latest pmm docker image comes without
pgrep
orps
commands. suggested the following alternative: