ampere_research/trilinos/power.sh.old

3 lines
101 B
Bash
Raw Normal View History

2024-10-22 00:49:37 -04:00
#! /bin/bash
sensors | awk '/CPU power:/ {printf "Socket"++count[$1] " "; print $3}' >> power.output