# How to get the cpu usage of a user process?

**URL:** https://discuss.elastic.co/t/how-to-get-the-cpu-usage-of-a-user-process/319919
**Category:** Beats
**Tags:** metricbeat
**Created:** [November 28, 2022, 8:46am UTC](https://discuss.elastic.co/t/how-to-get-the-cpu-usage-of-a-user-process/319919 "2022-11-28T08:46:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sourabh\_rawat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sourabh_rawat/32/113832_2.png) [@sourabh\_rawat](https://discuss.elastic.co/u/sourabh_rawat)
#### Post date: [November 28, 2022, 8:46am UTC](https://discuss.elastic.co/t/how-to-get-the-cpu-usage-of-a-user-process/319919/1 "2022-11-28T08:46:25Z")

</div>

Hi,  
I am trying to get the CPU usage of a process running in the user context but the process is not showing on the metrics overview page, I am able to get the details of processes which are running in the root context on Mac. I need the process detail in Windows, Linux and Mac.

Thanks!

---

<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: [December 26, 2022, 10:47am UTC](https://discuss.elastic.co/t/how-to-get-the-cpu-usage-of-a-user-process/319919/2 "2022-12-26T10:47:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
