5 lines
137 B
Bash
Executable file
5 lines
137 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
cpu=$(sensors | grep 'Tctl' | head -n 1 | awk '{ print $2 }' | sed 's/\+\([0-9]\+\.\?[0-9]*\)/\1 /')
|
|
|
|
jo cpu="$cpu"
|