Monitor Ubuntu with sysstat

Installing sysstat on Ubuntu

1. Install
apt-get install sysstat

2. Enable collection of system performance data
vi /etc/default/sysstat
set “ENABLED” to “true”.

3. Start the sysstat service
/etc/init.d/sysstat start

4. Take a look at performance data every 10 minutes.

If you'd like to change the interval (every 10 minutes) by which sysstat collects data.  You can change the interval by editing /etc/cron.d/sysstat


# Activity reports every 10 minutes everyday
5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1

# Activity reports every 5 minutes everyday
5-55/5 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1


Popular posts from this blog

ActiveMQ, easy to use open source message oriented middleware (MOM)

Basic Send Message to MQ with Java and IBM MQ JMS

Apache Apollo