I wrote the below script to determine how my system is holding up against various games. It checks all the vitals (GPU, RAM, and CPU) and then appends the data to a log file. Is this a reasonable approach or is there an easier, more efficient way to do this? Any suggestions to improve the script?load=$(aticonfig --odgc | grep 'GPU load')temp=$(aticonfig --odgt | grep Sensor)date=$(date)free=$(free -h)cpus=$(top -bn 1 | grep Cpu)printf '%s\n%s\n%s\n\n%s\n%s\n\n' $date $load $temp $free $cpus >> performance_logI use watch -n60 command to execute the script.Thank you.
How to monitor system performance over time
bash;performance;monitoring