Skip to content

Instantly share code, notes, and snippets.

@goffinet
Created June 13, 2016 19:35
Show Gist options
  • Save goffinet/4e9622dee0dc1d4a2a7692ef7ece8224 to your computer and use it in GitHub Desktop.
Save goffinet/4e9622dee0dc1d4a2a7692ef7ece8224 to your computer and use it in GitHub Desktop.
stress-ng stress tool compilation and installation
#!/bin/bash
yum -y install git || apt-get install git
yum -y groupinstall 'Development Tools' || apt-get install build-essential git
cd /tmp
git clone git://kernel.ubuntu.com/cking/stress-ng.git
cd stress-ng
make
cp stress-ng /usr/bin
rm -rf /tmp/stress-*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment