for CPU max load, stress
command you can use.
$ sudo apt-get install stress
$ stress --cpu `nproc`
and to test GPU with max load, refer this thread
for CPU max load, stress
command you can use.
$ sudo apt-get install stress
$ stress --cpu `nproc`
and to test GPU with max load, refer this thread