Skip to content

Instantly share code, notes, and snippets.

@ten0s
Last active August 29, 2015 14:17
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 ten0s/691a0cecebacfdaa7a1d to your computer and use it in GitHub Desktop.
Save ten0s/691a0cecebacfdaa7a1d to your computer and use it in GitHub Desktop.
make/setup tsung
cd ~/tmp
curl -O http://tsung.erlang-projects.org/dist/tsung-1.5.1.tar.gz
tar xfz tsung-1.5.1.tar.gz
cd tsung-1.5.1
./configure --prefix=/opt/tsung-1.5.1
make
sudo make install
for f in `ls /opt/tsung-1.5.1/bin`; do sudo ln -s /opt/tsung-1.5.1/bin/$f /usr/local/bin/$f; done
for f in `ls /opt/tsung-1.5.1/lib/tsung/bin`; do sudo ln -s /opt/tsung-1.5.1/lib/tsung/bin/$f /usr/local/bin/$f; done
cd ..
rm -rf tsung-1.5.1*
sudo cpan Template
sudo cpan JSON
tsung
Usage:
tsung -f send_sms.xml start
cd ~/.tsung/log/20150330-1604
tsung_stats
open report.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment