yet-another-bench-script
yet-another-bench-script copied to clipboard
lscpu not present on alpine linux
trafficstars
ARM compatibility is considered *experimental*
Basic System Information:
---------------------------------
Uptime : 0 days, 0 hours, 9 minutes
bash: line 218: lscpu: command not found
Processor :
bash: line 224: lscpu: command not found
bash: line 225: lscpu: command not found
Maybe /proc/cpuinfo could be read instead? :thinking:
Thanks for the bug report! Looks like I need to do some better detection and error handling if lscpu isn't found. First thought is to determine if lscpu is a valid command on the host, if not, then fallback using /proc/cpuinfo if that exists, and if that isn't found either then gracefully handle the error.
Fixed in f05bd39