Created
June 13, 2016 19:35
-
-
Save goffinet/4e9622dee0dc1d4a2a7692ef7ece8224 to your computer and use it in GitHub Desktop.
stress-ng stress tool compilation and installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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