Crates.io | joule |
lib.rs | joule |
version | 0.2.0 |
source | src |
created_at | 2022-01-01 19:58:31.656653 |
updated_at | 2022-01-06 20:22:12.400988 |
description | A CLI tool to monitor the energy consumption |
homepage | |
repository | https://github.com/jdrouet/joule |
max_upload_size | |
id | 506292 |
size | 19,559 |
This CLI tool was made for monitoring the energy consumption, by taking energy snapshots of the CPU at a given point in time.
# clone the repository
git clone https://github.com/jdrouet/joule
# go into the repository folder
cd joule
# build it
cargo build --release
# use it
sudo ./target/release/joule snapshot path/to/first-snapshot.json
sudo ./target/release/joule snapshot path/to/second-snapshot.json
./target/release/joule compare path/to/first-snapshot.json path/to/second-snapshot.json
You need to be a super user to execute the snapshot
command, to access the powercap files.
⚠️ This package has nothing related to any French person ⚠️