Skip to content

Instantly share code, notes, and snippets.

@vpnwall-services
Created November 24, 2020 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vpnwall-services/5610d02677037efc1376047ab0156c39 to your computer and use it in GitHub Desktop.
Save vpnwall-services/5610d02677037efc1376047ab0156c39 to your computer and use it in GitHub Desktop.
[Load/Stress Tests 101] Load/Stress Tests 101 #load #stress #tests #101 #test

Load Test RAM

stress-ng --vm-bytes $(awk '/MemFree/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k --vm-keep -m 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment