Remote collection of vmstat log files
We've been doing a lot of load testing recently and are planning on doing a lot more, so we've developed a simple little script to make the collection of the vmstat (performance statistics) a bit quicker.
multivmstat is a php command line script which makes it easy to collect the statistics. Download the script
To run it you specify a list of servers to check:
./multivmstat server1,server2,server3 5
This will run vmstat on each of the servers with a 5 second interval between samples.
It will create the following files:
server1-vmstat.log
server2-vmstat.log
server3-vmstat.log
server2-vmstat.log
server3-vmstat.log
Note: You mush have ssh access to each machine - ideally with a certificate so that no interactive authentication is required.


There are no comments for this entry.
[Add Comment]