Table of Contents

Produce And Deliver Reports On System Utilization Processor Memory Disk And Network

General Information

System utilization reporting.


Lab Setup

The following virtual machines will be used:


Help

Finding help in this section.


Dstat

Dstat is good for real time monitoring and reporting.


Install

yum install dstat


Running dstat with default options

dstat


Write stats to a file/report

dstat -tcdm --output system-stats.csv

Sysstat

Sysstat runs periodically and provides historical statistics.

See here for more sar commands.


Install

yum install sysstat


Sysstat config file


Cron jobs


System activity log files


View info now from a system activity file

sar -urd -f /var/log/sa/sa01


Semi Colon Separated: Print data from a system activity file, redirect to a file to view later

sadf -d /var/log/sa/sa01 -- -urd -n DEV > system-stats.txt