https://github.com/rudolfolah/proc-watch
proc-watch is a tool for monitoring processes and logging their CPU and memory usage.
https://github.com/rudolfolah/proc-watch
process-monitor process-monitoring process-watcher prometheus-metrics prometheus-monitoring-solution python
Last synced: 3 months ago
JSON representation
proc-watch is a tool for monitoring processes and logging their CPU and memory usage.
- Host: GitHub
- URL: https://github.com/rudolfolah/proc-watch
- Owner: rudolfolah
- License: other
- Created: 2023-09-04T17:04:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-13T12:48:38.000Z (10 months ago)
- Last Synced: 2025-01-03T02:51:22.467Z (5 months ago)
- Topics: process-monitor, process-monitoring, process-watcher, prometheus-metrics, prometheus-monitoring-solution, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proc-watch


`proc-watch` is a tool for monitoring processes and logging their CPU and memory usage.
Copyright (C) 2023 Rudolf Olah
Licensed under Apache 2.0 license
## Local Dev
```bash
pyenv local
python -m venv .venv --prompt .
source .venv/bin/activate
pip install -r requirements.txt
```## [Prometheus exporting](https://github.com/prometheus/client_python)
The current method writes to a text file, the default path is `/tmp/proc_watch.prom`:```sh
less /tmp/proc_watch.prom
```