Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 072008
 

Install sysstat for basic system monitoring

Answer:

sysstat is a very useful and minimal tool for basic system resources monitoring, e.g. system load average, memory usage, I/O utilization etc.

To install in Ubuntu,

# sudo apt-get install sysstat

To configure sysstat so it run continuously (as cron)

# sudo dpkg-reconfigure sysstat

Wait sometimes and try the following commands to see the collected statistics,

E.g.

1. Check system load average

# sar -q

2. Check memory usage

# sar -r

For more options,

# man sar