A simple bash script to generate server load snapshot for later investigation
- install git client -
yum install git
orapt-get install git
cd /opt
git clone git://github.com/horzadome/loadsnap.git
ln -s /opt/loadsnap/loadsnap.sh /usr/bin/loadsnap
crontab -e
- append this line to crontab and save
*/5 * * * * /opt/loadsnap/monitor.sh
- configure OS section in /opt/loadsnap/loadsnap.conf , everything else can be left on default
- run command
loadsnap
- by default reports are saved to /opt/loadsnap/reports/$timestamp - Advanced configuration
- Requirements
- Tips
- Wiki
- GitHub repo
If you use it, and feel like buying me a beer, feel free to do so. I like all beer :) If you don't, then don't :D If you would like me to make html or xml reports, or check why your server is slow, feel free to contact me at horzadome at gmail Be warned, this is under development and is not expected to yield the expected results :)