Tools for monitoring performance and troubleshooting Ubuntu VPS web servers
- Munin – graphs of system resources over time. Very nice. Can be a bit difficult to setup.
- top – system stats
- iotop – like top, but for io stats. Install
sudo apt-get install iotop
iotop -b -o -d 30 -t
-b (batch – so you can keep a running tally of results) -o (only those processes with io) -d (delay and seconds – how often to print out stats) -t (include time in printout)
- vmstat – stats on memory, io, swap, cpu and system. Example:
(prints out stats every ten seconds.
sudo nano /var/log/apache2/error.log
Apache web server access log statistics
- Webalizer –
sudo apt-get install webalizer
GeoIP is required for webalizer
sudo apt-get install geoip-bin