Commit 58cfc721 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add hungbysh script

parent adad9f71
#!/bin/sh
A=
echo "Preparing 12Mb var..."
for a in $(seq 0 9) ; do
A="$A$A$A$A$A$A$a"
echo -n "$a "
done
echo ": Size of the var: $(echo "$A" | wc -c)"
echo "Internal copying (upto 100Mb)..."
B=$A
C=$A
D=$A
E=$A
F=$A
G=$A
H=$A
free -t
# run next copy
# stop when will freeze due swap
timeout --foreground 60 $0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment