3 2021/06/07: Version 12.5.4 - Sebastien Godard (sysstat <at> orange.fr)
4 * [Nathan Scott]: PCP: Update sadf to use metadata matching the same
6 * [Parth Shah]: pidstat monitors and shows statistics at the end of the
7 program run with option -e, when no interval and count parameters
9 * pidstat: Simplify use of P_D_PID flag.
10 * Restore mode for iconfig file.
11 * Non regression tests updated.
12 * Various cosmetic fixes.
13 * NLS translations updated.
15 2021/02/14: Version 12.5.3 - Sebastien Godard (sysstat <at> orange.fr)
16 * Add Link Time Optimization (LTO) support.
17 * Fix LTO compilation warnings.
18 * sar: Fix return code sent by write_stats() function [12.4.3].
19 * sar/sadc: Dereference nr array pointer in struct activity [12.4.3].
20 * sadf: SVG: Make graphs discontinuous for disconnected devices
22 * sadf: SVG: Fix inadequate discontinuities in some graphs [12.4.3].
23 * sadf: Raw: Display number of items in debug mode even if it's zero.
24 * sadf: SVG: Use the <count> parameter entered on the command line
26 * sadf: SVG: Add 'debug' option.
27 * sadf: Update manual page.
28 * sar/sadc/sadf: Check untrusted values before use [12.4.3].
29 * sar/sadc: Don't use IFNAMSIZ value from <net/if.h> [12.4.3].
30 * sar/sadf: Test codes returned by functions.
31 * simtest: Update/enhance simulation tests environment.
32 * simtest: Add new non regression tests (USB statistics, ...)
33 * Makefile: Define TEST flag when making simulation tests [12.4.3].
34 * Makefile: Add copyyear target to make it easier to update year in (C)
36 * Update NLS translations [12.4.3].
37 * Cosmetic changes in code. Some dead code removed. Code simplified.
38 * irqstat: Sync with upstream version (1.0.1-pre).
40 2020/12/19: Version 12.5.2 - Sebastien Godard (sysstat <at> orange.fr)
41 * [Aleksei Nikiforov]: Fix alignment and structure size for 32-bit
43 * Fix metric's name in sar -y output: txmtin -> xmtin [12.4.2].
44 * FAQ: Add links to markdown file [12.4.2].
45 * [Tim Gates]: sar.c: Fix typo in comment [12.4.2].
46 * simtest: Create a 32 bit version of sar and sadc. This is to make
47 sure that datafiles created by 32 and 64 bit versions of sadc can
48 be used on both architectures.
49 * simtest: Update non regression tests. Also add new tests.
50 * systest.c: Fix GCC warnings.
51 * NLS translations updated [12.4.2].
53 2020/11/21: Version 12.5.1 - Sebastien Godard (sysstat <at> orange.fr)
54 * sar/sadf: Make option -j work with filesystems statistics.
55 * sa1: Add "--rotate" option to make it easier to handle file rotation.
56 * [Petr Pavlu]: Workaround for iowait being decremented [12.4.1].
57 * [SacValleyTech]: Make sure setbuf() is the first operation
58 performed on stream [12.4.1].
59 * [Michal Berger]: Fix typo in PHYS_PACK_ID definition [12.4.1].
60 * sadc: Rework softnet stats reading procedure to make sure that all
61 lines from /proc/net/softnet_stat are actually read.
62 * sadc: Don't reallocate structures if buffers are large enough.
63 * configure: Fix option --disable-compress-manpg [12.4.1].
64 * sar: Update definition for runq-sz metric in manual page [12.4.1].
65 * iostat: Update manual page (explain "*_w+d*" fields) [12.4.1].
66 * iostat: Explain options -f/+f in manual page [12.4.1].
67 * [Nan Xiao]: mpstat: Add -T option in help message [12.4.1].
68 * [Nan Xiao]: mpstat: Fix typo in manual page [12.4.1].
69 * FAQ.md file: Add missing spaces at end of line [12.4.1].
71 * sa1 manual page updated.
72 * Add a sponsor button to GitHub page.
73 * systest: Small fix for array index value.
74 * Makefile: Rename object files used by sadc.
75 * Add new non regression tests and update some existing ones.
76 * Simplify/merge non regression tests.
77 * NLS translations updated.
79 2020/07/31: Version 12.4.0 - Sebastien Godard (sysstat <at> orange.fr)
80 * All commands: Display statistics in color by default when the
81 output is connected to a terminal.
82 * sar: Now pretty-print all device names by default (that is to
83 say, you no longer need to use option -p with option -d for that).
84 * cifsiostat, iostat, sar: Add new --pretty option (this option
85 makes the reports easier to read when long item names are used).
86 * iostat: No longer use sysstat.ioconf file to determine the name
87 of the devices. This file gave a wrong name for some devices
88 with big minor numbers.
89 * iostat, sar: Make device name consistent between both of them.
90 * configure: Add new option "--enable-use-crond" to use standard
91 cron daemon even if systemd is installed.
92 * configure: Use AC_COMPILE_IFELSE instead of old AC_TRY_COMPILE
93 macro. Remove other obsolete autoconf macros.
94 * configure: Add new option "delay_range=". Used by sa2 script
95 to wait for a random delay.
96 * configure: Fix --enable-debuginfo option.
97 * sa1: Insert a comment in daily datafile on system suspend/resume.
98 * sa2: Wait for a random delay before running to prevent massive
99 I/O burst on some systems.
100 * sar: Fix typo in manual page.
101 * sar, iostat, cifsiostat, mpstat, pidstat, tapestat and sa1 manual
103 * Update style for all manual pages.
104 * Compress manual pages by default when they are installed.
105 * Makefile: Remove all reports and data files (even those compressed
106 with another program than gzip) when told to do so.
107 * Add pcp help file to be used with iconfig script.
108 * Update Travis script (now calls do_test script).
109 * sadf: Output format which doesn't accept the use of option -T
110 should not also reject the use of option -t [12.2.3].
111 * [Tom Hebb]: Replace index() call with strchr() call [12.2.3].
112 * Use NULL as an argument for time(2) system call [12.2.3].
113 * Various cosmetic changes in code (comments updated, dead code
116 * Non regression environment updated. New tests added.
117 * Better handle big minor numbers in sysstat test code.
118 * Fix gcc V10 warnings in sysstat 12.0.1 code used for test.
120 2020/05/08: Version 12.3.3 - Sebastien Godard (sysstat <at> orange.fr)
121 * sar/sadc: Add new Pressure-Stall Information (PSI) statistics.
122 * sadf: Add support for PSI statistics.
123 * iostat: Add support for devices managed by userspace drivers
124 (e.g. spdk). Add new flags -f/+f to specify an alternate location
126 * sar: Don't display duplicate entries in /etc/mtab [12.2.2].
127 * sar: Don't display "Inconsistent input data" error message when no
128 activities are collected by sadc.
129 * sadf: XML: Remove "per" attribute for memory activity.
130 * sadf: Add new option "hz=" for datafile conversion.
131 * Various updates to remove GCC v9/v10 warnings.
132 * sar: Don't check if we are close enough to selected interval when
134 * sadf: Use actual number of items, not its pointer address [12.2.2].
135 * [Sdrkun]: sa1: Create default sa directory if it doesn't exist
137 * pr_stats.c: Printing timestamp should appear only once [12.2.2].
138 * common.c: Remove unused get_dev_part_nr() function [12.2.2].
139 * DTD and XSD documents updated.
140 * sar and sadf manual pages updated.
141 * Non regression tests updated. New tests added (sar, iostat).
143 2020/04/10: Version 12.3.2 - Sebastien Godard (sysstat <at> orange.fr)
144 * pidstat: Major code refactoring. Several bugs fixed.
145 * pidstat: Don't display unneeded spaces following command name
146 when option -l is used.
147 * cifsiostat: Major code refactoring.
148 * simtest: Add test environment for pidstat command.
149 * simtest: Add new non regression tests for iostat command.
150 * pidstat: Remove extra space at end of command name [12.2.2].
151 * [Anatoly Pugachev]: Fix sa2 script, so it won't complain on empty list
152 for compress program [12.2.2].
153 * iostat: Make sure pointer on linked list is initialized [12.2.2].
154 * [Fabrice Fontaine]: Makefile: Link with -lintl if needed [12.2.2].
155 * NLS translation updated.
157 2019/12/27: Version 12.3.1 - Sebastien Godard (sysstat <at> orange.fr)
158 * [Konstantin Khlebnikov]: iostat: Add flush I/O statistics
159 (statistics available starting with kernel 5.5).
160 * mpstat: Add new switch to display system topology.
161 * mpstat: Allow to select individual CPU/nodes with option -A.
162 * cifsiostat: Add support for SMB2 version of statistics file.
163 * mpstat: Add non regression tests.
164 * tapestat: Add non regression tests.
165 * cifsiostat: Add non regression tests.
166 * iostat: Add new non regression tests.
167 * sadf: Fix double free in check_file_actlst() [12.2.1].
168 * sadf: Fix heap overflow in logic2_display_loop() function.
169 * iostat: Fix wrong unit used in JSON output [12.2.1].
170 * [Leo]: Add missing header files when using musl C library [12.2.1].
171 * [Albert]: Add missing empty line in FAQ.md file [12.2.1].
172 * mpstat and iostat manual pages updated.
175 2019/11/11: Version 12.2.0 - Sebastien Godard (sysstat <at> orange.fr)
176 * sar/sadc: Save timezone value in binary data files (saDD).
177 * sadf: Display timezone value in output from sadf -H.
178 * sar/sadf: Make sure we will always be able to read file headers
181 * sadf: Enhance raw format output (now also display records header
183 * sadf: Update DTD and XSD documents. Fix their contents so that XML
184 output from 12.0.x sadf versions validates.
185 * sar/sadf: Change 'flags' variable type from "unsigned int" to
187 * simtest: Make all tests independent from timezone value.
188 * simtest: Add more non regression tests.
189 * sadf: Small fix in manual page.
193 2019/09/30: Version 12.1.7 - Sebastien Godard (sysstat <at> orange.fr)
194 * sar/sadc: Add stable identifier support for disks statistics.
195 * sar/sadf: Add extra flexibility in binary data file in case of
196 a future format change.
197 * sadf: sadf -H output updated.
198 * iostat: Fix several bugs (CID ##349502, #349503, #349500 and
200 * sar: Manual page updated.
201 * sadf: Fix memory corruption bug due to integer overflow in
202 remap_struct() function (try #2).
203 * configure: Add new configuration variables: conf_file and sar_dir.
204 * simtest: sar: Add new non regression tests.
205 * simtest: iostat: Make tests independent from timezone value.
208 2019/08/14: Version 12.1.6 - Sebastien Godard (sysstat <at> orange.fr)
209 * iostat: Major code refactoring. Devices structures are now
210 dynamically allocated, better handle the case when devices are
211 removed then inserted again in the system, better command line
212 parsing, better handle devices with a slash in their name.
213 * sar/sadf: Allow to select individual CPU and/or interrupts when
215 * sar: Better handle the case when Fibre Channel hosts are added to
217 * [Alexandros Kosiaris]: sadc: Check if InCsumErrors is present for
218 EICMP as well [12.0.6].
219 * sar: Fix sar -s/-e output on datafiles spanning two consecutive days.
220 * sadf: XML: Fix bad transmission words statistics for Fibre Channel
222 * sadf: Fix memory corruption bug due to integer overflow in
223 remap_struct() function.
224 * iostat: Fix wrong CPU statistics displayed for the first sample
225 when option -y is used [12.0.6].
226 * iostat: Make sure UUID given on the command line is not taken as
227 interval value [12.0.6].
228 * Allow more space for persistent type directory names [12.0.6].
229 * Update sysstat simulation test environment (new tests added, etc.)
230 * sar manual page updated.
231 * Various cosmetic fixes (comments updated in code, etc.)
234 2019/05/31: Version 12.1.5 - Sebastien Godard (sysstat <at> orange.fr)
235 * sadf: Support completed for PCP (Performance Co-Pilote) output format.
236 * Add sysstat simulation test environment.
237 * Add non regression tests.
238 * sar: Use nanoseconds to choose between saDD and saYYYYMMDD files.
239 * sar/sadf: Time used by options -s/-e no longer depends on the timezone
241 * sar: Add missing %gnice CPU value for tickless CPU [12.0.5].
242 * sar: Better detect if a disk has been unregistered then registered
244 * sar: Allow option -i when no input file is specified [12.0.5].
245 * sadc: Fix bad number of CPU displayed in a LINUX RESTART message [12.0.5].
246 * sadf: Fix SVG output for filesystem statistics when the user asked for
247 the mount point to be displayed ("-F MOUNT") [12.0.5].
248 * sadf: Fix PCP and SVG output for filesystem statistics.
249 * iostat: Fix invalid JSON output when option -y is used [12.0.5].
250 * iostat: Fix regression for groups of devices which were no longer displayed
251 in the report with option -g.
252 * sar: Cosmetic fix in manual page [12.0.5].
253 * sadf manual page updated.
255 * Cosmectic changes in code [12.0.5].
257 2019/04/18: Version 12.1.4 - Sebastien Godard (sysstat <at> orange.fr)
258 * sadf: Add initial support for PCP (Performance Co-Pilote).
259 sadf can now export some of its data to a PCP archive file with
261 * configure: Add option --disable-pcp to configuration scripts.
262 * [Ondrej Dubaj]: sar/sadc: Ignore autofs entries in /etc/mtab [12.0.4].
263 * [Huang Ying]: mpstat: Fix missing "}" and "]" in JSON output when
264 stopped by SIGINT [12.0.4].
265 * iostat: Add a SIGINT handler so that JSON output can be terminated
266 properly when the user presses Ctrl/C [12.0.4].
267 * sadf: Fix segmentation fault error when trying to display XML or JSON
268 data using a file which contains only RESTART records [12.0.4].
269 * mpstat: JSON output should display "all" for CPU number for global
270 CPU utilization [12.0.4].
271 * [Danny Smit]: Add umask sysconfig variable for sa1 and sa2 [12.0.4].
272 * configure: Don't check for sensors library if --disable-sensors
273 option is used [12.0.4].
274 * sadf: Don't test for activities available in file if only the header
275 needs to be displayed [12.0.4].
276 * sadf: Make code more independent from the selected output format.
277 * sar/sadc: Make sure number of items are always counted for certain
278 activities (like A_CPU) even if they are not collected.
279 * Fix many alerts reported by LGTM.
280 * sadc and sadf manual pages updated.
282 * json_stats.h: Replace XML -> JSON [12.0.4].
284 2019/02/15: Version 12.1.3 - Sebastien Godard (sysstat <at> orange.fr)
285 * sadf: SVG: Add new "customcol" and "bwcol" options. These options
286 enable the user to select distinct color palettes to draw the
287 graphs with "sadf -g".
288 * sadf: SVG: Make it possible for the user to customize color palette
290 * sadf: SVG: Fix wrong variable used to draw discard IO graph.
291 * [Kyle Walker]: sadc: Add -f flag to force fdatasync() use.
292 * sadf and sadc manual pages updated.
293 * NLS translations updated.
295 2018/12/14: Version 12.1.2 - Sebastien Godard (sysstat <at> orange.fr)
296 * sadf: Fix out of bound reads security issues (CVE-2018-19416 and
297 CVE-2018-19517) [12.0.3].
298 * iostat: Add support for discard I/O statistics.
299 * iostat/sar: Remove service time (svctm) metric.
300 * sar/sadf: Add support for discard I/O statistics.
301 * sar: Add a return code to remap_struct() function.
302 * DTD and XSD documents updated.
303 * sar and iostat manual pages updated.
304 * Add non regression tests for XML output and improve those for
306 * sadf: Fix possible infinite loop [12.0.3].
307 * Remove remap_struct() prototype from sa.h [12.0.3].
308 * [Jamin]: Add a JSON parse test.
309 * [Todd Walton]: Clarify sadc manual page and FAQ on using multiple -S keywords
311 * [Steve Kay]: Use memcpy rather than strncpy, in order to avoid truncation
313 * [Steve Kay]: Cosmetic fixes in configure file [12.0.3].
314 * [Anatoly Pugachev]: Fix comment in sar.c [12.0.3].
316 2018/10/13: Version 12.1.1 - Sebastien Godard (sysstat <at> orange.fr)
317 * sar: Fix wrong size for stats_huge structure [12.0.1].
318 * sar/sadc/sadf: Add new HugePages metrics: HugePages_Rsvd and
320 * DTD and XSD documents updated.
321 * sadf: Make it more robust to corrupted datafiles.
322 * sadc: Allow to unselect activities by name.
323 * Use thread-safe versions of gmtime() and localtime() functions.
324 * sar: Fortify remap_struct() function [12.0.2].
325 * sar: Fix timestamp format in report output [12.0.2] [11.6.6] [11.4.11].
326 * sar: Make sure header lines are always displayed in report for statistics
327 [12.0.2] [11.6.6] [11.4.11].
328 * Makefile: Fix "unexpected operator" error on install [12.0.2] [11.6.6]
330 * sar: Fix typo in manual page [12.0.2] [11.6.6] [11.4.11].
331 * New non regression tests added.
332 * README file updated: Added LGTM code quality badges.
333 * sar manual page updated.
337 2018/08/03: Version 12.0.0 - Sebastien Godard (sysstat <at> orange.fr)
338 * sadf: SVG: Remove id tag from individual graphs. Use activities
339 identification numbers for id tags.
340 * sadf: SVG: Add new option "showtoc", which can be used to display
341 the list of activities for which there are graphs ("table of
343 * sadf: SVG: Improve output for softnet activity: Add a discontinuity in
344 graph when corresponding CPU is marked offline.
345 * sadf: SVG: Improve function used to assess SVG canvas height.
346 * sadf: SVG: Fix core dumped on buffers reallocation.
347 * sar/sadf: Devices list management code refactoring.
348 * sadf: SVG: Display graphs for swap utilization in packed mode [11.6.5].
349 * sadf: SVG: Don't take into account activities with no graphs when
350 calculating canvas height [11.6.5].
351 * sadf: SVG: Don't insert a gap in SVG output if an activity is not
353 * sadf: SVG: Fix possible negative value in graphs coordinates [11.6.5].
354 * sa_conv.c: Use write_all() function instead of write() to handle possible
355 signal interruptions.
356 * spec file updated: No longer create a debug package.
357 * Remove many warnings from gcc v7/v8.
358 * README file updated.
359 * Manual pages updated.
361 2018/06/01: Version 11.7.4 - Sebastien Godard (sysstat <at> orange.fr)
362 * sar/sadf: Add new option "--iface=": Allow the user to select the
363 network interfaces to display.
364 * sar/sadf: Add new option "--dev=": Allow the user to select the
365 block devices to display.
366 * sar/sadf: Add new option "--fs=": Allow the user to select the
367 filesystems to display.
368 * Add new option "--dec=": Allow the user to choose the number of decimal
369 places to be used by sysstat commands.
370 * Manual pages updated (sar, sadf, cifsiostat, iostat, mpstat, pidstat).
371 * sar: Change how used memory (kbmemused) is calculated to be
372 consistent with free(1) and top(1)'s output [11.6.4] [11.4.10].
373 * pidstat: Fix incorrect thread names displayed with -t and -l options
376 2018/04/06: Version 11.7.3 - Sebastien Godard (sysstat <at> orange.fr)
377 * sar: Fix possible crash happening when buffers needed to be
378 reallocated to accommodate more devices.
379 * sar/sadf/mpstat: Compute global CPU statistics as the sum of individual
381 * mpstat: Compute statistics for node "all" as the sum of individual
383 * sar: Add new "-z" option, which tells sar to omit output for any
384 devices for which there was no activity during the sample period.
385 * sar/sadf: Now better take into account offline and online CPU when
386 displaying softnet statistics.
387 * sadc: Shrink size of sadc binary file by compiling out unneeded
389 * sadf: Change raw format output to be CSV compliant.
390 * sadf: Reorder some values displayed in debug mode/raw format.
391 * Add initial support for major numbers > 255.
392 * Update sysstat.ioconf devices list.
393 * mpstat: Remove option "-P ON". mpstat now displays only online CPU by
395 * sar and mpstat manual pages updated.
396 * pidstat: Report CPU usage for a process as the sum of all threads
398 * sar: Change condition used in workaround for CPU coming back online
400 * NLS updated: Various translations updated.
402 2018/02/12: Version 11.7.2 - Sebastien Godard (sysstat <at> orange.fr)
403 * sadf: Rewrite function used to convert an old binary data file to
404 the up-to-date format.
405 * sar: Display all items for USB and filesystems activities in the
406 summary ending the report.
407 * sar: Don't read statistics twice when displaying average stats since
409 * sar: Update magic number for certain activities structures (should have
410 been done in 11.7.1).
411 * sar: Display reports name in help message (sar --help).
412 * sadc: Enable the user to select which activities will be collected
414 * sar/sadc: Add DEBUG code.
415 * sadf: RAW: Enhance output.
416 * sadf: RAW: Rename "showhints" option to "debug".
417 * sadf: sadf -H now displays more details on file.
418 * sadf: SVG: Set minimum canvas height to 100 points.
419 * sadf: SVG: Display grid and graduations on the whole width of the graph
421 * sadf: SVG: Don't display graphs for offline CPU.
422 * iostat, cifsiostat: Display device name at the end of the line
423 when option -h is used.
424 * iostat: Refresh device list properly [11.6.3] [11.4.9].
425 * Travis CI: Add new tests.
426 * Increase maximum number of interrupts that can be processed by sysstat
428 * FAQ updated [11.6.3] [11.4.9].
429 * sadf and sar manual pages updated.
430 * NLS updated: Various translations updated.
431 * README file updated.
432 * Code cleaned and cosmetic fixes.
434 2018/01/12: Version 11.7.1 - Sebastien Godard (sysstat <at> orange.fr)
435 * sar/sadc: New binary data file format, which is now more flexible
436 and takes much less space on disk.
437 * sar/sadc: Dynamic structures allocation for all devices registered
439 * sar/sadf: Support for big-endian/little-endian format for binary
441 * sar/sadc: Use 64-bit time values in binary data files.
442 * sar/sadc: Update statistics structures to keep with current kernels.
443 * sar/sadc: Update binary file's header data to deal with patchlevel
444 and sublevel version numbers greater than 15.
445 * sadc: Save HZ value in data file header.
446 * sar/sadc: Don't assume CPU statistics are always saved in binary
448 * sar/sadf: Don't display offline CPU.
449 * sadf: Conversion function (option -c) temporarily inhibited.
450 It will work again with next sysstat version (11.7.2).
451 * sar: The option used to display a help message is now "--help".
452 * sar: Add new option -h to make sar's output easier to read by a
453 human. This option moves device names (disks, network interfaces)
454 at the end of the line. This option also sets options -p (pretty-
456 * sadf: RAW: Display number of items for each activity.
457 * sadf: Make option -H display all the activities present in file,
458 whether known or unknown.
459 * All commands now use only /proc/uptime to compute system uptime.
460 Also use a time interval expressed in seconds, not in jiffies.
461 * Makefile: Fix dependencies between files.
462 * Makefile: Remove old references to nfsiostat command.
463 * [Robert Luberda]: Fix sadc crash when really long lines are
464 read from /etc/mtab [11.6.1] [11.4.7] [11.2.13].
465 * [JoungKyun Kim]: NLS updated: Add Korean translation [11.6.1].
466 * [Christian Ehrhardt]: Fix 00 byte after values when --human is
468 * Fix invalid token in "iostat -y" JSON output [11.6.1].
469 * Workaround for offline CPU coming back online [11.6.2] [11.4.8]
471 * sadf: Fix CSV output for TTY statistics [11.6.2] [11.4.8]
473 * sadf: Remove duplicate % sign displayed in ppc mode [11.6.2].
474 * SVG: Display time as xx:00 instead of xxH when "oneday" option
475 is used [11.6.2] [11.4.8].
476 * sar: Use ULLONG_MAX/2 to check if network device counters have
477 overflown [11.6.2] [11.4.8] [11.2.14].
478 * Remove SCCSID strings in executable files to allow reproducible
479 build [11.6.1] [11.4.7] [11.2.13].
480 * Remove unused parameters passed to functions [11.6.1] [11.4.7]
482 * sadf: Don't use f_count2() function pointer [11.6.1] [11.4.7]
484 * [Lukas Zapletal]: Update comment of SA_DIR in sysconfig file [11.6.1]
486 * NLS: Various translations updated.
487 * Various cosmetic fixes, typo fixes and documentation enhancements
490 2017/08/14: Version 11.6.0 - Sebastien Godard (sysstat <at> orange.fr)
491 * pidstat: Add new option (-e) which can be used to pass a program
492 to execute and make pidstat monitor it.
493 * pidstat: Add new option (-H) to display timestamps in seconds
495 * pidstat manual page updated.
496 * Revert "ARM: Fix sadc crash because of unaligned memory accesses".
497 The fix may cause segmentation faults in some cases [11.4.6]
499 * Add BUG_REPORT template file.
500 * README file updated.
501 * Cosmetic changes in code.
502 * lsm file updated [11.4.6] [11.2.12].
504 2017/07/05: Version 11.5.7 - Sebastien Godard (sysstat <at> orange.fr)
505 * iostat: Add new "-s" switch used to display a short (narrow)
506 version of the report that should fit in 80 chars wide screens.
507 * iostat: Add new metrics to iostat's extended statistics report.
508 * iostat: Express requests average size in kB, not sectors.
509 * iostat: Make JSON output depend on options used.
510 * iostat: Remove trailing colon following "Device" field name.
511 * sar/sadf: Metrics from disks report previously expressed in
512 sectors are now expressed in kB.
513 * Update DTD/XSD documents.
514 * SVG: Fix graphs for swap space utilization statistics.
515 * Display unit with areq-sz metric values when --human option used.
516 * Display a percent sign after values when --human option used.
517 * pidstat: Don't stop if /proc/#/schedstat files don't exist.
518 * Fix ressource leak (CID 144609) [11.4.5] [11.2.11].
519 * Cast variables to target type before use [11.4.5] [11.2.11].
520 * Fix buffer overflow when options -s or -e are used with sar
521 (DEBIAN bug #863197) [11.4.5] [11.2.11].
522 * SVG: Define a max number of horizontal lines for the background
524 * Change default colors to be usable on both dark and light
525 terminal backgrounds [11.4.5] [11.2.11].
526 * Start collect and summary systemd services after sysstat.service
528 * Manual pages updated.
529 * CREDITS file updated.
531 2017/05/10: Version 11.5.6 - Sebastien Godard (sysstat <at> orange.fr)
532 * mpstat: Provide CPU statistics based on NUMA node placement.
533 * SVG: Add new option: "showinfo".
534 * ARM: Fix sadc crash because of unaligned memory accesses [11.4.4]
536 * Makefile: Fix test failures on big endian archs.
537 * rndr_stats.c: Simplify fix for warning given by
538 gcc -Werror=format-security
539 * mpstat: Remove unneeded parameter from JSON functions.
540 * mpstat and sadf manual pages updated.
541 * [Robert Luberda]: isag: Add several enhancements and fixes.
542 * Fix typo in sadf manual page [11.4.4].
544 2017/02/27: Version 11.5.5 - Sebastien Godard (sysstat <at> orange.fr)
545 * SVG: Allow multiple charts on a row (new option added: "packed").
546 * SVG: Add new option: "height=..."
547 * SVG: Properly terminate SVG file when no data have been found
549 * SVG: Don't extend X axis beyond time end [11.4.4].
550 * Add new %wait field to pidstat CPU utilization.
551 * sadf: Fix insecure data handling (CID #139643).
552 * sadf: Small code cleanup.
553 * Fix comment in /etc/sysconfig/sysstat file [11.4.4] [11.2.10].
554 * Makefile: Add regression tests ("test" target).
555 * Hook up to Travis CI.
556 * README file completely rewritten.
557 * FAQ file converted to MarkDown format.
558 * Remove isag support.
559 * sadf and pisdstat manual pages updated.
560 * Remove nfsiostat from .gitignore file [11.4.4] [11.2.10].
562 2017/01/11: Version 11.5.4 - Sebastien Godard (sysstat <at> orange.fr)
563 * sadf: Add new "raw" output format.
564 * sar: Remove memory statistics (option -R).
565 * SVG: Give actual canvas height at the end of SVG output.
566 * Make sar's -I option work again with sadf.
567 * sar: Better handle dynamically registered devices [11.4.3]
569 * sar: Fix incorrect gcc warning in svg_stats.c [11.4.3].
570 * SVG: Init f_svg_print() function pointer to NULL [11.4.3].
571 * sadf and sar manual pages updated.
572 * README file updated (added Coverity Badge).
573 * NLS translations updated. Added new Friulian translation.
574 * Cosmetic fixes in source code.
576 2016/12/06: Version 11.5.3 - Sebastien Godard (sysstat <at> orange.fr)
577 * sar: Add new metric "available free memory" to memory statistics.
578 * Update DTD and XSD documents to include new metric.
579 * sar/pidstat/iostat/tapestat/cifsiostat: Add new --human option to
580 display values in human readable format.
581 * SVG: Add new option "showidle" to be used with sadf to display
583 * sar/mpstat: Allow selection of a range of CPU or interrupts.
584 * Update mpstat, sar and sadf manual pages.
585 * iostat/mpstat: Fix "'LC_NUMERIC' undeclared" error message when
587 * Sort keywords definition in sar, sadc and mpstat manual pages
589 * SVG: Change some colors to make graphs easier to distinguish
591 * Small fix in iostat manual page [11.2.9] [11.4.3].
592 * Cosmetic changes in source code [11.2.9] [11.4.3].
593 * Update lsm file contents.
596 2016/11/04: Version 11.5.2 - Sebastien Godard (sysstat <at> orange.fr)
597 * sar: Add software-based network processing (softnet) statistics.
598 * sadf: Add output formats for softnet statistics.
599 * [Michal Sekletar]: sar: Make buffers that hold timestamps
600 bigger [11.2.8] [11.4.2].
601 * [Shantanu Goel]: sar: /proc/vmstat fix for Linux 4.8 [11.2.8]
603 * [Mike Winter]: pidstat: Use system constants for process name
604 length and username length.
605 * [Breno Leitao]: sar: Improve cpuinfo read for POWER architecture
607 * Make various buffers size holding timestamps consistent.
608 * sadf: Use a decimal point instead of a coma in JSON output
610 * mpstat, iostat: Use a decimal point instead of a coma in JSON
612 * pidstat: Use either the short or the full command line when
613 looking for a pattern with options -C or -G [11.2.8] [11.4.2].
614 * sar manual page updated.
616 * CREDITS file updated.
618 2016/09/23: Version 11.5.1 - Sebastien Godard (sysstat <at> orange.fr)
619 * iostat: Add JSON output (option "-o JSON").
620 * mpstat: Add JSON output (option "-o JSON").
621 * sadf: Fix broken datafile conversion from old formats
623 * sadf: Fix fields list displayed by sadf -d for filesystem
624 activity [11.2.7] [11.4.1].
625 * pidstat: Don't omit kernel threads when using -l option [11.2.7]
627 * Reuse hdr_line string from struct activity to display activities
629 * sadf: Remove sysstat-version from JSON output.
630 * iostat and mpstat manual pages updated.
632 2016/08/15: Version 11.4.0 - Sebastien Godard (sysstat <at> orange.fr)
633 * sar: Workaround for I/O and transfer rates statistics which may
634 be wrongly calculated if a filesystem is unmounted [11.2.6].
635 * SVG: Fix how bar graphs are displayed for filesystems statistics
636 in order to not loose the first sample.
637 * SVG: Change graphs order to be consistent with the output of sar.
638 * SVG: Change some graphs's title.
639 * Replace strcpy() with strncpy() to avoid buffer overflows [11.2.6].
640 * Fixed unsigned compared against 0 problem (CID#127473) [11.2.6].
643 2016/06/24: Version 11.3.5 - Sebastien Godard (sysstat <at> orange.fr)
644 * SVG: Add SVG output for ICMP{v4,v6}, IPv6, UDPv6, voltage inputs,
645 NFS client, NFS server, disks, filesystems and FC HBA statistics.
646 * SVG: Add SVG output for IPv4, ICMPv4, TCPv4, IPv6 and ICMP
647 network errors statistics.
648 * SVG: Make sure graduations are properly aligned with grid.
649 * SVG: Add oneday option to control SVG output.
650 * SVG: Fix skipempty option.
651 * [Peter Schiffer]: Stricter check for file_magic->header_size [11.2.5].
652 * [Peter Schiffer]: tapestat: Various fixes [11.2.5].
653 * [Esteban Fallas]: Check for undefined UID variable in sysstat script
655 * [Carsten Grohmann]: Unify description of the tps value in the sar
656 manual page for -b and -d flags [11.2.5].
657 * sadf manual page updated.
659 2016/05/14: Version 11.3.4 - Sebastien Godard (sysstat <at> orange.fr)
660 * SVG: Add SVG output for fan speed and temperature sensors
661 statistics, I/O and transfer rate statistics, kernel tables
662 statistics, hugepages utilization statistics, IPv4 and IPv6
663 network sockets statistics, UDPv4, TCPv4 and IPv4 network statistics.
664 * SVG: Add skipempty and autoscale options to control SVG output.
665 * sadf and sar manual pages updated [11.2.4].
666 * NLS translation updated.
667 * Various cosmetic changes in code [11.2.4].
669 2016/04/09: Version 11.3.3 - Sebastien Godard (sysstat <at> orange.fr)
670 * SVG: Add SVG output for CPU statistics, CPU frequency statistics,
671 memory and swap statistics, and queue length and load average
673 * SVG: Make SVG code independent from the locale used to display
675 * SVG: Fix possibly truncated SVG code.
676 * SVG: Make sure that a minimum interval value is used on X and Y
678 * [Peter Portante]: Quick fix for cprintf_u64 non-uintv64_t [11.2.3].
679 * NLS translations updated.
681 2016/03/13: Version 11.3.2 - Sebastien Godard (sysstat <at> orange.fr)
682 * sadf: Add SVG output for paging statistics, network interfaces
684 * SVG: Specify charset encoding in SVG header.
685 * SVG: Fix invalid use of attribute vector-effect.
686 * sar: Fix possible confusion between network interfaces that
687 could happen when a new interface was registered and appeared
688 in the middle of the list in the /proc/net/dev file [11.2.2].
689 * sar: Fix possible compatibility issues between sysstat versions
691 * [Y. Namiki]: sar: Print time in the ISO format if
692 S_TIME_FORMAT=ISO [11.2.2].
693 * mpstat/pidstat: Print time in the ISO format if S_TIME_FORMAT=ISO
695 * [Steve Kay]: Disable NLS if any gettext components are
696 unavailable [11.2.2].
697 * [Steve Kay]: sadf: Fix several typos in SVG output.
698 * [Steve Kay]: Fix tapestat manual page typos [11.2.2].
699 * [Peter Schiffer]: Add new SP_VALUE_100() macro which limits
700 value to 100% for CPU statistics displayed by pidstat [11.2.2].
701 * sar, sadf, pidstat and mpstat manual pages updated.
703 2016/02/21: Version 11.3.1 - Sebastien Godard (sysstat <at> orange.fr)
704 * sadf: Add new SVG (Scalable Vector Graphics) output format.
705 This option enables the user to display fancy graphs in a
706 web brower using the data collected by sar/sadc!
707 * sar/sadf: Major code refactoring.
708 * sadf: Don't display the JSON fchosts tag when no statistics
709 data exist for Fibre Channel [11.2.1].
710 * README file converted to Markdown format [11.2.1].
711 * [Peter Schiffer]: Convert CREDITS file to utf-8 [11.2.1].
712 * [Peter Schiffer]: Update license text [11.2.1].
713 * sadf manual page updated.
715 * Update README file and copyright messages [11.2.1].
716 * NLS updated [11.2.1].
718 2015/12/27: Version 11.2.0 - Sebastien Godard (sysstat <at> orange.fr)
719 * mpstat: Code refactoring (better handle some special borderline
720 cases for per-processor interrupts statistics).
721 * mpstat: Option -I now accepts a list of comma-separated
723 * sar: Fix color output for %temp and %in fields.
724 * sadf: Fix bug preventing sadf from converting a data file with
726 * sadc: Fix insecure data handling, really (CID #29720).
727 * [Peter Schiffer]: Increase NR_CPUS to match kernel upstream.
728 * sar: Check minimum size of sa data files header (CID #29719).
729 * sadc: Fix default number of frequencies for A_PWR_WGHFREQ
731 * pidstat: Define new SCHED_DEADLINE scheduling policy.
732 * Remove obsolete nfsiostat-sysstat command.
733 * mpstat manual page updated.
736 2015/10/23: Version 11.1.8 - Sebastien Godard (sysstat <at> orange.fr)
737 * Add support for color customization.
738 * Add color support for pidstat, tapestat and cifsiostat commands.
739 * Define values "always", "never" and "auto" for S_COLORS
740 environment variable.
741 * sar: Remove extra line of statistics displayed when SIGINT is
743 * Add missing va_end() statements (CID #113539, #113540, #113541,
745 * Fix possible NULL pointer dereference in SREALLOC macro (CID
747 * sadc: Fix untrusted value used as argument (CID #29720) [11.0.8].
748 * sadc: Fix another insecure data handling (CID #29720).
749 * sar/sadc: Set an upper limit for each kind of item that sar/sadc
751 * Manual pages updated for iostat, mpstat, sar, pidstat, tapestat
752 and cifsiostat commands.
753 * Update librdsensors.a target in Makefile [11.0.8].
755 2015/09/20: Version 11.1.7 - Sebastien Godard (sysstat <at> orange.fr)
756 * Add color support for mpstat, iostat and sar commands.
757 * [Peter Schiffer]: Fix problem with pidstat output values > 100%
759 * [Shane Seymour]: tapestat: Fix issue when st driver is unloaded
761 * [Christian Neukirchen]: Fix header files included in tapestat.
762 * Make sysstat build on musl (non-glibc) environment.
763 * tapestat: Check fscanf() return values.
764 * [Alexis Solanas]: Fix issue with iostat not showing the full
765 device name [11.0.7].
766 * sa2: DATE couldn't be set when DATE_OPTS variable was empty.
768 * Add sa2 option to avoid sarDD report generation.
769 * [Julian Taylor]: sargraph2: Fix MB/s units and help typo.
770 * sysstat(5), iostat, mpstat and sar manual pages updated.
771 * NLS: Sync'd with Translation Project.
772 * CREDITS file updated.
774 2015/08/24: Version 11.1.6 - Sebastien Godard (sysstat <at> orange.fr)
775 * [Shane Seymour]: Added new "tapestat" command aimed at
776 displaying statistics for tape drives.
777 * [Shane Seymour]: Added tapestat manual page.
778 * Check /proc/net/snmp format to collect ICMP statistics at
779 their right positions [11.0.6].
780 * sadc: Fix untrusted value used as argument.
781 * sa_conv.c: Fix ressource leak.
782 * ioconf.c: Fix several ressource leaks [11.0.6].
783 * mpstat: Fix alignment output, really [11.0.6].
784 * [Sampsa Kiiskinen]: Fix bug in isag [11.0.6].
785 * iostat's option -T renamed to -H.
786 * iostat manual page updated.
788 * CREDITS file updated.
790 2015/06/12: Version 11.1.5 - Sebastien Godard (sysstat <at> orange.fr)
791 * [Steve Kay]: sar: Added fibre channel HBA statistics.
792 * [Steve Kay]: Replace non printable characters in comments
793 displayed by sar/sadf.
794 * [Peter Schiffer]: Fixed and simplified some math expressions
795 in pr_stats.c [11.0.5].
796 * [Peter Schiffer]: ioconf.c: Check value of variable "major"
797 read from file [11.0.5].
798 * [Peter Schiffer]: ioconf.c: Use strncpy instead of strcpy [11.0.5].
799 * sar: Fixed untrusted loop bound [11.0.5].
800 * sadc: Fixed time-of-check, time-of-use race condition.
801 * [Vitezslav Cizek]: Assume device-mapper is not running when
802 it is not found in /proc/devices.
803 * sar: Added option --sadc. This option indicates which data
804 collector will be called by sar.
805 * sadf: Fixed null pointer dereference which could happen with a
806 malformed system activity datafile.
807 * cifsiostat: Fixed possible integer overflowed argument [11.0.5].
808 * sar manual page updated.
810 * DTD and XSD documents updated.
813 2015/04/07: Version 11.1.4 - Sebastien Godard (sysstat <at> orange.fr)
814 * Makefile: sysstat init script may sometimes be called rc.sysstat.
815 So use that name when needed [11.0.4].
816 * pidstat: Don't stop if gtime and cgtime fields are unavailable
818 * sar: Fix output with filesystems having more than MAX_FS_LEN
819 characters in length.
820 * Updated DTD and XSD documents. XML document, as displayed by
821 sadf -x, should now be properly validated against them.
822 * [Peter Schiffer]: Replace spaces with tabs in Makefile.in [11.0.4].
823 * [Peter Schiffer]: Create appropriate directories in DESTDIR if
825 * [Peter Schiffer]: Fixed installation of systemd/cron files on
826 systems w/o systemd [11.0.4].
827 * [Peter Schiffer]: Don't look in weird places for programs during
828 configuration [11.0.4].
829 * [Steve Kay]: sar: Added option to display mountpoint names instead
831 * [Steve Kay]: sar/sadf: Permit hh:mm:ss as well as hh:mm.
832 * [Steve Kay]: Fix mpstat SCPU alignment output [11.0.4].
833 * [Steve Kay]: Fix unproperly indented line in sar -h output.
834 * Makefile: Call chkconfig only if $(COPY_ONLY) is set to no [11.0.4].
835 * sysstat(5) manual page updated [11.0.4].
836 * [Dimitrios Apostolou]: Updated sargraph tool.
837 * [Dimitrios Apostolou]: Updated sa2 script to support more compression
838 formats. Simplify logic with regexes.
839 * [Dimitrios Apostolou]: YESTERDAY variable can now be changed in sysstat
840 config file (/etc/sysconfig/sysstat).
841 * [Dimitrios Apostolou]: By default sa2 now generates yesterday's summary.
842 * CREDITS file updated.
844 2015/02/13: Version 11.1.3 - Sebastien Godard (sysstat <at> orange.fr)
845 * sar/sadc: Added new metrics from /proc/meminfo to memory
847 * sadf: Update output formats to take into account new memory
849 * [Peter Schiffer]: Fixes from static analysis.
850 * [Peter Schiffer]: Prefer xz compression program when compressing
851 sa data files [11.0.3].
852 * [Peter Schiffer]: Portable way to detect 64 bit OS in configure
854 * [Vasant Hegde]: sadc: Fix possible race condition in signal
855 handler code [11.0.3].
856 * Fix description of %util in iostat and sar manual pages [11.0.3].
857 * Fix wrong size used in upgrade_magic_section() function.
858 * Add new sadc_options variable to configure script.
859 * Rename --disable-man-group option to --disable-file-attr. This
860 configure's option prevents the build process from setting
861 attributes of files being installed.
862 * Make sure that no crontabs are activated when configure's option
863 --enable-copy-only is used [11.0.3].
865 * RPM spec file updated.
866 * sar manual page updated.
867 * sadc manual page updated [11.0.3].
868 * CREDITS file updated.
869 * Code cleaned [11.0.3].
871 2014/10/19: Version 11.1.2 - Sebastien Godard (sysstat <at> orange.fr)
872 * [Robert Elliott]: Added irqtop command. irqtop monitors
873 differences in /proc/interrupts and /proc/softirqs per CPU,
874 along with CPU statistics. irqtop is currently in the contrib
876 * [Lance Shelton]: Added irqstat command, a better way to watch
877 /proc/interrupts, designed for NUMA systems with many
879 * [Vasant Hegde]: sadc: Don't send SIGINT signal if parent
880 process is already dead [11.0.2].
881 * sadc: Make sure that functions used to count items (CPU,
882 network interfaces, etc.) are called only once.
883 * sar and sadf now tell the user when they cannot read a file
884 because the endian format doesn't match.
885 * Fixed incomplete sar and sadf output when end time (specified
886 with option -e) crosses 24 hour boundary [11.0.2].
887 * cifsiostat/nfsiostat: Fix output on single core CPU [11.0.2].
888 * pidstat didn't handle processes with spaces in their name
889 properly. This is now fixed [11.0.2].
891 * CREDITS file updated.
893 2014/08/30: Version 11.1.1 - Sebastien Godard (sysstat <at> orange.fr)
894 * Added option -c to sadf: This option enables the user to
895 convert an sa datafile with an old format (at least 9.1.6)
896 to the up-to-date format (11.1.1 as of today).
897 * Update sadf -H output to print datafile date and tell whether
898 this file has been converted from an old datafile or not.
899 * Added option -[0-9]+ to sadf to show data of that days ago
901 * Use statvfs() system call instead of deprecated statfs() to
902 get filesystems statistics with sar [11.0.1].
903 * sar: Stricter syntax check [11.0.1].
904 * Remove unneeded include file in sa_common.c [11.0.1].
905 * [Kosaki Motohiro]: Update workaround for 32bit CPU counters
907 * Define unknown scheduling policies in pidstat.h [11.0.1].
908 * [Ivana Varekova]: Test return value for fgets/fscanf calls
910 * Makefile updated: Follow symlinks when creating the tarballs
912 * sadf manual page updated [11.0.1].
914 2014/06/17: Version 11.0.0 - Sebastien Godard (sysstat <at> orange.fr)
915 * [Cedric Marie]: pidstat now displays task scheduling priority
916 and policy along with task switching activity (-w option).
917 * [Cedric Marie]: pidstat: Add option -G to filter processes
919 * pidstat: Update variables type to be consistent with recent
921 * sadc/sar/sadf: The standard daily data files may now be
922 named saYYYYMMDD instead of saDD. Option -D has been added
923 to sar and sadc to tell them to write to data files under the
925 * sadc/sar/sadf: Take into account alternate locations for
926 standard daily data files.
927 * sa1 and sa2 scripts updated: Don't create a tree of directories
928 any more if HISTORY is greater than 28. Use saYYYYMMDD
930 * sa1 and sa2 scripts now take into account two new variables:
931 SA_DIR (directory where sa and sar files are located) and
932 ZIP (compression program to use).
933 * Make sysstat init script source the functions library
934 * Fix possible buffer overflow.
935 * Small fix with sadc's option -S: It is now possible to enter
936 several comma separated values.
937 * Don't install crontabs when using systemd timer units.
938 * Manual pages updated.
940 * NLS updated. Galician and Hungarian translations added.
941 * CREDITS file updated.
943 2014/03/18: Version 10.3.1 - Sebastien Godard (sysstat <at> orange.fr)
944 WARNING: Daily data files format has changed, and is *not*
945 compatible with the previous one! [0x2173]
946 * sar/sadc/sadf: Now take into account a change of CPU count
947 in datafiles. The number of CPU is displayed in the RESTART
949 * DTD and XSD documents updated.
950 * [Tomasz Torcz]: Add systemd timer units replacing cronjobs.
951 * [Mike Kazantsev]: Fix output of sadf -j with file-utc-time present.
952 * [Peter Portante]: sa2 script now also catches 'xz' compressed
954 * Rename nfsiostat to nfsiostat-sysstat and indicate it is now
955 obsolete. An nfsiostat command is already included in the
957 * When attempting to use a non existent daily datafile, sar and
958 sadf tell the user to check if data collecting is enabled.
959 * sadf -H now displays the number of activities in file.
960 * nfsiostat manual page updated.
962 * README file updated.
965 2014/01/19: Version 10.2.1 - Sebastien Godard (sysstat <at> orange.fr)
966 * Added new --enable-copy-only option to configure script.
967 This option may be useful when creating sysstat package to
968 make sure that files are only copied to $DESTDIR and that
969 no service is activated (eg. for distro using systemd).
970 * pidstat: Add a new metric to pidstat I/O statistics:
971 per-task block I/O delays.
972 * Take $DESTDIR variable into account when installing sysstat
973 service used by systemd.
974 * sadf -H, sadf -j and sadf -x now also display the file
976 * Use sizeof() instead of hardcoded size values.
977 * pidstat manual page updated.
981 2013/11/03: Version 10.2.0 - Sebastien Godard (sysstat <at> orange.fr)
982 * pidstat: Added option -v, enabling the user to display the
983 number of threads and file descriptors associated with tasks.
984 * Stack stats displayed by "pidstat -s" were sometimes not
985 displayed for some processes although values had changed.
987 * pidstat can now display stats since system startup for a list
988 of processes given on the command line.
989 * pidstat -d now displays -1 for I/O stats values when the
990 process I/O file cannot be read (permission denied or file
992 * mpstat and pidstat commands now exit immediately when they
993 get a SIGINT signal during the first interval of time.
994 * [Alexander Troosh]: mpstat: Take into account the highest
995 processor number in mpstat output.
996 * Rearrange options displayed by sar -h (upper case option
997 should be displayed before its lower case counterpart).
998 * Added "prealloc" variable to configure script. This variable
999 will determine the size of data files created by sar/sadc.
1000 * Added xz-compressed target to Makefile.
1001 * pidstat manual page updated.
1005 2013/09/13: Version 10.1.7 - Sebastien Godard (sysstat <at> orange.fr)
1006 * New metric added to sar network devices statistics: %ifutil
1007 now gives the network interface utilization percentage.
1008 * Now use a lightweight static library having only the necessary
1009 functions to compile sysstat commands. This results in a
1010 size 25% to almost 45% smaller for some commands.
1011 * [Kevin Johnson]: Rewrite rule for librdstats.a in Makefile
1012 to allow parallel execution.
1013 * [Peter Schiffer]: Fix wrong permissions for data file created
1014 by sa1 script when HISTORY is greater than 28.
1015 * [Muneyuki Noguchi]: Use %u instead of %d for unsigned int
1017 * [Muneyuki Noguchi]: Close file descriptor before exit in
1019 * [Muneyuki Noguchi]: Remove redundant NULL checks.
1020 * [James Fraser]: Replace comma with semi-colon in filesystems
1021 statistics header line.
1022 * Fixed sar log file corruption in odd Feb 28th edge-case.
1023 * Filesystems statistics (displayed by sar -F) are now collected
1024 by sadc only if option "-S XDISK" is used.
1025 * sar now collects all statistics (including partitions ones)
1026 when data are saved into a file with option -o.
1027 * [Yan Gao]: Update iostat manual page: Don't say that device
1028 saturation occurs when %util is close to 100% for devices
1029 serving multiple requests simultaneously.
1030 * Documentation fixes and updates.
1031 * Several manual pages updated (sar, sadc, sadf, sa1, sa2, sysstat).
1034 2013/06/09: Version 10.1.6 - Sebastien Godard (sysstat <at> orange.fr)
1035 * Filesystems statistics added to sar/sadc/sadf. These stats can
1036 be displayed with option -F.
1037 * DTD and XSD documents updated.
1038 * Code cleaned: Removed several unused constants from header files.
1039 * Sysstat command options can now be 'collapsed' (grouped) when
1040 not followed by an argument. So it's now possible for example
1041 to enter 'iostat -px 2 5' since no device name is given to
1042 option -p. This also concerns pidstat option -U.
1043 * Fixed type for "memfree" and "intr" elements in XSD document.
1044 * Removed functions used to count number of items from rd_stats.c
1045 and put them in a separate file (count.c).
1046 * NLS updated (da, hr, cs). Turkish translation added.
1047 * Typos fixed. README file updated.
1048 * Yet another cosmetic fix in pidstat manual page. Sar and
1049 mpstat manual pages updated.
1051 2013/03/31: Version 10.1.5 - Sebastien Godard (sysstat <at> orange.fr)
1052 * mpstat now takes into account every interrupt per processor
1053 so that their number adds up to the number displayed for CPU "all".
1054 * [Peter Schiffer]: systemd unit file couldn't be installed
1055 because PKG_PROG_PKG_CONFIG macro wasn't expanded in configure
1056 script. This is now fixed.
1057 * [Benno Schulenberg]: Fixed a small inconsistency in pidstat
1059 * Cosmetic fixes in pidstat manual page.
1060 * NLS updated (de, eo, fi, fr, ja, nb, nl, ru, uk, vi).
1061 * CREDITS file updated.
1063 2013/03/08: Version 10.1.4 - Sebastien Godard (sysstat <at> orange.fr)
1064 * [Christophe Cerin]: pidstat now stops and displays its average
1065 stats when it receives SIGINT (crtl/c).
1066 * mpstat now stops and displays its average stats when it
1067 receives SIGINT (crtl/c).
1068 * sar now stops and displays its average stats when it receives
1070 * pidstat now displays task's UID for all tasks.
1071 * pidstat: -U option added. This option tells pidstat to display
1072 the username of the task instead of its UID. When this option is
1073 followed by a user name, then only tasks belonging to the
1074 specified user are displayed by pidstat.
1075 * pidstat manual page updated.
1076 * Now use sigaction() instead of signal() for signals handling
1077 to avoid portability problems.
1081 2012/12/23: Version 10.1.3 - Sebastien Godard (sysstat <at> orange.fr)
1082 * Changed network counters (used by sar -n {DEV | EDEV }) to
1083 unsigned long long to keep in sync with current kernels.
1084 WARNING: This breaks compatibility with older sar data
1085 files format for network statistics.
1086 * Changed IPv4 counters (used by sar -n { IP | EIP}) to
1087 unsigned long long to keep in sync with current kernels.
1088 WARNING: This breaks compatibility with older sar data
1089 files format for IPv4 statistics.
1090 * Changed IPv6 counters (used by sar -n { IP6 | EIP6}) to
1091 unsigned long long to keep in sync with current kernels.
1092 WARNING: This breaks compatibility with older sar data
1093 files format for IPv6 statistics.
1094 * [Peter Schiffer]: Added option -y to iostat. This option
1095 prevents iostat from displaying its first report with
1096 statistics since system boot.
1097 * [Peter Schiffer]: Increase NR_CPUS and NR_IRQS values.
1098 * [John Lau]: sadc didn't collect all its activities when
1099 it had to overwrite an old sysstat data file with some
1100 unknown activity formats. This is now fixed.
1101 * Now install sadc in $prefix/lib64 directory on 64 bit machines
1102 even if $prefix/lib directory also exists.
1103 * Fixed DTD document: If computer has run all day without
1104 restart, XML output file from sadf -x has no boot elements.
1105 * Remove heading spaces in softirq names displayed by mpstat
1107 * Fixed wrong command execution syntax in configure script.
1108 * Removed several unused definitions in some header files.
1109 * iostat manual page updated.
1111 * CREDITS file updated.
1113 2012/10/06: Version 10.1.2 - Sebastien Godard (sysstat <at> orange.fr)
1114 * New field added to sar -u and mpstat: %gnice (time spent
1115 running a niced guest).
1116 * New field added to sar -r: kbdirty (amount of memory waiting
1117 to get written back to disk).
1118 * [Peter Schiffer]: systemd support added.
1119 * [Peter Schiffer]: Sysstat init script updated to make it
1120 more conforming to LSB.
1121 * XML DTD document name is now tagged with a version number.
1122 * Fixed a fatal error when compiled with -Werror=format-security.
1123 * sar, sadf and mpstat manual pages updated.
1124 * DTD and XSD documents updated.
1125 * Cosmetic change in sadf -H output.
1128 2012/07/29: Version 10.1.1 - Sebastien Godard (sysstat <at> orange.fr)
1129 * Added option -[0-9]+ to sar to show data of that days ago.
1130 * [Peter Schiffer]: Persistent device names support added to
1131 sar and iostat (option -j).
1132 * [Peter Schiffer]: Make sysstat disk counters consistent
1133 with those from latest kernel (3.5).
1134 WARNING: This breaks compatibility with older sar data
1135 files format for disk activity.
1136 * [Peter Schiffer]: sar: Use /sys/dev/block/major:minor links
1137 to determine devices real name.
1138 * Part of 'sadf -H' output was written to stderr instead of
1139 stdout. This is now fixed.
1140 * WARNING: sadf: Option '-T' has been renamed into '-U', and
1141 option '-t' has been renamed into '-T'.
1142 * sadf: New option -t added. This option tells sadf to display
1143 the timestamps in the local time of the data file creator
1144 instead of UTC. The same option exists for sar.
1145 * [Peter Schiffer]: Various cosmetic changes in manual pages
1146 and usage messages displayed by sysstat commands.
1149 * sar, sadf and iostat manual pages updated.
1151 2012/05/16: Version 10.0.5 - Sebastien Godard (sysstat <at> orange.fr)
1152 * [Alain Chereau]: Options -g and -T added to iostat. These
1153 options enable the user to display statistics for groups of
1155 * [Vitezslav Cizek]: sadc now overwrites its standard daily
1156 data file when this file is from a past month.
1157 * sadf: Change time format from HH-MM-SS to HH:MM:SS in the
1158 various reports displayed by sadf.
1159 * XSD document updated: Added a maxOccurs indicator for the
1161 * Added option --enable-collect-all to configure script.
1162 This option tells sadc to collect all possible activities,
1163 including optional ones.
1164 * [Peter Schiffer]: Set exit code to 0 for sa2 shell script.
1165 * NLS updated. Croatian translation added.
1166 * iostat and sadc manual pages updated.
1168 * CREDITS file updated.
1170 2012/03/07: Version 10.0.4 - Sebastien Godard (sysstat <at> orange.fr)
1171 * [Andrey Borzenkov]: Don't take virtual devices into account in
1173 * [Peter Schiffer]: iostat didn't display target device
1174 information when a symbolic link was specified as a parameter.
1176 * The number of jiffies spent by a CPU in guest mode given by the
1177 corresponding counter in /proc/stat may be slightly different
1178 from that included in the user counter. Take this into account
1179 when calculating current time interval value.
1180 * configure script updated: Added --disable-stripping option.
1181 Using this option tells configure to NOT strip object files.
1183 * sa1 manual page updated.
1184 * NLS updated. Serbian translation added.
1186 2011/11/27: Version 10.0.3 - Sebastien Godard (sysstat <at> orange.fr)
1187 * sadf: New output format added: JSON (JavaScript Object
1188 Notation). This format can be displayed with sadf's option -j.
1189 * [Jurgen Heinemann]: Fixed a bug in sadf XML output.
1190 * [Jurgen Heinemann]: Fixed several bugs in DTD and XSD
1192 * [Petr Uzel]: Fixed random crash with iostat when called with
1193 option -N [NOVELL Bug#729130].
1194 * sadf manual page updated.
1196 * CREDITS file updated.
1198 2011/08/28: Version 10.0.2 - Sebastien Godard (sysstat <at> orange.fr)
1199 * sadf modified to make it easier to add new output formats.
1200 Its design is still not generic anyway.
1201 * Option -T added to sadf: This option tells sadf to display
1202 timestamps in seconds since the epoch (when applicable).
1203 * Option "-P ON" added to mpstat. This option tells mpstat
1204 to display stats only for online CPU.
1205 * [Kei Ishida]: pidstat displayed stats for processes that
1206 had terminated while pidstat was running. This is now fixed.
1207 * [Jeroen Roovers]: Automate translation files handling in
1209 * DTD and XSD documents updated.
1210 * sadf and mpstat manual pages updated.
1211 * pidstat manual page updated: Added description of field %MEM
1212 displayed by pidstat -r.
1213 * Various cosmetic changes (sar.c, sadf.c).
1215 * CREDITS file updated.
1217 2011/06/03: Version 10.0.1 - Sebastien Godard (sysstat <at> orange.fr)
1218 * Added USB devices statistics to sar and sadc. The option
1219 "-m USB" can now be used with sar to take a snapshot of all
1220 the USB devices currently plugged into the system.
1221 * sadf -p now displays the sensor device name for temperature,
1222 voltage inputs and fans statistics.
1223 * sar and pidstat: Check that _("Average") string doesn't exceed
1224 the size of the timestamp buffer.
1225 * [Ivana Varekova]: Added option -h to iostat. This option makes
1226 the device utilization report easier to read with long device
1228 * [Ivana Varekova]: cifsiostat didn't count open files from the
1229 "Posix Open" column in /proc/fs/cifs/Stats file. This is now
1231 * [Ivana Varekova]: Close file descriptor in read_uptime()
1232 function (rd_stats.c file).
1233 * Fixed XML output displayed by sadf (hugepages statistics were
1234 included in <power-management> section).
1235 * sar: Decrease column width for sensor device name (temperature,
1236 voltage inputs and fans statistics).
1237 * Remove unnecessary arguments from functions in pr_stats.c.
1238 * sar manual page updated.
1239 * DTD and XSD documents updated and cleaned.
1240 * NLS updated. Esperanto translation added.
1241 * CREDITS file updated.
1243 2011/03/15: Version 10.0.0 - Sebastien Godard (sysstat <at> orange.fr)
1244 * [Ivana Varekova]: Fixed a problem with long NFS and CIFS share
1245 names in cifsiostat and nfsiostat.
1246 * [Ivana Varekova]: Added the possibility to extend the number
1247 of slots for NFS and CIFS mount points on the fly.
1248 * [Ivana Varekova]: Check calloc() return value in cifsiostat
1250 * [Jan Kaluza]: Added --debuginfo option to cifsiostat and
1252 * cifsiostat and nfsiostat manual pages updated.
1253 * Don't link sysstat's commands with sensors library if not
1254 needed [DEBIAN Bug#612571].
1255 * [Adam Heath]: iostat incorrectly mapped device-mapper IDs
1256 greater than 256. This is now fixed [DEBIAN Bug#614397].
1257 * Sysstat's commands option -V now displays the version number
1258 on stdout and returns 0 for the exit code.
1259 * sysstat_panic function is now defined only in DEBUG mode.
1260 * NLS updated. Ukrainian translation added.
1261 * CREDITS file updated.
1263 2010/12/26: Version 9.1.7 - Sebastien Godard (sysstat <at> orange.fr)
1264 INFO: stats_queue structure format has changed and is *not*
1265 compatible with the previous one [+1]
1266 * sar now tells sadc to read only the necessary groups of
1268 * Added a new metric (number of tasks waiting for I/O) to
1270 * Added two new metrics (amount of active and inactive
1272 * [Ivana Varekova]: Fix segfaults on bogus localtime input.
1273 * Fixed bogus CPU statistics output, which happened when
1274 CPU user value from /proc/stat wasn't incremented whereas
1275 CPU guest value was.
1276 * nfsiostat now takes into account POSIXLY_CORRECT environment
1277 variable. nfsiostat default output is expressed in kB/s,
1278 unless this variable is set (in which case the output is
1279 expressed in blocks/s).
1280 * No longer assume that device-mapper major number is 253.
1281 Get the real number from /proc/devices file.
1282 * DTD and XSD documents updated.
1283 * [Kenichi Okuyama]: Small change to sar manual page.
1284 * sar manual page updated.
1288 2010/11/10: Version 9.1.6 - Sebastien Godard (sysstat <at> orange.fr)
1289 WARNING: Daily data files format has changed, and is *not*
1290 compatible with the previous one! [0x2171]
1291 * Added a new magical value for each activity in file.
1292 A format change can now hit only one activity instead of
1294 * Added CPU average clock frequency statistics to sar and sadc.
1295 * Added hugepages utilization statistics to sar and sadc.
1296 * Fixed some differences between XML output (as displayed by
1297 sadf -x) and DTD document.
1298 * sadc -S POWER didn't include voltage inputs statistics.
1300 * Define groups of activities: Each activity has now a new
1301 attribute specifying the group it belongs to (POWER, IPV6, etc.)
1302 * [Ivana Varekova]: Moved manual pages to $prefix/share/man
1303 instead of $prefix/man.
1304 * [Ivana Varekova]: Fixed configure's --disable-man-group option.
1305 * [Ivana Varekova]: Added SADC_OPTIONS to sysstat configuration file.
1306 * [Ivana Varekova]: Added sysstat(5) manual page.
1307 * sar manual page updated.
1308 * DTD and XSD documents updated.
1310 * Split up prf_stats.c file into rndr_stats.c and xml_stats.c
1311 * Moved cron files in a separate cron subdirectory.
1312 * Made sysstat git aware.
1313 * CREDITS file updated.
1315 2010/09/12: Version 9.1.5 - Sebastien Godard (sysstat <at> orange.fr)
1316 * Added voltage inputs statistics to sar and sadc.
1317 * Added %temp field to device temperature statistics (sar -m TEMP).
1318 * Added drpm field to fan speed statistics (sar -m FAN).
1319 * XSD and DTD documents updated.
1320 * sar manual page updated. Indicate that svctm field should
1321 no longer be trusted.
1322 * Removed link to isag(1) from man pages.
1323 * NLS updated. Czech translation added.
1324 * Sample crontabs and sysstat init script: Don't collect disk
1328 2010/07/29: Version 9.1.4 - Sebastien Godard (sysstat <at> orange.fr)
1329 * [Jan Kaluza]: Added fan speed and device temperature
1330 statistics to sar and sadc.
1331 * [Jan Kaluza]: Configure script updated. Now check for
1333 * Configure script updated: Added --disable-sensors option.
1334 * Configure script updated: Removed --enable-smp-race option.
1335 * iconfig script updated.
1336 * sar manual page updated.
1337 * XSD and DTD documents updated.
1338 * [Ivana Varekova]: sysstat init script updated.
1339 * Default owner for sadc/sar crontab is now root.
1340 * Various fixes in cifsiostat and nfsiostat manual pages.
1343 2010/06/27: Version 9.1.3 - Sebastien Godard (sysstat <at> orange.fr)
1344 * [Ivana Varekova]: Move NFS code out from iostat and create
1345 the new nfsiostat command.
1346 * [Ivana Varekova]: Added cifsiostat command. This command
1347 displays CIFS statistics.
1348 * [Mario Konrad]: Added regular expressions support to pidstat's
1350 * [Mario Konrad]: Added option -s to pidstat to display stack
1352 * [Ivana Varekova]: Fixed condition used by sar to distinguish
1353 betwwen a counter reset by a newly registered device and a
1355 * [Jan Kaluza]: Added --debuginfo option to iostat.
1356 * [Jan Kaluza]: Added --enable-debuginfo option to configure script.
1357 * iconfig configuration script updated.
1358 * iostat manual page updated. Indicate that svctm field should
1359 no longer be trusted.
1360 * pidstat manual page updated.
1361 * autoconf script updated.
1363 * README and CREDITS files updated.
1365 2010/05/23: Version 9.1.2 - Sebastien Godard (sysstat <at> orange.fr)
1366 * Added r_await and w_await fields to iostat's extended statistics.
1367 * Added support for tickless CPUs in sar and mpstat.
1368 * NLS was not taken into account when mpstat or sar were displaying
1369 some null statistics. This is now fixed.
1370 * sadc no longer syncs data with its output file contents. It
1371 put a pain on flash devices as it undermined any tuning of
1372 the vm's write behavior [DEBIAN Bug#559686].
1373 * NLS updated. Basque translation added.
1374 * iostat, sar and sa1 manual pages updated.
1375 * CREDITS file updated.
1377 2010/02/28: Version 9.1.1 - Sebastien Godard (sysstat <at> orange.fr)
1378 * Remove support for kernels older than 2.6.x.
1379 * iostat now takes into account POSIXLY_CORRECT environment
1380 variable. iostat default output for disk utilization is
1381 expressed in kB/s, unless this variable is set (in which case
1382 the output is expressed in blocks/s).
1383 * mpstat can now display per processor software interrupts
1384 statistics. This requires Linux kernel 2.6.31 or later.
1385 * Because of a change in /proc/interrupts file format, mpstat
1386 was no longer counting the proper number of interrupts. This
1388 * Manual pages updated.
1392 2009/11/11: Version 9.0.6 - Sebastien Godard (sysstat <at> orange.fr)
1393 * "sadf -x" now takes into account options -s and -e (which
1394 specify a starting and ending time) and also interval and
1395 count parameters [DEBIAN bug#546259].
1396 * Option -C added to sadf. Use it to tell sadf to display comments
1397 present in file (also works with XML format).
1398 * sar and sadf sometimes didn't handle COMMENT records properly.
1400 * XML output (displayed by sadf -x) modified for kernel tables
1402 * XSD and DTD documents updated.
1403 * [Yibin Shen]: HZ variable was not explicitly set in sadc.c. This
1405 * [Lans Carstensen]: sargraph added (sargraph is a shell script
1406 used to make graphs based on sadf XML output).
1407 * sadf manual page updated.
1410 * CREDITS file updated.
1412 2009/09/20: Version 9.0.5 - Sebastien Godard (sysstat <at> orange.fr)
1413 * sysstat should now be able to pretty print device names whose
1414 minor numbers are greater than or equal to 256. (Tests have
1415 been made on a large 26TB RHEL5/PP Linux cluster.)
1416 * sadc manual page updated.
1420 2009/07/19: Version 9.0.4 - Sebastien Godard (sysstat <at> orange.fr)
1421 * [Jonathan Kamens]: Fix double free/memory corruption bug
1423 * [Jeroen Roovers]: Get entirely rid of implicit rule for
1424 libsyscom.a in Makefile to fix a problem with parallel
1426 * sysstat.ioconf configuration file updated.
1428 * CREDITS file updated.
1430 2009/05/24: Version 9.0.3 - Sebastien Godard (sysstat <at> orange.fr)
1431 * [Michael Blakeley]: Option -z added to iostat. This option
1432 tells iostat to omit output for any devices for which there
1433 was no activity during the sample period.
1434 * [Tomasz Pala]: Fix mpstat where interrupt values should be
1435 read as unsigned integers.
1436 * sar -n ALL didn't select IPv6 statistics. This is now fixed.
1437 * iostat, sar and mpstat manual pages updated.
1438 * sadf -x now displays file creation date.
1439 * XSD and DTD documents updated.
1440 * NLS updated. Latvian translation added.
1441 * CREDITS file updated.
1444 2009/04/02: Version 9.0.2 - Sebastien Godard (sysstat <at> orange.fr)
1445 * sadc can now collect partition statistics in addition to disk ones.
1446 Keywords XDISK and XALL have been added to -S option.
1447 * Fixed a memory corruption in pidstat and iostat. This corruption
1448 could happen when a list of comma-separated values following
1449 option -p was entered on the command line.
1450 * configure now takes into account a new variable named rcdir.
1451 This variable may be used to specify the directory where
1452 startup scripts will be installed.
1453 * The value of directory for installing documentation files
1454 can now be set with configure's --docdir option.
1455 * Fixed a small bug in activity.c file, where there was a
1456 missing semicolon between two fields.
1457 * sar and sadc manual pages updated.
1459 * CREDITS file updated.
1461 2009/03/07: Version 9.0.1 - Sebastien Godard (sysstat <at> orange.fr)
1462 * Fix a crash with sar where a pointer was freed twice.
1464 * sar manual page updated.
1465 * CREDITS file updated.
1467 2009/03/01: Version 9.0.0 - Sebastien Godard (sysstat <at> orange.fr)
1468 * Option -m added to sar. This option is intended to display
1469 power management statistics. At the present time, only
1470 CPU frequency statistics are available.
1471 * sadc updated: Option "-S POWER" tells sadc to collect power
1472 management statistics.
1473 * sadf command updated to take into account power management
1475 * [Mike Harvey]: No longer truncate the interval of time to
1476 32 bits, as this may cause some problems when displaying
1477 average values statistics on machines with hundreds of CPU.
1478 * read_uptime(): Cast values read from /proc/uptime to
1480 * Fixed a small bug in sar where it didn't parse arguments
1481 properly when some options were entered in a specific order.
1482 * sadc and sar manual pages updated.
1483 * XSD and DTD documents updated.
1486 * Code cleaned. Makefile cleaned.
1488 2009/01/11: Version 8.1.8 - Sebastien Godard (sysstat <at> orange.fr)
1489 * IPv6 support added. A bunch of new metrics have been added to
1490 sar, enabling the user to display statistics for IPv6 protocol
1491 family (IPv6, ICMPv6, UDPv6 and network sockets).
1492 * sadc updated: Option "-S IPV6" tells sadc to collect IPv6
1494 * sadf command updated to take into account IPv6 statistics.
1495 * Options -S (for sadc), -P (for mpstat, sar and sadf), -p (for
1496 iostat and pidstat) and -n and -I (for sar) now accept a list of
1497 comma-separated arguments.
1498 * [Ivana Varekova]: Make iostat display statistics for devices only
1499 (and not partitions) when not using its option -d. This was
1500 no longer possible with kernels 2.6.25 and later because iostat
1501 couldn't distinguish between devices and partitions any more.
1502 * iostat's options -x and -p are no longer mutually exclusive:
1503 Extended statistics are now available even for partitions with
1505 * iostat was unable to read stats from sysfs for devices who had
1506 a slash in their names (for example, iostat -p /dev/cciss/c0d0
1507 didn't work properly before). This is now fixed.
1508 * [Amir Rapson]: Fixed a bug in iostat where %CPU spent
1509 servicing hard and soft irq were counted twice. This bug
1510 was introduced in 8.1.5.
1511 * DTD and XSD files updated.
1512 * Manual pages updated.
1513 * NLS updated. Maltese translation added.
1514 * CREDITS file updated.
1516 2008/11/13: Version 8.1.7 - Sebastien Godard (sysstat <at> orange.fr)
1517 * Support for SNMP statistics added to sar. Several keywords
1518 have been added to option "-n". The user can now display
1519 statistics about IP, ICMP, TCP and UDP network traffic.
1520 * sadc updated: Option "-S SNMP" tells sadc to collect SNMP
1522 * sadf command updated to take into account SNMP statistics.
1523 * sadf -x now also displays number of CPU.
1524 * DTD and XSD files updated.
1525 * sar/sadc: Each item (like network interfaces) is now counted
1527 * [Eduardo Ferro Aldama]: Option -l added to pidstat. This
1528 option enables the user to display the whole command line for
1530 * Option -h added to sar. This option displays a short help message.
1531 * Cosmetic change in sadf -x output for network statistics.
1532 * sadf -H now displays the real name of each activity saved in file.
1533 * Fixed some memory leaks detected by valgrind.
1534 * pidstat, sar and sadc manual pages updated.
1537 * CREDITS file updated.
1540 2008/09/30: Version 8.1.6 - Sebastien Godard (sysstat <at> orange.fr)
1541 * [David Alan Gilbert]: Option -h added to pidstat. This
1542 option is used to display all activities horizontally on a
1544 * Fixed a bug in pidstat: When pidstat was used to monitor a
1545 process and all its threads (with pidstat's option -t), it
1546 could display weird values if the thread group leader terminated.
1547 * Header line displayed by sar, iostat, mpstat, pidstat and
1548 sadf -H now includes the number of CPU.
1549 * Use the correct word TGID instead of PID with pidstat -t.
1550 * mpstat now displays stats for all interrupts, including NMI,
1552 * sar and sadf now check that CPU activity is available in file.
1553 * iostat's option -t now always displays the date and the time.
1554 * Added option "--disable-documentation" to ./configure. Using
1555 this option prevents documentation files (including manual
1556 pages) from being installed.
1557 * iconfig script updated. Now ask the user for documentation
1558 and isag script installation.
1559 * Manual pages updated.
1560 * NLS updated. Indonesian and Chinese (traditional) translations
1562 * README-nls file updated.
1563 * Makefile updated: There is now a dedicated target to install
1564 or uninstall NLS files
1566 * CREDITS file updated.
1569 2008/07/14: Version 8.1.5 - Sebastien Godard (sysstat <at> orange.fr)
1570 * Added virtual machine time accounting to "sar -u ALL" and
1572 * pidstat has also been updated to be able to display time
1573 spent in virtual machine for a task, and for a task and all
1575 * Option -S added to sar: This options tells sar to display
1576 swap space utilization. Option -r now only displays memory
1578 * Added %swpcad to sar -S (percentage of cached swap memory
1579 in relation to the amount of used swap space).
1580 * Added kbcommit and %commit to sar -r (amount and percentage
1581 of memory needed for current workload).
1582 * sadf -x now distinguishes between options -r and -R.
1583 * sadf command updated to take into account new fields
1584 (%guest, %swpcad, etc.)
1585 * [Ivana Varekova]: iostat now displays the total number of
1586 operations per second in the NFS report.
1587 * Fixed iostat so that %system (percentage of CPU utilization
1588 that occurred while executing at system level) also takes
1589 into account time spent to service interrupts and softirqs.
1590 * Added a missing header line for activities with multiple
1591 outputs displayed by sar (eg. sar -rR ...).
1592 * Makefile updated: There is now a dedicated target to install
1593 or uninstall manual pages.
1594 * Manual pages updated.
1596 * XSD and DTD documents updated.
1597 * isag script updated.
1599 2008/06/22: Version 8.1.4 - Sebastien Godard (sysstat <at> orange.fr)
1600 * sar can now collect and display all CPU fields with its new
1601 option "-u ALL". sadf has also been updated to be able to
1603 * mpstat can now display per-CPU interrupts statistics with its
1604 option "-I CPU". This was a feature available in sar that was
1605 removed in previous sysstat version.
1606 * mpstat uses now a separate option ("-I SUM") to display the
1607 total number of interrupts for each processor.
1608 * Option -A added to mpstat. This switch tells mpstat to display
1609 all possible activities.
1610 * NFS v4 support added to sar -n NFS(D). When both NFS v3 and
1611 NFS v4 are used, stats from NFS v3 and NFS v4 are added
1612 together [DEBIAN bug#434442].
1613 * Code cleaned: mpstat, iostat and pidstat now use the common
1614 functions from rd_stats.c to read CPU stats from /proc/stat;
1615 Computing extended disk statistics (service time, etc.) is now
1616 done in one place (common function used by iostat, sar, sadf).
1617 * All sysstat commands are made consistent with how parameters
1618 are interpreted: "COMMAND <interval>" now generates a report
1619 continuously, "COMMAND <interval> 0" causes an error,
1620 "COMMAND 0" displays a report since system startup
1621 [DEBIAN bug#475707].
1622 * Changed XML output for processes and context switches displayed
1623 by sadf -x to be consistent with output from sar.
1624 * mpstat and sar manual pages updated.
1625 * isag script updated.
1627 * DTD and XML Schema updated.
1630 2008/05/25: Version 8.1.3 - Sebastien Godard (sysstat <at> orange.fr)
1631 WARNING: Daily data files format has changed, and is *not*
1632 compatible with the previous one! [0x2170]
1633 * sar, sadc and sadf heavily modified. It is now easier to add
1634 (or remove) activities since sar and sadc have been rewritten
1635 in a non-monolithic way with a generic design architecture.
1636 * Option -c removed from sar. Task creation and context switch
1637 activities are now merged and available with option -w.
1638 * sar no longer displays interrupts per processor statistics.
1639 This feature will be included in mpstat in next sysstat version.
1640 * Option -S added to sadc. This option replaces previous options
1641 -I or -d, and is used to select activities that should be
1642 collected and saved in file. It is even possible to
1643 select each activity collected by sadc.
1644 * Format of data files created by sar/sadc heavily modified.
1645 In some cases, it is now possible to add or remove activities
1646 while keeping a compatible format that can be read by a previous
1647 or future sysstat version.
1648 * sadf now only displays activities that have been explicitly
1650 * sar now checks that devices displayed by option -d are whole
1651 devices (and not partitions) using sysstat.ioconf configuration
1652 file. If this file is not found in its default directory, then
1653 sysstat looks for it in current directory.
1654 * gettextize entire usage() messages so that translators have
1656 * DTD and XML Schema updated.
1657 * Manual pages updated.
1658 * Crontab samples updated.
1662 2008/03/16: Version 8.1.2 - Sebastien Godard (sysstat <at> orange.fr)
1663 * [Ivana Varekova]: iostat now displays read and write operations
1664 per second in the NFS report.
1665 * [Tomas Mraz]: sadc now retries to write its buffers when the
1666 write() call has been interrupted by a signal.
1667 * Use setbuf() call instead of fflush() to indicate that data
1668 should not be buffered to stdout.
1669 * Option -h added to sadf. Used with options -d or -D, it
1670 indicates that all activities should be displayed horizontally
1671 on a single line of data.
1672 * sadf -d and sadf -D now display the list of fields for easier
1674 * sadf and iostat manual pages updated.
1675 * NLS updated: Chinese (simplified) translation added, other
1676 translations updated.
1678 2008/02/10: Version 8.1.1 - Sebastien Godard (sysstat <at> orange.fr)
1679 WARNING: Daily data files format has changed, and is *not*
1680 compatible with the previous one! [0x216f]
1681 * System activity data files now have extra header data that
1682 enable to identify which version of sysstat created them.
1683 * sadf -H now displays the version of sysstat used to create
1684 a system activity data file.
1685 * Machine architecture is now displayed in the reports header.
1686 sadf -x also displays machine architecture.
1687 * DTD and XML Schema documents updated.
1688 * The number of processors was not properly calculated on
1689 machines where a directory named cpuidle was present in the
1690 /sys/devices/system/cpu directory [GENTOO bug# 207886].
1691 * Use __CPU_SETSIZE definition from <sched.h> instead of a
1692 static definition for the maximum number of CPUs (NR_CPUS).
1693 * Improved error messages displayed by sysstat's commands.
1694 * NLS updated: Finnish translation added, Dutch translation
1697 * Code cleaned and documented. Linux-like style applied to
1698 code source. Large functions split into smaller ones.
1700 2008/01/06: Version 8.0.4 - Sebastien Godard (sysstat <at> orange.fr)
1701 * Removed a 'packed' attribute in pidstat.h that generated
1702 a warning with gcc 4.1.1.
1703 * Take account of all memory zone types when calculating
1704 pgscank, pgscand and pgsteal displayed by sar -B.
1705 * XML Schema added. Useful with sadf option -x.
1706 * sadc and sadf manual pages updated.
1707 * NLS updated: Dutch translation added.
1708 * NLS updated: Brazilian Portuguese translation added.
1709 * NLS updated: Vietnamese translation added.
1710 * NLS updated: Kirghiz translation added.
1711 * NLS updated: Added a PO template file in nls directory.
1712 Makefile modified to enable PO files update.
1713 * sccsid string now also includes package name and version number.
1714 * Makefile updated: Startup links are named S01xxx instead of S03xxx
1715 to be consistent with chkconfig values.
1716 * Various spelling fixes.
1717 * CREDITS file updated.
1719 2007/11/19: Version 8.0.3 - Sebastien Godard (sysstat <at> orange.fr)
1720 * mpstat and sar didn't parse /proc/interrupts correctly when
1721 some CPUs had been disabled. This is now fixed.
1722 * Fixed a bug in pidstat where a confusion between PID and TID
1723 could sometimes happen, resulting in erroneous statistics
1724 values being displayed.
1725 * iconfig script updated: Help for --enable-compress-manpg
1726 parameter is now available, help for --enable-install-cron
1727 parameter updated, added parameter cron_interval.
1728 * sa2 shell script can now compress sar data files using bzip2.
1729 * Makefile updated: Now also remove sysstat.crond.sample.in.
1730 Documentation is installed in $prefix/share/doc/ instead of
1731 $prefix/doc/ directory.
1734 * CREDITS file updated.
1735 * Sysstat's URL updated.
1737 2007/10/26: Version 8.0.2 - Sebastien Godard (sysstat <at> orange.fr)
1738 * Option -w added to pidstat. pidstat can now display task
1740 * Fixed a memory leak in pidstat that was triggered when
1741 reading stats for threads.
1742 * Fixed a bug where device names were incorrectly displayed by
1743 sar -d or sar -dp. Fixed also this bug for sadf.
1744 * When using option -o, sar now saves by default all the
1745 statistics into the file, including interrupts and disks
1746 statistics. Interrupts and disks statistics remain optional
1748 * sysstat startup script updated.
1749 * sar and pidstat manual pages updated.
1753 * CREDITS file updated.
1755 2007/09/30: Version 8.0.1 - Sebastien Godard (sysstat <at> orange.fr)
1756 * Option -t added to pistat. pidstat can now display stats for
1757 every thread (TID) of a process.
1758 * pidstat's option -T CHILD now reports global statistics for
1759 selected tasks and all their children (and not only for the
1761 * pidstat now reads VSZ and RSS values from /proc/#/stat instead
1763 * Fixed a rare parallel make issue creating archive libsyscom.a
1764 [GENTOO bug #193208].
1765 * pidstat manual page updated.
1766 * SCCS identification string added to all commands.
1769 * CREDITS file updated.
1771 2007/09/02: Version 8.0.0 - Sebastien Godard (sysstat <at> orange.fr)
1772 WARNING: Daily data files format has changed, and is *not*
1773 compatible with the previous one! [0x216e]
1774 * pidstat command improved. It is now able to report CPU and
1775 page fault statistics for the child processes of a task.
1776 * Option -T added to pidstat. This option tells pidstat if
1777 statistics are to be reported for tasks (which is the default)
1778 or for their children.
1779 * Fixed a security flaw in sysstat startup script (CVE-2007-3852).
1780 * Removed super*, dquot* and rtsig* fields from sar -v.
1781 They were made obsolete in Linux kernels 2.6.
1782 * Fields file-sz and inode-sz from sar -v renamed to file-nr
1784 * Added field pty-nr (number of pseudo-terminals) to sar -v.
1785 * Added field tcp-tw (number of sockets in TIME_WAIT state)
1787 * sar and sadf updated so that they can properly extract records
1788 (with their options -s and -e) from a file containing data for
1789 two consecutive days.
1790 * Added option "--enable-install-isag" to "configure" to enable
1791 the user to install isag script.
1792 * Fixed a typo in iconfig script: The user was unable to specify
1794 * Manual pages updated.
1795 * Sysstat DTD file updated.
1799 * CREDITS file updated.
1800 * Author's email updated.
1802 2007/07/08: Version 7.1.6 - Sebastien Godard (sysstat <at> wanadoo.fr)
1803 WARNING: Daily data files format has changed, and is *not*
1804 compatible with the previous one! [0x216d]
1805 * New VM paging metrics added to sar (option -B).
1806 * Options -x and -X have been removed from sar. Use pidstat(1)
1808 * NR_CPUS increased to 16384 so that sysstat can be used on
1810 * Fixed a bug in sadc.c where it was using a hardcoded 256 char
1811 buffer to store lines read from /proc/interrupts.
1812 * sar updated to avoid overflow when computing some average values.
1813 * sar and mpstat manual pages updated.
1814 * Sysstat DTD file updated.
1817 * CREDITS file updated.
1819 2007/06/07: Version 7.1.5 - Sebastien Godard (sysstat <at> wanadoo.fr)
1820 WARNING: Daily data files format has changed, and is *not*
1821 compatible with the previous one! [0x216c]
1822 * Option -d added to pidstat: This option reports I/O statistics
1823 for individual tasks.
1824 * Option -C added to sadc: This option enables the user to insert
1825 a timestamped comment in the binary data file.
1826 * Option -C added to sar: This option tells sar to display
1827 comments inserted in the binary data file by sadc.
1828 * sadf updated to display comments.
1829 * Fixed a bug that could happen while reading /proc/interrupts,
1830 where irq numbers can now be 4 digits long in recent kernels.
1831 * Fixed a possible buffer overflow in ioconf.c.
1832 * Makefile updated: Remove previous manual pages before installing
1834 * pidstat, sar and sadc manual pages updated.
1835 * Sysstat DTD file updated.
1836 * Fixed DTD version in sadf.h.
1838 * CREDITS file updated.
1840 2007/04/29: Version 7.1.4 - Sebastien Godard (sysstat <at> wanadoo.fr)
1841 * Addition of a new command "pidstat" aimed at displaying
1842 per-process statistics.
1843 * Option -N added to iostat. This option enables the user to
1844 query any device-mapper devices for their registered device name
1846 * Fixed a small memory leak in readp_uptime() function.
1847 * Typo fixed in configure.in file
1848 (s+INIT_DIR/etc/rc.d/init.d+INIT_DIR=/etc/rc.d/init.d+).
1849 * Stricter syntax checking for iostat.
1850 * sar -dp now displays the device as "devM-N" (instead of "nodev")
1851 when it can't find its real name in sysstat.ioconf file.
1852 * iostat -t now also takes into account the value of environment
1853 variable S_TIME_FORMAT.
1854 * Manual pages now take into account variables defined by
1856 * isag now takes into account variables defined by "configure".
1857 * "configure" now determines automatically whether workaround for
1858 SMP race is needed. This workaround is for SMP kernels 2.2.x with
1860 * pidstat manual page added. Other manual pages updated.
1864 * Code cleaned again and again...
1865 * Removed sargon from contrib directory since its features are
1866 now included in sysstat by default.
1868 2007/03/27: Version 7.1.3 - Sebastien Godard (sysstat <at> wanadoo.fr)
1869 WARNING: Daily data files format has changed, and is *not*
1870 compatible with the previous one! [0x216b]
1871 * Hotplug CPU support: Fixed a bug that happened when sar tried
1872 to read a datafile created while a least one processor was
1874 * Better support for keeping sar logfiles for more than one month
1875 (several bugs fixed in sa1 and sa2 scripts).
1876 * Fixed a small bug in sa2 script, where obsolete log files would not
1877 be deleted if system activity directory was a symbolic link to
1878 some other directory.
1879 * The new variable "conf_dir" now enables the user to specify sysstat
1880 configuration directory. This variable is used by "configure".
1881 * Added option "--enable-compress-manpg" to "configure" to enable the
1882 user to compress manual pages during installation.
1883 * Removed some 'packed' attributes in sa.h and iostat.h that
1884 generated warnings with gcc 4.1.1.
1885 * isag (Interactive System Activity Grapher) improved.
1886 * CREDITS file updated.
1889 2007/03/04: Version 7.1.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
1890 WARNING: Daily data files format has changed, and is *not*
1891 compatible with the previous one! [0x216a]
1892 * Better hotplug CPU support. Now sysstat no longer assumes that
1893 CPU#0 can never be disabled. It uses /proc/uptime file to
1894 compute time interval.
1895 * Various structures realignment to save memory (and disk space).
1896 * Make sar -n display network traffic in kilobytes instead of bytes.
1897 * Make sysstat compile cleanly with gcc 4.0.2.
1898 * sysstat DTD file updated.
1899 * NLS updated: Danish translation added.
1900 * Manual pages updated.
1901 * CREDITS file updated.
1903 2007/02/21: Version 7.1.1 - Sebastien Godard (sysstat <at> wanadoo.fr)
1904 * Autoconf support added.
1905 * iconfig (Interactive Configuration script) added. iconfig is
1906 a front-end to ./configure.
1907 * spec file updated.
1909 * sadf manual page updated.
1910 * CREDITS file updated.
1912 2007/02/04: Version 7.0.4 - Sebastien Godard (sysstat <at> wanadoo.fr)
1913 * Removed linux/major.h from list of files included in ioconf.c.
1914 It was actually not used and also prevented sysstat from being
1915 compiled on GNU/kFreeBSD.
1916 * Sysstat scripts (sa1, sa2, sysstat) modified to enable the user
1917 to keep sar data for more than one month.
1918 * New parameter (COMPRESSAFTER) added to /etc/sysconfig/sysstat.
1919 It gives the number of days after which sar datafiles must be
1920 compressed to save disk space.
1921 * Replaced the word "Device" with "Filesystem" for iostat
1923 * iostat manual page updated.
1924 * Makefile updated: don't use a static list of languages to
1926 * "make install" now always install sysstat configuration file
1927 (default location is /etc/sysconfig).
1929 * Added my email address when displaying sysstat version.
1932 2006/12/03: Version 7.0.3 - Sebastien Godard (sysstat <at> wanadoo.fr)
1933 * iostat NFS statistics added.
1934 * iostat manual page updated.
1935 * Columns "r/s" and "w/s" enlarged for iostat -x.
1936 * Minor change so that sar -u may fit in 80 columns.
1938 * CREDITS file updated.
1940 2006/10/22: Version 7.0.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
1941 * Hotplug CPU support added to sar and mpstat
1942 * Use /sys to count the number of available processors.
1943 /proc/stat is used for that only if /sys is not found.
1944 * sysstat DTD updated.
1945 * sysstat spec file updated (gettext is now required).
1946 * NLS updated: Swedish translation added.
1947 * Manual pages updated.
1949 * CREDITS file updated.
1951 2006/09/17: Version 7.0.1 - Sebastien Godard (sysstat <at> wanadoo.fr)
1952 * Use now sysconf() function to get the size of a memory page
1953 instead of using header file <asm/page.h>.
1954 * The time specified with sadf options -s and -e is now always
1955 considered as given in local time. sadf output is now really
1956 consistent with that of sar.
1957 * Fixed a bug in the SREALLOC() macro which was causing sar to
1958 exit unexpectedly with this message: "realloc: Success".
1959 * Try to better guess when a stats title line has to be displayed
1961 * Makefile updated (SMP_RACE definition was no longer taken into
1962 account when compiling sadc).
1963 * sysstat spec file updated.
1964 * sar and sadf manual pages updated.
1966 * CREDITS file updated.
1968 2006/07/09: Version 7.0.0 - Sebastien Godard (sysstat <at> wanadoo.fr)
1969 * S_TIME_DEF_TIME environment variable added for sar, sadc and
1971 * Use now sysconf() function to get the number of clock ticks
1972 per second (HZ value) instead of using kernel include file
1974 * Columns "Device", "rrqm/s" and "wrqm/s" enlarged for iostat -x.
1975 * sysstat installation process updated to use chkconfig if
1977 * Manual pages updated.
1979 * sysstat web site address updated.
1981 * CREDITS file updated.
1983 2006/05/24: Version 6.1.3 - Sebastien Godard (sysstat <at> wanadoo.fr)
1984 WARNING: Daily data files format has changed, and is *not*
1985 compatible with the previous one! [0x2169]
1986 * Option -P can now be used with sar even on SMP machines where
1987 only one processor is available.
1988 * Small bug fixed for mpstat, where explicitly specifying
1989 processor 0 ("-P 0") could lead to incorrect output on UP
1991 * Option -D added to sadf: this option displays the contents of
1992 a data file in a database-friendly format with a timestamp
1993 expressed in seconds from the epoch.
1994 * sadf manual page updated.
1996 * CREDITS file updated.
1998 2006/04/23: Version 6.1.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
1999 * Fix incorrect NFS client and server statistics for sar.
2000 * sar can now display stats for newly created processes when
2001 option -x ALL or -X ALL is used.
2002 * iostat -x was displaying redundant information. It now
2003 displays amount of data read from or written to devices in
2004 sectors, kilobytes or megabytes depending on the switch used.
2005 * isag updated to keep up with current sar version.
2006 * sar and mpstat manual pages updated.
2009 2006/02/22: Version 6.1.1 - Sebastien Godard (sysstat <at> wanadoo.fr)
2010 WARNING: Daily data files format has changed, and is *not*
2011 compatible with the previous one! [0x2168]
2012 * New field added to sar: %steal.
2013 * The size of a long integer in now saved in the header of the
2014 data file created by sar. This size can be displayed with
2016 * Replaced the keyword "FULL" by the keyword "ALL" for sar -n
2017 to be consistent with remaining options.
2018 * Makefile updated (use implicit rules).
2019 * sar manual page updated.
2020 * CREDITS and FAQ files updated.
2022 2005/11/28: Version 6.0.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
2023 * New field added to mpstat and iostat: %steal.
2024 * sar updated to take into account cpu steal time.
2025 * Off-by-one error in ioc_conv which was corrupting device names
2026 on 64-bit architecture [Debian bug #334305].
2027 * Binary RPM package now installs a sample crontab in /etc/cron.d.
2028 * Makefile updated (remove sysstat.cron.* during make clean -
2029 new target added: sysstat.crond.sample).
2030 * sar now checks exit code from dup2() system calls.
2031 * Option -V now only displays sysstat version number.
2034 * Manual pages updated.
2036 2005/06/25: Version 6.0.1 - Sebastien Godard (sysstat <at> wanadoo.fr)
2037 * Fixed a memory leak in ioconf parsing functions used by sar
2039 * sar now displays its statistics to STDOUT in addition to saving
2040 them into the file when option -o has been entered on the
2042 * sar now recalculates number of system items (network interfaces,
2043 disks, serial lines, etc.) when a file rotation happens.
2044 * Make sar -b work again when used without option -d.
2045 * Small changes so that sysstat can be compiled with gcc-4.0.1.
2046 * sysstat updated so that it may be installed on Slackware.
2047 * sar manual page updated.
2048 * CREDITS file updated.
2051 2005/05/14: Version 6.0.0 - Sebastien Godard (sysstat <at> wanadoo.fr)
2052 WARNING: Daily data files format has changed, and is *not*
2053 compatible with the previous one! [0x2167]
2054 * Additional fields added to sar -y (TTY statistics). sar, sadf
2056 * sar -d now only reports for used devices (devices with non zero
2058 * Stricter sadf syntax checking: various output formats are now
2060 * Stricter iostat syntax checking: -k and -m options are now
2062 * iostat: option -m is now taken into account even when
2063 displaying extended statistics.
2064 * Fixed a bug that prevented iostat from displaying stats about
2065 devices that were unknown in sysstat.ioconf file.
2066 * iostat might display bogus sectors values when the corresponding
2067 kernel counters had overflown. This is now fixed.
2068 * "sadf datafile -- -A" should also display individual interrupts
2069 if available in datafile.
2070 * Fixed a bug that prevented sar -x from displaying stats about a
2071 process if it was after the first 256 processes in the process
2073 * Manual pages updated.
2074 * sa1 script always uses option -d in crontab.
2075 * sysstat.ioconf device configuration file updated.
2077 * FAQ and CREDITS files updated.
2080 2005/02/25: Version 5.1.5 - Sebastien Godard (sysstat <at> wanadoo.fr)
2081 * -x option added to sadf: it is now able to display the contents of
2082 a sar datafile in XML. The corresponding DTD (Document Type
2083 Definition) is included in the sysstat package.
2084 * Small code change so that sysstat may be compiled with gcc-4.0.
2085 * A few typos fixed in formulas used by sadf to display stats
2086 on machines where HZ<>100 (typos appeared in sysstat 5.1.4).
2087 * Fixed a bug in the stats displayed by sar -d.
2088 * Removed a false workaround in iostat: better show that the kernel
2089 is buggy rather than display a value that seems correct but which
2091 * Fixed sar -i option which might not select records at the specified
2092 interval on machines with multiple processors.
2093 * NLS updated and cleaned. Do no longer translate fields names (sar,
2094 iostat, etc.). Changed nb_NO.po and nn_NO.po files to nb.po and
2096 * Bug fixed in spec file: when installing sysstat i586 RPM package,
2097 sa1 and sa2 scripts were pointing to the wrong sadc location.
2098 * Now sar and sadc display the magic number when they meet an
2099 invalid system activity file.
2100 * sadf manual page updated.
2101 * sysstat RPM spec file is now included in source package.
2103 * FAQ, Makefile and CREDITS files updated.
2105 2005/01/02: Version 5.1.4 - Sebastien Godard (sysstat <at> wanadoo.fr)
2106 WARNING: Daily data files format has changed, and is *not*
2107 compatible with the previous one! [0x2166]
2108 * NFS client and server statistics added to sar.
2109 * sar -d now only reads stats for devices (and not partitions)
2110 from /proc/partitions. (This is what it was already doing with
2112 * Display routines from sadf merged, so that -ppc and -db
2113 always output the same values.
2114 * sadf updated to handle NFS statistics.
2115 * sadf can now display the header of a data file (option -H).
2116 * Define MAX_BLKDEV in ioconf.h if non-existent in <linux/major.h>.
2117 * sar now looks for sadc in one directory only, specified at
2118 compile time. Moreover it is now possible to have two different
2119 sysstat versions installed: sar knows where its sadc counterpart
2121 * sapath.in removed. SADC_PATH is defined in CONFIG file.
2122 * sar and sadf manual pages updated.
2123 * sysstat.ioconf file updated.
2124 * Fixed a bug in i386 RPM package, where sadc location was not
2125 consistent with that of sar. Spec file updated.
2128 * Various cosmetic changes (code and manual pages). Code cleaned.
2129 * FAQ and CREDITS files updated.
2131 2004/11/22: Version 5.1.3 - Sebastien Godard (sysstat <at> wanadoo.fr)
2132 WARNING: Daily data files format has changed, and is *not*
2133 compatible with the previous one! [0x2165]
2134 * Option -p added to sar: It enables sar (and also sadf) to
2135 display device names as they appear in /dev.
2136 * sysstat.ioconf support added.
2137 * New fields added to sar -d (more disk activities displayed):
2138 avgrq-sz, avgqu-sz, await, svctm, %util.
2139 * sadf updated to handle new disk activities.
2140 * I/O and transfer rate statistics as displayed by sar -b are
2141 available whatever the version of the kernel is (i.e. even on
2143 * Disk stats are read by sadc from /proc/stat only if they cannot
2144 be read from /proc/{partitions,diskstats}.
2145 * sadc: Some variables declarations moved around.
2146 * sar manual page updated.
2147 * Added workaround for EMC PowerPath driver bug to enable iostat
2148 to display proper device name.
2149 * Makefile updated: Use $@ and $< everywhere; 'make {iostat,mpstat}'
2150 work again; Create object files before linking; Removed unused
2151 IOS_DFLAGS variable; Use DESTDIR variable everywhere; Create
2152 libsysioc.a; Install sysstat.ioconf.
2154 * README and CREDITS files updated.
2156 2004/11/05: Version 5.1.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
2157 * sar -d now also uses /proc/partitions to get its data.
2158 From now on sar -d looks in the following files in that order:
2159 /proc/diskstats, /proc/partitions, /proc/stat.
2160 * sadc writes disks data to file only if -d option is explicitly
2161 set on the command line.
2162 * sadc now reads individual interrupts data from /proc/stat only
2163 if -I option was entered on the command line.
2164 * 'sar -A' is now equivalent to 'sar -bBcdqrRuvwWy -I SUM -I XALL
2165 -n FULL -P ALL' (i.e. individual interrupts are also included
2167 * Option -m now tells iostat to display statistics in megabytes
2168 per second instead of blocks per second.
2169 * Make history (number of days to keep log files) configurable
2170 in /etc/sysconfig/sysstat file, which is used by sa2 script.
2171 * Now use Vixie cron to launch sadc when possible.
2172 * sadc, sa1 and sa2 may now be installed in another directory
2173 than ${PREFIX}/lib/sa. This is useful on 64-bit systems where
2174 the proper directory should be ${PREFIX}/lib64/sa.
2175 * When uninstalling sysstat, always delete sysstat script,
2176 config file and links in /etc tree. Also always delete
2178 * sysstat script now returns real exit code.
2179 * sar/sadc: Stricter syntax checking for -x and -X options use.
2180 * sysstat "*.sh" files renamed in "*.in".
2182 * sadc and sar manual pages updated.
2185 * CREDITS and README files updated.
2187 2004/10/09: Version 5.1.1 - Sebastien Godard (sysstat <at> wanadoo.fr)
2188 WARNING: Daily data files format has changed, and is *not*
2189 compatible with the previous one! [0x2164]
2190 * sar now reads CPU data, number of context switches, number
2191 of sectors and total number of interrupts as 64-bit unsigned
2192 values. It also reads the number of running processes as
2193 unsigned long instead of unsigned int.
2194 * sadf - System activity data formatter command added.
2195 * Options -h and -H removed from sar. "sar -h" is replaced by
2196 "sadf -p", and "sar -H" is replaced by "sadf -d". Read sadf
2197 manual page, as its syntax is a bit different from that of sar.
2198 * Common code for sar and sadf moved to sa_common.c file.
2199 * pid_stats members don't need to be aligned since these stats
2200 are not written to daily data files. Packing them saves some
2201 memory on 32-bit architectures.
2202 * No longer indicate that -x and -X are possible options for sadc.
2203 They are only useful when used as options for sar, not sadc.
2204 * Minor buffer overrun fixed in iostat.
2205 * Updated CPU header for iostat and mpstat: CPU used while executing
2206 at the system level is displayed as '%system' by iostat (like sar)
2207 and as '%sys' by mpstat.
2208 * sadf manual page added. Other manual pages updated.
2209 * Updated the GPL notices (the address of the FSF was wrong).
2212 * README, FAQ and CREDITS files updated.
2214 2004/08/09: Version 5.0.6 - Sebastien Godard (sysstat <at> wanadoo.fr)
2215 * The value for file-sz reported by sar -v was a number of free
2216 handles, and not a number of used ones! This is now fixed (and
2217 this is really now a number of _used_ file handles).
2218 * Now ask during config stage for the directory where sadc will
2219 be located. This may be useful for some systems where sadc
2220 needs to be installed in a specific location (e.g. on 64 bit
2221 s390 systems, the proper directory should be /usr/lib64/sa).
2222 * sa1 script updated: Use '-' to specify current daily data file
2223 instead of guessing its name using current date.
2224 * NLS updated: be consistent with GNU gettext standards.
2225 * iostat manual page updated.
2228 * CREDITS file updated.
2230 2004/06/08: Version 5.0.5 - Sebastien Godard (sysstat <at> wanadoo.fr)
2231 * Timestamp is no longer limited to 11 characters. This should
2232 avoid problems with somes locales (for example Japanese locale,
2233 where 'mojibake' used to be displayed by sar and mpstat sometimes).
2234 * Fixed a bug in sysstat RPM spec file (symlinks to sysstat
2235 script were wrong in /etc/rc.d directories).
2236 * sar now checks parameters for options -n, -s and -e more
2238 * NLS updated: Japanese translation added.
2239 * Various typos fixed in several files (manual pages, README, etc.)
2240 * CREDITS file updated.
2242 2004/05/20: Version 5.0.4 - Sebastien Godard (sysstat <at> wanadoo.fr)
2243 * When trying to lock file, sadc now checks for both EWOULDBLOCK
2244 and EAGAIN error codes to be portable.
2245 * sar could sometimes display a line whose time stamp was greater
2246 than the limit set by -e option. This is no longer possible.
2247 * The sadc command in sysstat.sh script had to be enclosed in
2248 quotes to work when called via 'su -c'.
2249 * The sysstat.sh script was sending the output of sadc command
2250 to stdout instead of the standard system activity file. This
2252 * Outfile must now be explicitly set to "-" for sadc to use the
2253 standard system activity file.
2255 * iostat manual page updated. Typo fixed in sadc manual page.
2256 * Fixed the "Save picture" option of isag script.
2258 2004/04/07: Version 5.0.3 - Sebastien Godard (sysstat <at> wanadoo.fr)
2259 * iostat now reads the number of sectors in /proc/diskstats or
2260 from sysfs as 64-bit unsigned values.
2261 * iostat and mpstat now read CPU data and the number of
2262 interrupts in /proc/stat as 64-bit unsigned values.
2263 * sar uses "%u" instead of "%d" to read unsigned integer
2264 values _everywhere_.
2265 * sar and sadc are now a little bit more verbose when dealing
2266 with invalid activity files.
2267 * Network interface name size is now read from include file
2270 * Slovak translation added. NLS updated.
2271 * Typo fixed in iostat manual page.
2272 * Makefile and CREDITS file updated.
2273 * isag upgraded to version 1.26 (isag package release 0.81.0).
2275 2004/03/10: Version 5.0.2 - Sebastien Godard (sysstat <at> wanadoo.fr)
2276 * iostat will _again_ look for statistics in /proc/partitions if
2277 available. Too many production servers are still using 2.2.x or
2278 2.4.x kernels and iostat must be able to display extended stats
2279 also for them (/proc/partitions support was removed in sysstat
2280 version 4.1.3). So now, iostat gets its statistics from the
2281 following sources in that order: /proc/diskstats, sysfs,
2282 /proc/partitions and then /proc/stat.
2283 * statistics are now read by iostat and mpstat as unsigned long
2284 instead of int to avoid integer overflow.
2285 * iostat should now handle properly the case when the 'weighted
2286 number of milliseconds spent doing I/Os' (read in sysfs or
2287 /proc/{partitions,diskstats}) decreases with time.
2288 * iostat manual page updated.
2289 * Minor temporary file vulnerability fixed in isag command.
2290 * README, FAQ and CREDITS files updated.
2291 * Author's email changed.
2293 2004/02/02: Version 5.0.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2294 * -L option added to sadc. Enable sadc to lock its output file
2295 to prevent multiple instances from writing to it at once.
2296 * sa1 and sysstat scripts updated to take advantage of -L option.
2297 * Handle the case where, under very special circumstances, STDOUT
2298 may become unavailable, and sar, iostat and mpstat are no longer
2299 able to display anything.
2300 * sadc as called in sysstat script also uses -F option to force
2301 the creation of daily data file.
2302 * sar, sadc and mpstat manual pages updated.
2304 * FAQ and CREDITS files updated.
2306 2003/11/09: Version 5.0.0 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2307 * New fields added to mpstat: %irq (%time spent servicing
2308 interrupts) and %soft (%time spent servicing softirqs).
2309 * sar and iostat updated to take into account time spent servicing
2310 interrupts and softirqs when displaying percentage of time
2312 * By default iostat now displays only statistics information for
2313 devices that are used by the system. You should now use the ALL
2314 keyword to tell iostat to display statistics for every device
2315 including those that have never been used.
2316 * The file version.h is now dynamically created. sysstat's version
2317 number is now only recorded in the Makefile.
2318 * sar manual page updated: beginning with kernels 2.4 and later,
2319 pgpgin and pgpgout statistics are in kilobytes and not in
2320 blocks (see linux-2.4/fs/proc/proc_misc.c and
2321 linux-2.6/mm/page_alloc.c).
2322 * iostat and mpstat manual pages updated.
2323 * Makefile updated: don't process NLS files if they are up-to-date.
2324 * sysstat's RPM spec file updated to enable clean, non-root builds.
2326 * FAQ and CREDITS files updated.
2328 2003/09/28: Version 4.1.7 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2329 WARNING: Daily data files format has changed, and is *not*
2330 compatible with the previous one! [0x2163]
2331 * /proc/diskstats is now the preferred source for iostat to get its
2332 statistics. If non-existent, iostat falls back on sysfs then
2334 * In addition to devices, partitions can also be entered on the
2335 command line for iostat providing that option -x is not used.
2336 * /dev prefix has been removed from device name displayed by iostat -x.
2337 * sar -d now looks for disks statistics in /proc/diskstats with
2339 * sar uses /proc/vmstat file with post 2.5 kernels to find paging
2340 and swapping statistics.
2341 * activepg, inadtypg, inaclnpg and inatarpg stats removed from
2342 sar -B report (they were not really useful).
2343 * sar -B now displays the number of page faults made by the system
2344 (pgfault/s and pgmajflt/s).
2345 * Stat on shared memory removed from sar -r and sar -R (this stat
2346 was no longer maintained by the kernel since 2.4 because of
2347 performance problems).
2348 * Cached swap statistic information added to sar -r.
2349 * sar -d now displays separate statistics for sectors that are
2350 read from or written to devices.
2351 * %file-sz (percentage of used file handles) is no longer displayed
2352 by sar -v, since the upper limit for the number of open files
2353 will self-scale with 2.6 kernels.
2354 * sar now looks more aggressively for network devices in /proc/net/dev.
2355 * Heading spaces in network interface names removed (sar -n).
2356 * Fixed a problem reading /proc/interrupts when there are a lot
2357 of CPUs (mpstat, sadc).
2358 * NR_IRQS value increased to 256, since IA64 supports 256 irqs
2360 * Some stats counters are now read as unsigned long instead of
2361 unsigned int (pgpgin, pgpgout, pswpin, pswpout, irq_sum).
2362 * sar and iostat manual pages updated.
2363 * FAQ, README and CREDITS files updated.
2366 2003/08/20: Version 4.1.6 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2367 WARNING: Daily data files format has changed, and is *not*
2368 compatible with the previous one! [0x2162]
2369 * Machine uptime calculation is now optimized on SMP machines
2370 to minimize the consequences if an overflow condition happens.
2371 Especially useful when asking for stats since system boot.
2372 * -F option added to sadc. Useful to force the creation of the
2373 daily data file: an already existing file with a wrong format
2374 will be truncated by sadc if this option is used.
2375 * sa1 script now calls sadc with -F option.
2376 * The processor number to which the process is attached was no
2377 longer displayed by sar -x. Make it appear again.
2378 * CPU usage for processes, as displayed by sar -x and sar -X, should
2379 now be correct on machines where HZ <> 100 (e.g. IA64 architecture).
2380 * iostat still assumed that jiffies were 100ths of a second in some
2381 places. Now use Linux HZ definition *everywhere*.
2382 * The average I/O requests queue length as displayed by iostat -x was
2383 wrongly calculated. This is now fixed.
2384 * Manual pages updated.
2386 * Cosmetic changes in various parts of the code.
2387 * FAQ, README and CREDITS files updated.
2389 2003/07/21: Version 4.1.5 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2390 WARNING: Daily data files format has changed, and is *not*
2391 compatible with the previous one! Delete existing data files
2392 in /var/log/sa directory! [0x2161]
2393 * 'sar -x <pid>' and 'sar -X <pid>' work again.
2394 * sar had a longstanding bug that prevented option -P from
2395 working properly if the machine had more than 32 processors.
2397 * Fixed a bug introduced in 4.1.2, which made some LINUX RESTART
2398 messages to not be displayed by sar.
2399 * sar now uses bitmap of char instead of int to avoid endianness
2401 * sar can now handle a huge number of processors, serial lines and
2405 2003/07/01: Version 4.1.4 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2406 WARNING: Daily data files format has changed, and is *not*
2407 compatible with the previous one! Delete existing data files
2408 in /var/log/sa directory! [0x2160]
2409 * Fixed the way overflow conditions were handled by sar for
2410 interfaces counters.
2411 * On really big machines with 100 GB of memory or more, the values
2412 read by sadc in /proc/meminfo would get truncated and cause havoc
2413 in the calculations. This is now fixed.
2414 * iostat and sar can now read many more disk entries in /proc/stat if
2416 * Option "-x SUM" removed for sar. It was used to tell sar to display
2417 the total number of minor and major faults made by the system.
2418 Unfortunately, the calculation was tricky, and the results were
2420 * NLS updated. Polish translation added. Also proper charset and
2421 encoding declarations added to fix msgfmt warnings and allow
2422 gettext to recode between various charsets (e.g. German
2423 translation will be shown properly both with
2424 LANG=de_DE.ISO-8859-1, and LANG=de_DE.UTF-8)
2425 * Code 'sanitization'.
2426 * Manual pages updated.
2427 * README and FAQ files updated.
2429 2003/05/08: Version 4.1.3 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2430 * iostat should now be fully 2.5/2.6 kernel compliant.
2431 * Disks arrays in iostat are now dynamically sized.
2432 * iostat: sysfs is now used in preference to /proc/stat if available.
2433 * iostat will no longer look for statistics in /proc/partitions.
2434 sysfs filesystem must now be available for iostat to get its
2435 extended stats (post 2.5 kernels).
2436 * iostat: Devices for which statistics are requested can now be entered
2437 on the command line even if option -x is not used.
2438 * Usage messages updated.
2439 * Manual pages updated.
2440 * Code cleaned (dk_drive_sum removed in iostat, long lines folded,
2441 functions split in smaller parts, etc.)
2442 * NLS updated. Romanian translation added.
2443 * isag upgraded to version 1.22.
2445 2003/01/24: Version 4.1.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2446 WARNING: Daily data files format has changed, and is *not*
2447 compatible with the previous one! Delete existing data files
2448 in /var/log/sa directory! [0x215f]
2449 * sar -q now also displays load average for the past 15 minutes.
2450 * -P option added to sar. This option enables sar to display
2451 stats on a per processor basis. Options -U and '-I PROC' are
2452 deprecated. 'sar -U ALL' is replaced by 'sar -u -P ALL', and
2453 'sar -I PROC' by 'sar -I SUM -P ALL'.
2454 * Fixed iowait value displayed by sar on SMP machines with pre 2.5
2456 * When displaying CPU utilization on SMP machines, sar now
2457 recalculates the interval based on current CPU's tick count.
2458 * Always check that the number of CPUs has not increased when
2459 reading /proc/stat (sadc, mpstat).
2460 * sadc: Don't assume that the first line in /proc/net/sockstat
2461 concerns sockets. Check it!
2462 * Serial lines are ignored by sadc for every kind of kernels
2463 (UP, SMP...) if SMP_RACE is defined.
2464 SMP_RACE is no longer defined by default in RPM packages.
2465 * Code cleaned: Dead code removed in iostat.c, some lines longer
2466 than 80 chars folded, etc.
2467 * sar manual page updated.
2471 2003/01/02: Version 4.1.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2472 WARNING: Daily data files format has changed, and is *not*
2473 compatible with the previous one! Delete existing data files
2474 in /var/log/sa directory! [0x215e]
2475 * sar -u/-U, iostat and mpstat can now display time spent in
2476 I/O wait mode (with 2.5 kernels and above).
2477 * Values like -1 and -2 are no longer aliases for keywords
2478 ALL and XALL (sar -U, sar -I, mpstat -P).
2479 * Buglet fixed in iostat.h.
2480 * LC_CTYPE needs to be set, or it will emit messages with ?????? only
2481 on some locales, especially ja_JP.eucJP
2482 * sar, mpstat and iostat manual pages updated.
2484 * CREDITS file updated.
2485 * Typo removed in FAQ file.
2487 2002/11/13: Version 4.0.7 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2488 * Make data for timestamp 00:00:00 appear in one of the daily data
2489 files when sar/sadc rotates its output file.
2490 * Take out check for non SMP configuration when asking for
2492 * sargon script updated.
2495 2002/08/04: Version 4.0.6 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2496 * mpstat now uses a bitmap of char instead of int to avoid endianness
2497 problems. As a consequence, mpstat should now work on PowerMac
2499 * CPU activity as displayed by mpstat -P for a given processor was
2500 in a wrong range on SMP machines (e.g. 0-50% for a dual processor
2502 * Missing bitmap initialization fixed in mpstat.c.
2503 * Configuration script updated.
2506 2002/05/12: Version 4.0.5 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2507 * Average wait times and service times as displayed by iostat -x
2508 were wrong by a factor of 10. This is now fixed.
2509 * Linux RESTART messages must now be in the interval specified by
2510 -s/-e options to be displayed by sar.
2511 * Fixed a small bug that affected the timestamp for RESTART messages
2512 displayed by sar -h when option -t was used.
2513 * sar -H now displays its data in local time instead of UTC when
2515 * sargon shell script added.
2516 * Created a contrib directory, including sargon and isag commands.
2520 * sar manual page updated.
2522 2002/04/07: Version 4.0.4 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2523 * iostat is now able to display I/O activity in kB/s with 2.4.x
2524 kernels (option -k).
2525 * Fixed a typo in 'sar -W -h' output.
2526 * Try to handle the case when some parameters in /proc/net/dev
2527 may overflow ULONG_MAX.
2528 * 'sar -d' now displays sectors per second instead of blocks
2530 * iostat and sar manual pages updated.
2532 * NLS updated: Russian translation added.
2534 2002/01/27: Version 4.0.3 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2535 * iostat now displays statistics in kB/s when option -x is used.
2536 * Configuration script updated.
2537 * sar and iostat manual pages updated.
2538 * umask also set in sa1 shell script.
2539 * Various sanity checks added.
2540 * Fixed potential segmentation faults that could happen with some
2542 * KB (standing for kilobytes) replaced with kB in various places.
2543 * NLS updated: Italian translation added.
2545 2001/09/22: Version 4.0.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2546 * CPU usage, as displayed by iostat, mpstat and sar, should now
2547 be OK on machines where HZ <> 100 (e.g. IA64 architecture).
2548 * MAX_PART constant set to 256 in iostat.h.
2549 * "-H" database friendly option added to sar.
2550 * Better disks and network interfaces management (both may be
2551 registered dynamically).
2552 * Made options "-s" and "-e" work when option "-h" is used.
2553 * isag upgraded to version 1.17.
2554 * isag installation is now optional and can be chosen at config stage.
2555 * Now try to install man pages in ${PREFIX}/share/man instead of
2557 * sa2 shell script updated.
2558 * Configuration script updated.
2559 * sar manual page updated.
2560 * NLS updated: Norwegian translation added.
2562 2001/06/24: Version 4.0.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2563 * Files created by sa2 shell script were world writable. This is
2565 * sa2.sh shell script updated: only remove sa?? and sar?? files.
2566 * Don't use PAGE_SHIFT since it no longer necessarily exists in
2567 <asm/page.h>. Compute it using page size instead.
2568 * Cosmetic changes for iostat.
2569 * NLS updated: Afrikaans translation added.
2571 2001/04/08: Version 4.0.0 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2572 * Better network interfaces handling. Now take into account the
2573 fact that they may be registered/unregistered dynamically.
2574 * Changed formula used to display statistics in order to avoid
2575 overflow conditions.
2576 * Fixed a bug in iostat, where the %util value scaled incorrectly.
2577 * Better long file names management by iostat.
2578 * mpstat and sar no longer periodically display the title line when
2579 stdout has been redirected to a pipe or a file.
2580 * sa2.sh shell script updated: Now exec sadc.
2581 * Configuration script updated.
2584 * Manual pages updated.
2585 * isag command updated.
2587 2001/03/04: Version 3.3.6 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2588 WARNING: Daily data files format has changed, and is *not*
2589 compatible with the previous one! Delete existing data files
2590 in /var/log/sa directory! [0x215d]
2591 * New paging statistics added (sar -B). Kernel 2.4 only.
2592 * Load averages and queue length statistics added (option -q for sar).
2593 * Per device statistics added (option -d for sar). Kernel 2.4 only.
2594 * Better accuracy when computing average for some statistics.
2595 * Display all the contents of a daily data file when the count
2596 parameter is not given on the command line.
2597 * Check sar command line options more aggressively.
2598 * iostat no longer freezes if -c and -d options are used together.
2599 * Fixed a bug that prevented iostat from displaying more than an
2600 average of three devices with 2.4 kernels (a buffer was too small).
2601 * Check added to ensure that sar and sadc commands are consistent.
2602 * sar manual page updated.
2604 * Code cleaned (use smaller subroutines).
2606 * isag command updates.
2608 2001/02/11: Version 3.3.5 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2609 * iostat command improved. Take now full advantage of Stephen
2610 Tweedie's I/O accounting patch to display extended statistics
2612 * The default value for the count parameter of the sar command is
2613 now 1 (this is how sar works with other Un*xes...). A value of
2614 0 will indicate that reports are to be generated continuously.
2615 * Code cleaned: Now always use 'double' numbers instead of the
2616 INT_PART, INT_VAL, DEC_PART and DEC_VAL macros.
2617 * Don't assume that jiffies are 100ths of a second. Use Linux
2618 HZ definition instead.
2619 * NLS updated (small fix).
2620 * sar and iostat manual pages updated.
2621 * isag (Interactive System Activity Graph) command added.
2624 2001/01/26: Version 3.3.4 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2625 * Disk I/O statistics for the last device were counted twice when
2626 reading /proc/stat file with 2.4 kernels (sar -b). This is now
2628 * iostat command is no longer able to save its data to a file.
2629 In fact, iostat has never been supposed to work that way, and I
2630 have never really maintained this option.
2631 * iostat now also works with 2.4 kernels. It can handle the format
2632 of the /proc/stat file for both 2.2 and 2.4 kernels.
2633 * sar now reports statistics on allocated disk quotas entries
2634 instead of on used ones (sar -v).
2635 * Manual pages updated for sar and iostat.
2637 2000/12/31: Version 3.3.3 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2638 WARNING: Daily data files format has changed, and is *not*
2639 compatible with the previous one! Delete existing data files
2640 in /var/log/sa directory!
2641 * Disk usage displayed by iostat on SMP machines was wrong. This
2643 * iostat command cleaned: All the statistics not implemented in
2644 the standard Linux kernel have been removed (tty, iowait...).
2645 * sar can now handle I/O and transfer rate statistics with both
2646 2.2.x and 2.4.x Linux kernels (-b option).
2647 * Removed %inode-sz that was displayed by sar -v, since the file
2648 inode-max in /proc/sys/fs no longer exists in Linux 2.4.
2649 The new 2.4.x kernels now seem to be able to allocate inode
2650 structures dynamically, and to free them when necessary (see
2652 * Removed statistics on highest in-used sockets. Relevant
2653 counters have disappeared from sockstat file in /proc/net
2654 for 2.4 kernels (sar -n SOCK).
2655 * Added statistics on IP datagram fragments (sar -n SOCK).
2656 Only available for 2.4 kernels.
2658 2000/11/19: Version 3.3.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2659 * sar now saves timestamps in its daily data files both in UST
2660 and in the user's timezone formats.
2661 WARNING: Daily data files format has changed, and is *not*
2662 compatible with the previous one!
2663 * sar now displays timestamps in locale time when reading data
2664 from its daily data files. -t option has been added to sar,
2665 to enable it to display timestamps in the original locale
2666 time of the data file creator.
2667 * Size of various buffers made larger.
2668 * Number of interrupts per second for 'all' CPU displayed by the
2669 mpstat command was wrong. This is now fixed.
2671 * Usage message updated.
2673 2000/09/17: Version 3.3.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2674 * mpstat command added.
2675 * Manual page added for mpstat.
2676 * Option -h added, enabling sar to display data from a daily data
2677 file in a format that can easily be handled with pattern
2678 processing commands like awk.
2679 * Manual page updated for sar.
2680 * iostat now writes KB (for kilobytes) instead of Kb, which could
2681 have been interpreted as kilobits...
2682 * Disk accounting patch for iostat removed.
2685 2000/08/06: Version 3.2.4 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2686 * Fixed a bug that prevented sar from reading its daily data files
2687 when they had been created using -I option.
2688 * Network statistics averages were sometimes wrong when reading
2689 data from a file. This is now fixed.
2690 * README-patch file updated.
2691 * Configuration script updated to deal with Debian directories.
2693 2000/06/25: Version 3.2.3 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2694 * Configuration scripts updated. Can now print a help message.
2695 * Workaround for SMP race in Linux serial driver added.
2696 This workaround is enabled by default in RPM binary packages.
2697 * sar manual page updated.
2698 * Added iostat disk accounting patch against 2.2.16 linux kernel.
2699 * Removed a few typos in the comments of the source code.
2701 2000/06/11: Version 3.2.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2702 * Now handle interrupts per processor better. Output improved.
2703 * Makefile modified to comply with redhat good packaging.
2704 * sysstat initialization script updated (don't su to root when
2705 we are already root).
2706 * sar now looks for sadc data collector in more places.
2707 * NLS is now enabled by default.
2708 * Silly bug in iostat disk accounting patch fixed.
2709 * Added iostat disk accounting patch against 2.2.15 linux kernel.
2711 2000/04/02: Version 3.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2712 * sadc no longer complains when daily data files have a null length.
2713 * Configuration script added (make config).
2714 * Statistics on sockets in use added.
2715 * Got rid of various limits (maximum number of serial lines,
2716 maximum number of network interfaces).
2717 * Better management of dynamic files contents.
2718 * Cosmetic change for timestamp display.
2719 * Manual pages updated.
2720 * Documentation added in ${PREFIX}/doc/sysstat-x.y.
2722 2000/02/20: Version 3.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2723 * Fixed a bug that made average numbers wrong for some statistics
2724 when reading them from a system activity file.
2725 * Fixed a bug that prevented the user from retrieving some
2726 statistics when reading them from a system activity file.
2727 * sadc no longer core-dumps on UP machines with SMP support enabled
2729 * System activity files are now readable by everybody.
2730 * Average statistics since boot time are now printed when interval
2731 parameter is set to 0. If interval and count parameters are not
2732 set on the command line, sar selects requested activities from
2733 the current system activity daily data file.
2734 * sadc, sa1 and sa2 manual pages moved to chapter 8 instead of 1m.
2735 * iostat disk accounting patch modified to work with md drivers.
2737 2000/01/30: Version 3.0 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2738 * sadc - system activity data collector added.
2739 * sa1, sa2 and sysstat.sh shell scripts added.
2740 * Manual pages added for sadc, sa1, sa2.
2741 * sar heavily modified to use stats sent by sadc.
2742 * System activity data file now records system restarts.
2743 * Every records in the iostat and system activity data files have
2744 their own timestamp now.
2745 * sar and iostat largely modified to use structures when reading or
2747 * Per-process statistics added.
2748 * System minor and major fault statistics added.
2749 * TTY device statistics added.
2750 * Memory and swap space utilization statistics added.
2751 * Per-processor interrupt statistics added.
2752 * Statistics for kernel parameters (dcache, inodes, superblocks, etc.)
2754 * Network device statistics added.
2755 * S_TIME_FORMAT environment variable added.
2756 * Meaning of -i option has changed for sar.
2757 * -d option removed for sar since it is no longer needed (we have
2759 * sar now uses keywords such as ALL, SUM, etc. instead of numerical
2761 * iostat disk accounting patch improved.
2762 * 'page' field in /proc/stat is no longer used by iostat (was
2764 * Workaround for buggy RTC (or kernels?) added. Used when the number
2765 of jiffies spent by the system in the idle task is decreasing in
2767 * Manual pages updated.
2768 * NLS updated: Portuguese translation added.
2771 1999/11/28: Version 2.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2772 * Option -d added to sar to enable it to be started as a daemon.
2773 * sar initialization script updated to use -d option.
2774 * Option -V added to sar and iostat (print version number and usage).
2775 * Fixed a bug that made CPU utilization displayed by iostat wrong on
2777 * Manual pages updated and moved to chapter 1 instead of 8.
2778 * sar '-m' option renamed to '-r'.
2779 * Display improved for iostat.
2780 * NLS updated: Spanish translation added.
2781 * Patch against kernel 2.2.13 added for iostat.
2783 1999/10/24: Version 2.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2784 * The sar and iostat commands can now work on non SMP-machines even
2785 if the kernel is compiled with SMP support enabled.
2786 * Fixed a bug that made the time displayed by iostat wrong when
2787 reading stats back from a file.
2788 * Added memory statistics: free/shared/buffer/cached pages (sar -m).
2789 * Option -h added to sar to print its header periodically.
2790 * Set unavailable fields to zero when writing iostat file.
2791 * sar now displays 'proc/s' instead of 'fork/s' since exec'ed
2792 processes are also taken into account.
2793 * Manual pages updated.
2794 * sysstat is now available in RPM format.
2795 * Code cleaned up and made safer.
2797 1999/09/19: Version 2.0 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2798 * iostat now displays logical block I/O stats for each IDE device, or
2799 global Kb/s rate for all the block devices. Stats in Kb/s for each
2800 block device are not available for standard kernels due to Linux
2801 poor disk accounting... Anyway a patch is provided in this version
2802 of 'sysstat' in the 'patch' directory to fix that.
2803 * System uptime is no longer read in /proc/uptime but computed from
2804 the cpu line in /proc/stat.
2805 * When stats are read from a file (option -f of iostat and sar),
2806 values are now computed in accordance with the interval given by
2807 the user on the command line.
2808 * Old '-o' option for iostat removed. Now iostat can save data
2809 into a file in a binary format and re-read them later (options
2810 '-o' and '-f') in the same way sar does.
2811 * Number of available processors now taken into account when
2812 retrieving CPU usage from /proc/stat.
2813 * Removed a bug that prevented 'sar -U' to work on SMP machines.
2814 * Fixed a bug that made per-CPU average usage wrong on SMP machines.
2815 * Use of option -U is now possible for sar when reading from a file
2816 even if the machine is not an SMP one.
2817 * Fixed a bug that prevented sar from re-reading stats saved in a file
2818 when -I or -U option had been used.
2819 * iostat modified to work on SMP machines.
2820 * Changed the formula used to display stats in order not to get
2821 numbers greater than UINT_MAX.
2822 * System name, release number and hostname are now saved in
2823 system activity files.
2824 * iostat now displays system name, release number and hostname
2826 * Daily system activity file rotation added for sar.
2827 * Improved 64-bit system support.
2828 * CREDITS file added.
2829 * NLS updated: German translation added.
2830 * Manual pages updated.
2831 * Makefile updated: Do not call msgfmt if NLS is not enabled.
2833 1999/06/25: Version 1.2 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2834 * Better NLS support (date, time and numerical values, NLS enabled
2836 * System activity daily file structure changed: Is now independent of
2837 the locale and is more compact.
2838 * sar updated to support SMP machines (per CPU accounting).
2839 * Code cleaned, man pages updated...
2841 1999/05/28: Version 1.1 - Sebastien Godard <sebastien.godard@wanadoo.fr>
2842 * NLS support added. French translation started but needs to be
2844 * sar updated to support more than 16 interrupts (potential APIC
2846 * A few typos removed (man pages, etc.).
2847 * Author email address updated :-)
2848 * Tested on kernel 2.2.5.
2850 1999/03/06: Version 1.0 - Sebastien Godard <sebastien.godard@gazdefrance.com>
2851 * Initial Revision. Tested on kernel 2.0.36.