I'm trying to measure the total power draw of my PC using an external Kill A Watt meter. To get an accurate reading, I want to push the system to its maximum load (CPU and maybe GPU too) using a script. I’m open to solutions in any scripting language (e.g., Bash, PowerShell, Python, Go, Perl, etc.)
My goals:
- Must work on both Windows and Unix-like systems (e.g., Linux, macOS).
- Max out all CPU cores.
- Optionally, max out the GPU.
I'm not looking for software-based power monitoring. I just want to generate consistent full-load usage while I observe the wattage externally.
What’s the best approach or tool for this?