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