# CPU monitoring


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

<a
href="https://github.com/cj-mills/cjm-fasthtml-sysmon/blob/main/cjm_fasthtml_sysmon/monitors/cpu.py#L12"
target="_blank" style="float:right; font-size:smaller">source</a>

### get_cpu_info

>  get_cpu_info ()

*Get current CPU usage information.*

``` python
get_cpu_info()
```

    {'percent': 0.6,
     'percent_per_core': [0.0,
      9.1,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      9.1,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      18.2,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0,
      0.0],
     'frequency_current': 3059.68496875,
     'frequency_min': 2982.0,
     'frequency_max': 5756.0}
