Performance Monitoring script

This is a script which can collect perfomance statistics at desired intervals and convert the output into a CSV report which you can then import into a spreadsheet or database for further analysis. It uses standard unix utilities (iostat, vmstat, netstat, uptime) and has been tested on Linux and Solaris systems.
 
 
Copyright: Mark Boddington 2006 
 
The script is used in two ways. Either data collection or data conversion ( to csv ). You will need to open the script and set the variables to fit your system. You will need to set the number of disks you have, the location to write the log/csv files to and the amount of time to sleep between samples.
 
Collect statistics run == $ performanceMonitor.sh run
Convert to CSV  run == $ performanceMonitor.sh csv YYYYMMDD