summaryrefslogtreecommitdiff
path: root/temp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'temp.sh')
-rwxr-xr-xtemp.sh7
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
-