WizardKit/.linux_items/include/live/airootfs/usr/local/bin/hw-diags-prime95
2Shirt b9e5f1921f Reorganized include folders
* include/live is "burned" into the sfs files during build-arch
* include/iso is added to the iso folder before iso creation
* Added --copy-archiso flag to Build Linux
2017-12-12 11:34:05 -08:00

17 lines
286 B
Bash

#!/bin/bash
#
## HW diagnostics - Prime95
function usage {
echo "Usage: $0 log-dir"
echo " e.g. $0 /tmp/tmp.7Mh5f1RhSL9001"
}
# Bail early
if [ ! -d "$1" ]; then
usage
exit 1
fi
# Run Prime95
mprime -t | grep -iv --line-buffered 'stress.txt' | tee -a "$1/prime.log"