diff options
author | pks <pks@pks.rocks> | 2020-11-10 12:23:22 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2020-11-10 12:23:22 +0100 |
commit | a9e6dadf3a9ade7204e803e14dd7c7bac2aecef9 (patch) | |
tree | c215f08866ab1a096e6bcfa01b2a941dcef89050 /temp.sh | |
parent | 5549f662d63c1d016248e2b86422cae18a628a85 (diff) |
spoof-mac
Diffstat (limited to 'temp.sh')
-rwxr-xr-x | temp.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/temp.sh b/temp.sh deleted file mode 100755 index 49b8fbd..0000000 --- a/temp.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env zsh - -echo "CPU:$(sensors | grep Core | cut -d ' ' -f 10 | sed 's|°C||' | sed 's|+||' | awk '{x+=$1; next} END{printf "%3.0f\n", x/NR}')°C" -if [[ $(command -v nvidia-smi) == 0 ]]; then - echo "GPU: $(nvidia-smi | head -9 | tail -1 | cut -d " " -f 5 | sed 's|C||')°C" -fi - |