#!/bin/bash echo "title: === dwaves.de v1.2 ===" echo "dates: date-creation: long-time-ago date-last-test: 2024-12-24 """ echo "what: simple sequential harddisk write and single core cpu benchmark" echo "requirements: apt install coreutils" echo "usage: in bash or sh run it like: time ./benchmark_md5sum.sh" echo "=== installed cpu:" lscpu | head cat /proc/cpuinfo | head echo "=== number of cores:" cat /proc/cpuinfo | grep "processor" | wc -l echo "=== generate 1GB test file"; dd if=/dev/zero of=md5sumTestFile count=1048576 bs=1024; echo "=== display filesize of generated testfile"; du -h md5sumTestFile; echo "=== running md5sum on testfile (single core)"; md5sum md5sumTestFile; # removing test file rm -rf md5sumTestFile;