ampere_research/trilinos/power.sh.old
2024-10-22 00:50:41 -04:00

3 lines
101 B
Bash
Executable File

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