How can we check per process CPU utilization

Description:

How can I find per process CPU utilization? I would like to check the previous process utilization history in the PMM.

EX:
MariaDB - 50%
PostgteSQL - 60%
rundeck - 60%
java - 10%

We are looking at CPU, memory, I/O, load, latency, etc. history per process like this.

Hi @Naresh9999,
I don’t think PMM collects all the processes’c pu history. If you need that, you probably will have to use the manual metric insertion… something like using textfile exporter. Leaving some references below.
Thanks,
K.

@Naresh9999, this feature is not available out of the box yet. However, we are considering using GitHub - ncabatoff/process-exporter: Prometheus exporter that mines /proc to report on selected processes for this in the future. We don’t have an estimated time of arrival for this feature at the moment.

You can attempt to make this exporter work with PMM today using the External Services feature. Please refer to Tibi’s blog post on ValKey at How to Monitor Valkey/Redis with Percona Monitoring and Management. You can use a different exporter and try the process exporter there.

Please keep us posted on how this goes!

1 Like

Sure @Roma_Novikov

Thanks for the detailed information.

I will try to implement this and let you know.