Simple Linux stress test
Aug 26, 2024
How to verify the overhead of having AV on your server
#!/bin/bash
i=1
mkdir stest-dir 2>/dev/null
for f in $(find /usr/lib64 -type f | head -4096); do
/bin/stat $f > /dev/null &
/bin/cat $f > "stest-dir/filecopy_$i" &
done
rm -rf stest-dir