source: general/sysutils/sysstat.xml@ d0c67cbc

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d0c67cbc was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6192 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.0 KB
RevLine 
[f384a9d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[f384a9d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[155d664f]7 <!ENTITY sysstat-download-http "http://perso.wanadoo.fr/sebastien.godard/sysstat-&sysstat-version;.tar.bz2">
8 <!ENTITY sysstat-download-ftp "ftp://ibiblio.org/pub/linux/system/status/sysstat-&sysstat-version;.tar.bz2">
[f6de4477]9 <!ENTITY sysstat-md5sum "99ed143d7e753f0b2220baa115859b44">
10 <!ENTITY sysstat-size "120 KB">
[6d5b743]11 <!ENTITY sysstat-buildsize "1.9 MB">
[5ba48e8]12 <!ENTITY sysstat-time "less than 0.1 SBU">
[f384a9d]13]>
14
15<sect1 id="sysstat" xreflabel="Sysstat-&sysstat-version;">
[eb2cf83a]16 <?dbhtml filename="sysstat.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Sysstat-&sysstat-version;</title>
24
25 <indexterm zone="sysstat">
26 <primary sortas="a-Sysstat">Sysstat</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Sysstat</title>
31
[481b3e8]32 <para>The <application>Sysstat</application> package contains utilities
33 to monitor system performance and usage activity.
34 <application>Sysstat</application> contains the <command>sar</command>
35 utility, common to many commercial Unixes, and tools you can schedule via
[eb2cf83a]36 cron to collect and historize performance and activity data.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&sysstat-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&sysstat-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &sysstat-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &sysstat-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &sysstat-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &sysstat-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Sysstat Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Recommended</bridgehead>
[56762b82]63 <para role="recommended"><xref linkend="fcron"/></para>
[eb2cf83a]64
[1039de3]65 <para condition="html" role="usernotes">User Notes:
66 <ulink url="&blfs-wiki;/sysstat"/></para>
67
[eb2cf83a]68 </sect2>
69
70 <sect2 role="installation">
71 <title>Installation of Sysstat</title>
72
[481b3e8]73 <para>Install <application>Sysstat</application> by running the
[eb2cf83a]74 following commands:</para>
75
76<screen><userinput>make config &amp;&amp;
77make</userinput></screen>
78
[5ba48e8]79 <para>This package does not come with a test suite.</para>
80
[eb2cf83a]81 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
82
[e99fce3f]83<screen role="root"><userinput>make install &amp;&amp;
84install -v -m644 sysstat.sysconfig /etc/sysconfig/sysstat</userinput></screen>
[eb2cf83a]85
86 </sect2>
87
88 <sect2 role="commands">
89 <title>Command Explanations</title>
90
[481b3e8]91 <para><command>make config</command>: Runs the interactive configuration
92 process. The first question prompts you for an
93 <quote><computeroutput>Installation directory</computeroutput></quote>.
[5ba48e8]94 Reply with <filename class="directory">/usr</filename>, as this is
95 equivalent to <application>Autoconf</application>'s
96 <option>--prefix=/usr</option> parameter to <command>configure</command>.
97 For all other prompts, you may press <keycap>Enter</keycap> to accept the
98 (very sane) defaults. When prompted for <quote><computeroutput>Number of
99 daily data files to keep: [7]</computeroutput></quote>, you may wish to
[e99fce3f]100 keep a larger number of files. Note that anything entered larger than 28
101 will result in 28 being used.</para>
[eb2cf83a]102
103 </sect2>
104
105 <sect2 role="configuration">
106 <title>Configuring Sysstat</title>
107
108 <sect3>
109 <title>Cron Information</title>
110
[481b3e8]111 <para>To begin gathering <application>Sysstat</application> history
112 information, you must add to, or create a privileged user's crontab. The
113 default history data location is
114 <filename class="directory">/var/log/sa</filename>. The user running
115 <application>Sysstat</application> utilities via cron must have write
[eb2cf83a]116 access to this location.</para>
117
118 <para>Below is an example of what to install in the crontab. Adjust the
119 parameters to suit your needs. Use <command>man sa1</command> and
120 <command>man sa2</command> for information about the commands.</para>
121
122<screen><literal># 8am-7pm activity reports every 10 minutes during weekdays
[f384a9d]1230 8-18 * * 1-5 /usr/lib/sa/sa1 600 6 &amp;
[481b3e8]124
[f384a9d]125# 7pm-8am activity reports every hour during weekdays
1260 19-7 * * 1-5 /usr/lib/sa/sa1 &amp;
[481b3e8]127
[f384a9d]128# Activity reports every hour on Saturday and Sunday
1290 * * * 0,6 /usr/lib/sa/sa1 &amp;
[481b3e8]130
[f384a9d]131# Daily summary prepared at 19:05
[eb2cf83a]1325 19 * * * /usr/lib/sa/sa2 -A &amp;</literal></screen>
133
134 <para>Ensure you submit the revised crontab to the cron daemon.</para>
135
136 </sect3>
137
138 <sect3 id="sysstat-init">
139 <title>System Startup Information</title>
140
141 <indexterm zone="sysstat sysstat-init">
142 <primary sortas="f-sysstat">sysstat</primary>
143 </indexterm>
144
[5ba48e8]145 <para>At system startup, a LINUX RESTART message must be inserted in the
146 daily data file to reinitialize the kernel counters. This can be
147 automated by installing the <filename>/etc/rc.d/init.d/sysstat</filename>
[5254d12]148 init script included in the <xref linkend="bootscripts"/>
[bccbdaea]149 package using the following command as the
[5ba48e8]150 <systemitem class="username">root</systemitem> user:</para>
[eb2cf83a]151
152<screen role="root"><userinput>make install-sysstat</userinput></screen>
153
154 </sect3>
155
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
[5ba48e8]167 <seg>iostat, mpstat, sar, sa1, sa2, sadc and sadf</seg>
[eb2cf83a]168 <seg>None</seg>
[bccbdaea]169 <seg>/usr/lib/sa, /usr/share/doc/sysstat-&sysstat-version; and
[5ba48e8]170 /var/log/sa</seg>
[eb2cf83a]171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="iostat">
180 <term><command>iostat</command></term>
181 <listitem>
[481b3e8]182 <para>reports CPU statistics and input/output
[eb2cf83a]183 statistics for devices and partitions.</para>
184 <indexterm zone="sysstat iostat">
185 <primary sortas="b-iostat">iostat</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="mpstat">
191 <term><command>mpstat</command></term>
192 <listitem>
[bccbdaea]193 <para>reports individual or combined processor related
[5ba48e8]194 statistics.</para>
[eb2cf83a]195 <indexterm zone="sysstat mpstat">
196 <primary sortas="b-mpstat">mpstat</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="sar">
202 <term><command>sar</command></term>
203 <listitem>
[bccbdaea]204 <para> collects, reports and saves system activity
[5ba48e8]205 information.</para>
[eb2cf83a]206 <indexterm zone="sysstat sar">
207 <primary sortas="b-sar">sar</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="sa1">
213 <term><command>sa1</command></term>
214 <listitem>
[481b3e8]215 <para>collects and stores binary data in the system activity daily
[5ba48e8]216 data file. It is a front end to <filename>sadc</filename> designed
217 to be run from cron.</para>
[eb2cf83a]218 <indexterm zone="sysstat sa1">
219 <primary sortas="b-sa1">sa1</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="sa2">
225 <term><command>sa2</command></term>
226 <listitem>
[481b3e8]227 <para>writes a summarized daily activity report. It is a front end
[eb2cf83a]228 to <command>sar</command> designed to be run from cron.</para>
229 <indexterm zone="sysstat sa2">
230 <primary sortas="b-sa2">sa2</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry id="sadc">
236 <term><command>sadc</command></term>
237 <listitem>
[481b3e8]238 <para>is the system activity data collector, used as a backend for
[eb2cf83a]239 <command>sar</command>.</para>
240 <indexterm zone="sysstat sadc">
241 <primary sortas="b-sadc">sadc</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
[5ba48e8]246 <varlistentry id="sadf">
247 <term><command>sadf</command></term>
248 <listitem>
249 <para>is used for displaying the contents of data files created by
250 the <command>sar</command> command. But unlike
251 <command>sar</command>, <command>sadf</command> can write its data
252 in many different formats.</para>
253 <indexterm zone="sysstat sadf">
254 <primary sortas="b-sadf">sadf</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
[eb2cf83a]259 </variablelist>
260
261 </sect2>
[f384a9d]262
263</sect1>
Note: See TracBrowser for help on using the repository browser.