Are there any metrics to monitor process cpu usage?

530 views
Skip to first unread message

Yong Zhang

unread,
Jul 14, 2017, 4:57:21 AM7/14/17
to Prometheus Users
Hi, all

Are there any metrics to monitor process cpu usage from node exporter or some other exporters? I have some servers experiencing high cpu usage in a short time these days, but I can't find out which process caused high cpu load. Thanks. 

Ben Kochie

unread,
Jul 14, 2017, 5:19:06 AM7/14/17
to Yong Zhang, Prometheus Users
If you are using containers/cgroups, you can use cAdvisor[0] to expose cpu and memory resource information.

This would work with normal systemd service units as well, as long as you enable resource accounting[1].


On Fri, Jul 14, 2017 at 10:57 AM, Yong Zhang <hisca...@gmail.com> wrote:
Hi, all

Are there any metrics to monitor process cpu usage from node exporter or some other exporters? I have some servers experiencing high cpu usage in a short time these days, but I can't find out which process caused high cpu load. Thanks. 

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f45138b2-85ef-4d83-8e33-c403cbe6feff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages