# Topbeat/metricbeat is not showing correct value for proc.cpu.user\_p

**URL:** <https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812>\
**Category:** Beats\
**Created:** [September 18, 2016, 2:21pm UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812 "2016-09-18T14:21:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Huy\_Hoang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/huy_hoang/32/19986_2.png) [@Huy\_Hoang](https://discuss.elastic.co/u/Huy_Hoang)\
**Post date:** [September 18, 2016, 2:21pm UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812/1 "2016-09-18T14:21:24Z")

</div>

Hi,

I am using elk stack version 5.0 and 1.3/5.0 for topbeat on centos 7. The problem is that the proc.cpu.user\_p is always \< 0.9. Normally, the values are showed as 0.0xx (0.001, 0,003 .v..v), I tried to run a heavy task on the instance but stil, the value stopped at 0.9. And with that heavy task, cloudwatch monitor (I use ec2 instance) gave me only ~45% CPU usage. Both topbeat and metricbeat have the same problem.

At first, I was thinking the proc.cpu.user\_p value is divided by 100 but seems like it's not the root cause. Please help!

 ![](https://us1.discourse-cdn.com/elastic/original/2X/2/2b34bb384db38469ab7c098a3d770f710d8abda8.png)

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [September 19, 2016, 8:04am UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812/2 "2016-09-19T08:04:23Z")

</div>

Which alpha version of metricbeat were you testing? The value for `user_p` with one processor will be between 0-1. So it kind of looks quite reasonable to have 90% usage peak above? The next version of metricbeat will have an `import_dashboard` script that will also load the index pattern for kibana, so Kibana will now it is a precentage value and will show it accordingly.

Can you compare your metrics with the top command. The load is always an average between to points in time. So in case metricbeat checks every 10s but Cloudwatch checks every minute, the averages can be different.

---

<div class="post-metadata">

**Author:** ![Huy\_Hoang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/huy_hoang/32/19986_2.png) [@Huy\_Hoang](https://discuss.elastic.co/u/Huy_Hoang)\
**Post date:** [September 19, 2016, 8:48am UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812/3 "2016-09-19T08:48:39Z")

</div>

Thanks, I have checked this with newrelic and cloudwatch again. Seems like it works perfectly :).

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [September 20, 2016, 6:28am UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812/4 "2016-09-20T06:28:03Z")

</div>

Thanks for double checking and reporting back.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 9, 2016, 2:21pm UTC](https://discuss.elastic.co/t/topbeat-metricbeat-is-not-showing-correct-value-for-proc-cpu-user-p/60812/5 "2016-10-09T14:21:34Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
