<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Redhat%3A_System_Status_Reports</id>
	<title>Redhat: System Status Reports - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Redhat%3A_System_Status_Reports"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Redhat:_System_Status_Reports&amp;action=history"/>
	<updated>2026-05-05T00:06:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Redhat:_System_Status_Reports&amp;diff=3318&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;== System Status Service ==  To install the system status service install the sysstat package.  Sysstat is a regular service with a script in the /etc/init.d directory.  It is...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Redhat:_System_Status_Reports&amp;diff=3318&amp;oldid=prev"/>
		<updated>2013-08-25T16:29:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== System Status Service ==  To install the system status service install the sysstat package.  Sysstat is a regular service with a script in the /etc/init.d directory.  It is...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== System Status Service ==&lt;br /&gt;
&lt;br /&gt;
To install the system status service install the sysstat package.&lt;br /&gt;
&lt;br /&gt;
Sysstat is a regular service with a script in the /etc/init.d directory.  It is cron job that runs a regular basis and is defined in /etc/cron.d.&lt;br /&gt;
&lt;br /&gt;
The Sysstat service has two directives in /etc/sysconfig/sysstat:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
HISTORY=7&lt;br /&gt;
COMPRESSAFTER=10&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will keep the  sysstats for the past severn days.  It will then compress the log files after 10 days.  In this case the files will be deleted before they are compressesed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sysstat Cron Job ==&lt;br /&gt;
&lt;br /&gt;
The Sysstat package includes a cron job that runs every 10 minutes by the root user. The job runs the sa1 command.  The second command runs the sa2 command every day and seven minutes to midnight. These two commands produce a daily report.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Prepare a System Status Report ==&lt;br /&gt;
&lt;br /&gt;
The binary log files produced by the cron job are stored in /var/log/sa/sa* The sadf command is used to create a report based in these files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
sadf -s 00:00:01 -e 23:59:59 /var/log/sa/sa21 &amp;gt; activity10&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command produces a report based on the stats from the 21 day including everything between the start and end times.&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>