pgrep command doesn't exist in the latest pmm docker image

Description

We need to use a workaround to avoid the need to use the pgrep or ps commands. Currently, we test for the existence of postgres process with:

The latest pmm docker image comes without pgrep or ps commands. suggested the following alternative:

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Found by Automation

Yes

Needs QA

Yes

Components

Priority

Smart Checklist

Created October 16, 2023 at 9:45 AM
Updated March 5, 2024 at 10:20 AM
Resolved October 18, 2023 at 10:35 AM