updated readme
This commit is contained in:
parent
8fdd8176fa
commit
363e283715
21
README.md
21
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.
|
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.
|
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
|
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.
|
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
|
63.0 1.968 0.728
|
||||||
```
|
```
|
||||||
|
|
||||||
### Memory usage
|
### Memory
|
||||||
|
|
||||||
Prints the total usage as a percentage, the total memory, then the available memory.
|
Prints the total usage as a percentage, the total memory, then the available memory.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue