This is an old revision of the document!
# sysbench --help # sysbench --test=cpu run
# apt install stress-ng $ stress-ng -c 6 -t 600s $ top $ ps ax -o pcpu,pid,user,command --sort pcpu $ uptime linux$ cat /proc/loadavg
$ cat /proc/meminfo $ stress-ng -m 2 --vm-bytes 256M -t 600s $ ps ax -o vsize,pid,user,command --sort vsize
# cat /sys/block/sda/stat $ stress-ng -d 2 --hdd-bytes 2GB $ while true; do head -c 1G </dev/urandom >myfile;done $ while true; do grep -r `openssl rand -base64 12` /usr /var; done linux# iotop linux# apt install sysstat; iostat
# cat /sys/class/net/eth0/statistics/[rt]x_bytes # trafshow -n # tcptrack -i any -n linux# nethogs linux# ss -pantu | grep 5001