Crates.io | procweb-rust |
lib.rs | procweb-rust |
version | 0.1.3 |
source | src |
created_at | 2023-03-22 20:55:21.929663 |
updated_at | 2023-03-28 21:07:19.882402 |
description | A binary providing a web interface to monitor the resources used by a process on Linux. |
homepage | https://bugfreeblog.duckdns.org/ |
repository | |
max_upload_size | |
id | 817484 |
size | 2,012,146 |
Procweb is a process that can be run to monitor another process. Procweb runs and samples the process periodically retrieving these values:
Some of these values can be used to draw a chart. Procweb provides a web interface to display data.
Procweb can be used to monitor a process for memory leaks or unexpected behavior during many hours or days of work.
Procweb is a Rust-written process that can be run in background. The process provides a web interface written in TypeScript with Angular which represents data in time. Procweb stores samples without expiration, so it is possible to inspect old data. The web interface can be accessed at http://<ip_addr>:3000.
To use the crate, simply install it and run by passing the PID of a running process to monitor:
cargo install procweb-rust
procweb-rust 1234
Then open a browser and go to:
http://<ip-addr>:3000/