Changeset b1532549 for general/sysutils/sysstat.xml
- Timestamp:
- 03/19/2020 10:00:16 AM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- e68b588
- Parents:
- 09f0998
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/sysstat.xml
r09f0998 rb1532549 30 30 <title>Introduction to Sysstat</title> 31 31 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 36 cron to collect and historize performance and activity data.</para> 32 <para> 33 The <application>Sysstat</application> package contains utilities 34 to monitor system performance and usage activity. 35 <application>Sysstat</application> contains the <command>sar</command> 36 utility, common to many commercial Unixes, and tools you can schedule via 37 cron to collect and historize performance and activity data. 38 </para> 37 39 38 40 &lfs91_checked; … … 41 43 <itemizedlist spacing="compact"> 42 44 <listitem> 43 <para>Download (HTTP): <ulink url="&sysstat-download-http;"/></para> 44 </listitem> 45 <listitem> 46 <para>Download (FTP): <ulink url="&sysstat-download-ftp;"/></para> 47 </listitem> 48 <listitem> 49 <para>Download MD5 sum: &sysstat-md5sum;</para> 50 </listitem> 51 <listitem> 52 <para>Download size: &sysstat-size;</para> 53 </listitem> 54 <listitem> 55 <para>Estimated disk space required: &sysstat-buildsize;</para> 56 </listitem> 57 <listitem> 58 <para>Estimated build time: &sysstat-time;</para> 45 <para> 46 Download (HTTP): <ulink url="&sysstat-download-http;"/> 47 </para> 48 </listitem> 49 <listitem> 50 <para> 51 Download (FTP): <ulink url="&sysstat-download-ftp;"/> 52 </para> 53 </listitem> 54 <listitem> 55 <para> 56 Download MD5 sum: &sysstat-md5sum; 57 </para> 58 </listitem> 59 <listitem> 60 <para> 61 Download size: &sysstat-size; 62 </para> 63 </listitem> 64 <listitem> 65 <para> 66 Estimated disk space required: &sysstat-buildsize; 67 </para> 68 </listitem> 69 <listitem> 70 <para> 71 Estimated build time: &sysstat-time; 72 </para> 59 73 </listitem> 60 74 </itemizedlist> … … 62 76 <bridgehead renderas="sect3">Sysstat Dependencies</bridgehead> 63 77 64 <para>There are no build-time requirements for this package; however, 65 it is designed to be controlled by a cron daemon such as 66 <xref linkend="fcron"/>.</para> 78 <para role="recommended"> 79 There are no build-time requirements for this package; however, 80 it is designed to be controlled by a cron daemon such as 81 <xref linkend="fcron" role="runtime"/>. 82 </para> 67 83 68 84 <para condition="html" role="usernotes">User Notes: … … 74 90 <title>Installation of Sysstat</title> 75 91 76 <para>Install <application>Sysstat</application> by running the 77 following commands:</para> 92 <para> 93 Install <application>Sysstat</application> by running the 94 following commands: 95 </para> 78 96 79 97 <screen><userinput>sa_lib_dir=/usr/lib/sa \ … … 84 102 make</userinput></screen> 85 103 86 <para>This package does not come with a test suite.</para> 87 88 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 104 <para> 105 This package does not come with a test suite. 106 </para> 107 108 <para> 109 Now, as the <systemitem class="username">root</systemitem> user: 110 </para> 89 111 90 112 <screen role="root"><userinput>make install</userinput></screen> … … 109 131 <title>Command Explanations</title> 110 132 111 <para><envar>sa_lib_dir</envar>: This environment variable specifies the 112 location of the package-specific library directory.</para> 113 114 <para><envar>sa_dir</envar>: This environment variable specifies the 115 location of the directory containing the data files.</para> 116 117 <para><envar>conf_dir</envar>: This environment variable specifies the 118 location of the system configuration directory.</para> 119 120 <para><parameter>--disable-file-attr</parameter>: Do not set attributes on 121 files being installed. This parameter causes the installation to ignore the 122 man group variable resulting in the man files having 123 <systemitem class="username">root</systemitem>: 124 <systemitem class="groupname">root</systemitem> ownership.</para> 125 126 <note><para>Run <command>./configure --help</command> to see other influential 127 environment variables you can pass to <command>configure</command>. You may 128 want to use the <envar>history</envar> and <envar>compressafter</envar> 129 variables to customize the amount of data files kept on the system.</para></note> 133 <para> 134 <envar>sa_lib_dir</envar>: This environment variable specifies the 135 location of the package-specific library directory. 136 </para> 137 138 <para> 139 <envar>sa_dir</envar>: This environment variable specifies the 140 location of the directory containing the data files. 141 </para> 142 143 <para> 144 <envar>conf_dir</envar>: This environment variable specifies the 145 location of the system configuration directory. 146 </para> 147 148 <para> 149 <parameter>--disable-file-attr</parameter>: Do not set attributes on 150 files being installed. This parameter causes the installation to ignore 151 the man group variable resulting in the man files having 152 <systemitem class="username">root</systemitem>: 153 <systemitem class="groupname">root</systemitem> ownership. 154 </para> 155 156 <note> 157 <para> 158 Run <command>./configure --help</command> to see other influential 159 environment variables you can pass to <command>configure</command>. 160 You may want to use the <envar>history</envar> and 161 <envar>compressafter</envar> variables to customize the amount of data 162 files kept on the system. 163 </para> 164 </note> 130 165 131 166 </sect2> … … 154 189 <title>Cron Information</title> 155 190 156 <para>To begin gathering <application>Sysstat</application> history 157 information, you must add to, or create a privileged user's crontab. The 158 history data location is 159 <filename class="directory">/var/log/sa</filename>. The user running 160 <application>Sysstat</application> utilities via cron must have write 161 access to this location.</para> 162 163 <para>Below is an example of what to install in the crontab. Adjust the 164 parameters to suit your needs. Use <command>man sa1</command> and 165 <command>man sa2</command> for information about the commands.</para> 191 <para> 192 To begin gathering <application>Sysstat</application> history 193 information, you must add to, or create a privileged user's crontab. 194 The history data location is 195 <filename class="directory">/var/log/sa</filename>. The user running 196 <application>Sysstat</application> utilities via cron must have write 197 access to this location. 198 </para> 199 200 <para> 201 Below is an example of what to install in the crontab. Adjust the 202 parameters to suit your needs. Use <command>man sa1</command> and 203 <command>man sa2</command> for information about the commands. 204 </para> 166 205 167 206 <screen><literal># 8am-7pm activity reports every 10 minutes during weekdays … … 177 216 5 19 * * * /usr/lib/sa/sa2 -A &</literal></screen> 178 217 179 <para>Ensure you submit the revised crontab to the cron daemon.</para> 218 <para> 219 Ensure you submit the revised crontab to the cron daemon. 220 </para> 180 221 181 222 </sect3> … … 188 229 </indexterm> 189 230 190 <para revision="sysv">At system startup, a LINUX RESTART message must be 191 inserted in the daily data file to reinitialize the kernel counters. This 192 can be automated by installing the 193 <filename>/etc/rc.d/init.d/sysstat</filename> init script included in the 194 <xref linkend="bootscripts"/> package using the following command as the 195 <systemitem class="username">root</systemitem> user:</para> 231 <para revision="sysv"> 232 At system startup, a LINUX RESTART message must be 233 inserted in the daily data file to reinitialize the kernel counters. 234 This can be automated by installing the 235 <filename>/etc/rc.d/init.d/sysstat</filename> init script included in 236 the <xref linkend="bootscripts"/> package using the following command 237 as the <systemitem class="username">root</systemitem> user: 238 </para> 196 239 197 240 <screen role="root" revision="sysv"><userinput>make install-sysstat</userinput></screen> 198 241 199 <para revision="systemd">At system startup, a LINUX RESTART message must 200 be inserted in the daily data file to reinitialize the kernel counters. 201 This can be automated by enabling the previously installed systemd unit 202 by running the following command as the 203 <systemitem class="username">root</systemitem> user:</para> 242 <para revision="systemd"> 243 At system startup, a LINUX RESTART message must 244 be inserted in the daily data file to reinitialize the kernel counters. 245 This can be automated by enabling the previously installed systemd unit 246 by running the following command as the 247 <systemitem class="username">root</systemitem> user: 248 </para> 204 249 205 250 <screen role="root" revision="systemd"><userinput>systemctl enable sysstat</userinput></screen> … … 235 280 <term><command>cifsiostat</command></term> 236 281 <listitem> 237 <para>displays statistics about read and write operations on CIFS 238 filesystems.</para> 282 <para> 283 displays statistics about read and write operations on CIFS 284 filesystems. 285 </para> 239 286 <indexterm zone="sysstat cifsiostat"> 240 287 <primary sortas="b-cifsiostat">cifsiostat</primary> … … 246 293 <term><command>iostat</command></term> 247 294 <listitem> 248 <para>reports CPU statistics and input/output 249 statistics for devices and partitions.</para> 295 <para> 296 reports CPU statistics and input/output 297 statistics for devices and partitions. 298 </para> 250 299 <indexterm zone="sysstat iostat"> 251 300 <primary sortas="b-iostat">iostat</primary> … … 257 306 <term><command>mpstat</command></term> 258 307 <listitem> 259 <para>writes activities for each available processor.</para> 308 <para> 309 writes activities for each available processor. 310 </para> 260 311 <indexterm zone="sysstat mpstat"> 261 312 <primary sortas="b-mpstat">mpstat</primary> … … 267 318 <term><command>pidstat</command></term> 268 319 <listitem> 269 <para>is used for monitoring individual tasks currently being managed 270 by the Linux kernel.</para> 320 <para> 321 is used for monitoring individual tasks currently being managed 322 by the Linux kernel. 323 </para> 271 324 <indexterm zone="sysstat pidstat"> 272 325 <primary sortas="b-pidstat">pidstat</primary> … … 278 331 <term><command>sadf</command></term> 279 332 <listitem> 280 <para>is used for displaying the contents of data files created by 281 the <command>sar</command> command. But unlike 282 <command>sar</command>, <command>sadf</command> can write its data 283 in many different formats.</para> 333 <para> 334 is used for displaying the contents of data files created by 335 the <command>sar</command> command. But unlike 336 <command>sar</command>, <command>sadf</command> can write its data 337 in many different formats. 338 </para> 284 339 <indexterm zone="sysstat sadf"> 285 340 <primary sortas="b-sadf">sadf</primary> … … 291 346 <term><command>sar</command></term> 292 347 <listitem> 293 <para>is used for displaying the contents of elected cumulative activity 294 counters in the operating system.</para> 348 <para> 349 is used for displaying the contents of elected cumulative activity 350 counters in the operating system. 351 </para> 295 352 <indexterm zone="sysstat sar"> 296 353 <primary sortas="b-sar">sar</primary> … … 302 359 <term><command>tapestat</command></term> 303 360 <listitem> 304 <para>is used for monitoring the activity of tape drives connected to 305 a system.</para> 361 <para> 362 is used for monitoring the activity of tape drives connected to 363 a system. 364 </para> 306 365 <indexterm zone="sysstat tapestat"> 307 366 <primary sortas="b-tapestat">tapestat</primary>
Note:
See TracChangeset
for help on using the changeset viewer.