From 363e28371513aa506a7ec90d761cc8ca7b94ca5f Mon Sep 17 00:00:00 2001 From: Rudis Muiznieks Date: Thu, 13 Jun 2024 17:07:05 -0500 Subject: [PATCH] updated readme --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 00949cf..8d364ba 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,21 @@ -## System Information CLI +# sicli: System Information CLI Simple CLI to retrieve CPU, memory, and disk usage details as percentages. -### CPU usage +## Building + +Just clone, build, and copy the binary somewhere on your path. For example: + +``` +git clone https://code.sitosis.com/rudism/sicli.git +cd sicli +cargo build --release +sudo cp target/release/sicli /usr/bin/ +``` + +## Example Usage + +### CPU Prints the total usage across all cores as a percentage, then the number of cores, then the usage of each core as a percentage. @@ -11,7 +24,7 @@ Prints the total usage across all cores as a percentage, then the number of core 1.2 16 0.0 3.8 0.0 0.0 0.0 0.0 0.0 4.0 0.0 0.0 0.0 7.4 3.8 0.0 0.0 0.0 ``` -### Hard drive usage +### Hard drive Prints the total usage as a percentage, the total disk size, then the total available space. @@ -20,7 +33,7 @@ Prints the total usage as a percentage, the total disk size, then the total avai 63.0 1.968 0.728 ``` -### Memory usage +### Memory Prints the total usage as a percentage, the total memory, then the available memory.