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