Unable to stop percona agent

Hi All,

I am not able to stop/start/restart pmm-admin in PMM2 client.

pmm-admin restart --all
pmm-admin: error: expected command but got “restart”, try --help

Same error for stop/start , the commands are not recognized, how can restart the services in this version PMM2?

Thanks in advance

1 Like

Hi, the proper way is through systemctl:

systemctl pmm-agent stop
systemctl pmm-agent start

1 Like

Typo, the command is:

systemctl stop pmm-agent
systemctl start pmm-agent
1 Like

Perfect Thanks a lot.

1 Like