adding readme
This commit is contained in:
parent
2e46eec537
commit
cd737f1032
17
README.md
17
README.md
@ -1,3 +1,18 @@
|
|||||||
# temp
|
# temp
|
||||||
|
|
||||||
Simple personal CLI to gather machine temperatures.
|
Simple personal CLI tool for monitoring temperatures.
|
||||||
|
|
||||||
|
You need to have ```nvidia-smi``` and ```lm-sensors``` configured and installed.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
### CPU (Only AMD)
|
||||||
|
Display the current temperature in Celsius.
|
||||||
|
```
|
||||||
|
temp cpu
|
||||||
|
```
|
||||||
|
### GPU (Only NVIDIA)
|
||||||
|
Display the current temperature in Celsius.
|
||||||
|
```
|
||||||
|
temp gpu
|
||||||
|
```
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@ use structopt::StructOpt;
|
|||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
#[structopt(
|
#[structopt(
|
||||||
name = "temp",
|
name = "temp",
|
||||||
about = "Simple personal CLI to gather machine temperatures."
|
about = "Simple personal CLI tool for monitoring temperatures."
|
||||||
)]
|
)]
|
||||||
pub enum Arguments {
|
pub enum Arguments {
|
||||||
#[structopt(about = "Temperature in Celsius, ONLY AMD")]
|
#[structopt(about = "Temperature in Celsius (Only AMD)")]
|
||||||
CPU,
|
CPU,
|
||||||
#[structopt(about = "Temperature in Celsius, ONLY NVIDIA")]
|
#[structopt(about = "Temperature in Celsius (Only NVIDIA)")]
|
||||||
GPU,
|
GPU,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user