3 lines
101 B
Bash
3 lines
101 B
Bash
|
#! /bin/bash
|
||
|
sensors | awk '/CPU power:/ {printf "Socket"++count[$1] " "; print $3}' >> power.output
|