Crates.io | chronologger |
lib.rs | chronologger |
version | 1.0.1 |
source | src |
created_at | 2024-06-18 19:54:39.01471 |
updated_at | 2024-06-18 20:03:09.887865 |
description | Writes process CPU and memory usage to a CSV file |
homepage | https://github.com/the-chronomancer/chronologger |
repository | https://github.com/the-chronomancer/chronologger |
max_upload_size | |
id | 1275899 |
size | 35,214 |
ChronoLogger is a Rust command-line tool designed to log CPU and memory usage of processes to a CSV file at regular intervals.
cargo install chronologger
Run the application from the command line. Default values will be used if no arguments are provided.
chronologger
You can also specify the desired parameters. For example:
chronologger --interval 2 --output custom_output.csv --duration 120
-i, --interval
: Sets the logging interval in seconds. Default: 1-o, --output
: Sets the output CSV file. Default: 'process_usage.csv'-d, --duration
: Sets the maximum duration to run in seconds. Default: 60Run ChronoLogger with default parameters. This will write process information every second for 60 seconds and save it to process_usage.csv
.
chronologger
Write process information every 2 seconds for 120 seconds and save it to custom_output.csv
.
chronologger --interval 2 --output custom_output.csv --duration 120
Write process information for 10 seconds.
chronologger --duration 10
This software is released under the MIT License.
For support or contributions, please contact Jacob Coleman.