Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

List top 20 CPU users in the cluster

Explorer

Hello,

Is there a way we can pull reports for top 20 cpu users in a clusters in last 24 hours send a report.

Thanks,

Azim

2 REPLIES 2

Guru

Hi @sbx_hadoop Azim,

You can do this via Grafana UI and Ambari Metrics, and even see it in action via the HDP Sandbox.

If you are using the Ambari Metrics system, ensure that the Grafana UI is started, and go to the UI via Ambari Metrics Service -> Quick Links -> Grafana UI. There is a prebuilt dashboard called System - Servers that has dashboards built for CPU Utilization by User and across the System. These can be exported as well using the menu on each individual tile to a CSV/JSON/etc

http://sandbox-hdp.hortonworks.com:3000/dashboard/db/system-servers

screen-shot-2017-11-29-at-94031-am.png

Explorer

Hello Sonu,

What I am looking for specific user in this chart I dont see a user , such as hive, hdfs or any other application is I see something as cpu_usr.
capture.jpg

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.