An open API service indexing awesome lists of open source software.

https://github.com/gfrn/cpu-mon

Tool to poll for PID sys/usr CPU usage at high frequencies
https://github.com/gfrn/cpu-mon

cpu-usage monitoring-tool

Last synced: 8 months ago
JSON representation

Tool to poll for PID sys/usr CPU usage at high frequencies

Awesome Lists containing this project

README

          

# High Frequency CPU Monitor
Tool meant for aiding in monitoring singular process CPU loads. Polls /proc/ every n ms.

## Usage
`gcc monitorProc.c -o cpuMon`

`./cpuMon ParentPID SpawnedThread/ParentPID SpawnedThread2/ParentPID [...]` followed by a `p` for /proc/stat poll only mode or leave empty for main thread + spawned threads

Example: `./cpuMon 988 1233 1232 p` or `./cpuMon 988 1233 1232`