---
title: Per-CPU utilization
description: To investigate CPU consumption on a per-CPU basis, use the mpstat command with a time interval in seconds. For example:
component: pingauthorize
version: 10.1
page_id: pingauthorize:troubleshooting_pingauthorize_server:paz_per_cpu_utilization
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/troubleshooting_pingauthorize_server/paz_per_cpu_utilization.html
revdate: August 21, 2023
---

# Per-CPU utilization

To investigate CPU consumption on a per-CPU basis, use the `mpstat` command with a time interval in seconds. For example:

```
mpstat 5
```

On Linux systems, it might be necessary to add `-P``ALL` to the command. For example:

```
mpstat -P ALL 5
```

Among other things, this command shows the percentage of time each CPU has spent in user time, system time, and idle time. If the overall CPU utilization is relatively low but `mpstat` reports that one CPU has a much higher utilization than the others, there might be a significant bottleneck within the server, or the JVM might be performing certain types of garbage collection which cannot be run in parallel. On the other hand, if CPU utilization is relatively even across all CPUs, there is likely no such bottleneck, and the issue might be elsewhere.
