Changes: 2023/12/17: Version 12.7.5 - Sebastien Godard (sysstat orange.fr) * [Quan quan Cao]: sar/sadc: Add new metrics pgprom/s and pgdem/s. * sar: Remove %vmeff metric. * sadf: Update various output formats to take into account metrics that have been added or removed. * Update DTD and XSD documents. * Update sar manual page. * sar: Add a cron entry and a new systemd service and timer to rotate daily data file at midnight. * Option -V with sysstat commands also displays environment contents. * [Sam Morris]: Use correct encoding to produce hyphen-minus when rendering man pages. * Add UMASK variable definition to sysstat(5) manual page. * Update non regression tests. * Add --getenv option to commands that didn't have it. * Update README file for Debian-based distros. * Update link to my personal web page in README and manual pages. * NLS: Translations updated. 2023/06/18: Version 12.7.4 - Sebastien Godard (sysstat orange.fr) * Makefile.in: Fix installation error. * Makefile.in: Remove gcc warning displayed in LTO mode. 2023/06/16: Version 12.7.3 - Sebastien Godard (sysstat orange.fr) * sar: Add new option '-x' used to display extended reports. * [Pavel Kopylov]: Fix an overflow which is still possible for some values. * [Jan Kurik]: Fix export of PSI metrics to a PCP archive. * [Lukáš Zaoral]: Tools that take `--dec=X` option should only accept digits. * common.c: Fix an overflow which was still possible for some values. * iostat: Try to avoid displaying negative values. * Free pointer if realloc() fails. * Don't check if unsigned expressions are less than zero. * Declare parameters with "const" when possible. * Remove conditions which are always true. * Reduce variables scope when relevant. * Don't assign values that are never used. * Fix types used in format strings. * Split large functions into smaller ones. * Specify field width when using sscanf() function. * search_list_item(): Return position in list instead of a boolean. * add_list_item(): Also return item position in list. * svg_stats.c: Ignore negative values for fields position. * svg_stats.c: Reuse buffers pointers definition. * svg_stats.c: Reuse intermediate calculations. * svg_stats.c: Don't repeat test on DISPLAY_CPU_DEF(). * sa_common.c: Don't use (void *) pointer in calculation. * iostat.c: Clarify calculation precedence for '+' and '?'. * sar/sadf: Refactor buffer allocation functions. * sar/sadf: Add a check on file's records header data. * sar/sadf: Stop when invalid data are read in records header. * sar/sadf: Check upper bounds of value read from file. * sadf_misc.c: Fix indentation in code. * activity.c: Init item_list even for other commands than sadf. * sa_conv.c: Reallocate buffers only when needed. * sa_conv.c: Fix untrusted allocation size. * pr_stats.c: Remove some dead code. * sar.c: Make sure buffer is null terminated. * do_test: Add several new options. * do_test: Don't strip binaries when in TEST mode. * Update non regression tests. * simtest: Change default _unix_time value. * Makefile.in: Simplify dependencies. * Makefile_in: Small update made to copyyear target. * sadf: XML: Update DTD and XSD documents. * sadf: XML: Remove references to my personal web site. * Restore mode for iconfig file. * Fix typo in sar's manual page. Sar manual page updated. * Other manual pages updated. 2023/01/29: Version 12.7.2 - Sebastien Godard (sysstat orange.fr) * All commands: Avoid displaying healthy metrics values in "red". * * sar/sadf: Add new activity: Battery statistics (A_PWR_BAT). * [Kevin Stubbings]: Add CodeQL workflow. * sar: Make sure timestamps are always displayed in local time. * sar/sadf: Starting and ending times used with options -s/-e can now be entered as a number of seconds since the epoch. * sar/sadf: Strengthen tests made on arguments given to options -s/-e. * sadf: PCP: Fix pmiID used for two USB metrics [12.6.2]. * [Nathanael P Wilson]: sadf: Fix extra space when no TZ printed. * sadc: Add another overflow check [12.6.2]. * DTD and XSD documents updated. * Makefile: Fix dependencies. * NLS translations updated. New Belarusian translation added. * Remove LGTM links from README file. * Manual pages updated. * Non regression tests updated. 2022/11/06: Version 12.7.1 - Sebastien Godard (sysstat orange.fr) * Fix possible overflow in sa_common.c (GHSL-2022-074) [12.6.1]. * sadf: Add support for option -t with SVG output to make it possible to display timestamps in the same locale as that of the file creator. * sadf: Print timezone instead of UTC in true time mode. Timezone is also displayed in local time. * sadf: PCP: Fix timestamps written to PCP archive file. * sar: Add new environment variable S_REPEAT_HEADER. * pidstat: Return exit code of the process that was monitored with option -e. * mpstat: Add option -H to handle vCPU physical hotplug. * Add local, xlocal and debug targets to iconfig script. * Turn off gcc's tree-slp-vectorize option which was making sadf crash in some situations. * sa_conv.c: Make size of statistics structures from older sysstat versions immutable [12.6.1]. * [Bernhard M. Wiedemann]: Declare sadc dependency on libsyscom.a [12.6.1]. * [Steve Kay]: Fix gcc v11.2 warnings [12.6.1]. * [Steve Kay]: Various cosmetic fixes [12.6.1]. * [Jan Christoph Uhde]: sar: Remove `-I int_list` from man-page and help [12.6.1]. * [Frank Dana]: Consolidate systemctl commands in README file [12.6.1]. * [Rong Tao]: Remove whitespace characters at the end of lines [12.6.1]. * Update configure file to deal with newer autoconf version. configure.in file is renamed to configure.ac. * Update DTD and XSD documents. * sar and sysstat manual pages updated. * NLS updated. Add new Georgian translation. * Non regression tests updated. 2022/05/29: Version 12.6.0 - Sebastien Godard (sysstat orange.fr) * sar: Fix maximum value for A_IRQ activity. * sar/sadf: A_NET_SOFT: Add new metric softnet network backlog. * sadc: A_NET_SOFT: Use CPU id from /proc/net/softnet_stat. * Update DTD and XSD documents (softnet backlog). * [Chris Bagwell]: sar/sadf: Convert 64-bit time value to time_t as needed. * sadf: Add basic colorization to sadf's output. * sadf: Add sanity checks on values read from file. * sadf: PCP: Fix multiple metrics name problems. * sa_common.c: Remove unneeded variable assignment. * [Lukáš Zaoral]: Take into account LDFLAGS passer to configure script. * Various janitorial fixes and updated. * Update FAQ. * Update sar manual page. * Update NLS translations. * Update non regression tests. 2022/02/28: Version 12.5.6 - Sebastien Godard (sysstat orange.fr) * sar/sadc: Rewrite code used to collect and display interrupts statistics. Statistics are now collected from /proc/interrupts (instead of /proc/stat) and are displayed for each installed CPU. * sar/sadf: Add new "--int=" option to enter a list of interrupts on the command line. * sadf: Update the various output formats to deal with the new per-CPU interrupts statistics. * Update DTD and XSD documents. CPU elements may be non-existent when all selected CPU are offline. * Update sar and sadf manual pages. * mpstat: Create its own function to read the total number of interrupts from /proc/stat file. * mpstat: Remove unneeded "aligned" attribute from struct stats_irqcpu definition. * sar: Fix index value used in online_cpu_bitmap array. * sar/sadf: Make sure that datafiles with unknown activities can be read by sar and sadf [12.4.5]. * sar/sadf: Don't reallocate buffers for activities not present in file [12.4.5]. * sar: Make sure that all buffers are copied in copy_structures() function [12.4.5]. * PCP: Fix flow_limit_count metric's unit (A_NET_SOFT activity). * PCP: Fix instance names for getattr call (A_NET_NFS(D) activities). * Use sizeof() macro instead of hard-coded values with snprintf() functions. * rndr_stats.c: Use NOVAL instead of NULL as last argument for cons() function. * Use strings definitions whenever possible. * Add new non regression tests. Update some existing ones. * Various cosmetic fixes. 2021/12/05: Version 12.5.5 - Sebastien Godard (sysstat orange.fr) * iostat: Add --compact option. * iostat: Always display persistent names with option -j [12.4.4]. * iostat: Fix how device mapper names are taken into account when entered on the command line [12.4.4]. * iostat: Update manual page. * mpstat: Don't display offline CPU [12.4.4]. * mpstat: Fix values displayed when an offline CPU goes back online [12.4.4]. * mpstat: Fix untrusted loop bound [12.4.4]. * mpstat: Update non regression tests [12.4.4]. * sar: Tell the user to convert the file when needed. * sadc: Reuse count results for sub-items. * [Ville Skyttä]: Use `grep -E` instead of deprecated `egrep` [12.4.4]. * [Ville Skyttä]: Spelling and grammar fixes [12.4.4]. * Update FAQ. * [Nathan Naze]: Update man pages with correct spelling of "JavaScript" [12.4.4]. * Update non regression tests. 2021/06/07: Version 12.5.4 - Sebastien Godard (sysstat orange.fr) * [Nathan Scott]: PCP: Update sadf to use metadata matching the same metrics from PCP. * [Parth Shah]: pidstat monitors and shows statistics at the end of the program run with option -e, when no interval and count parameters have been defined. * pidstat: Simplify use of P_D_PID flag. * Restore mode for iconfig file. * Non regression tests updated. * Various cosmetic fixes. * NLS translations updated. 2021/02/14: Version 12.5.3 - Sebastien Godard (sysstat orange.fr) * Add Link Time Optimization (LTO) support. * Fix LTO compilation warnings. * sar: Fix return code sent by write_stats() function [12.4.3]. * sar/sadc: Dereference nr array pointer in struct activity [12.4.3]. * sadf: SVG: Make graphs discontinuous for disconnected devices [12.4.3]. * sadf: SVG: Fix inadequate discontinuities in some graphs [12.4.3]. * sadf: Raw: Display number of items in debug mode even if it's zero. * sadf: SVG: Use the parameter entered on the command line [12.4.3]. * sadf: SVG: Add 'debug' option. * sadf: Update manual page. * sar/sadc/sadf: Check untrusted values before use [12.4.3]. * sar/sadc: Don't use IFNAMSIZ value from [12.4.3]. * sar/sadf: Test codes returned by functions. * simtest: Update/enhance simulation tests environment. * simtest: Add new non regression tests (USB statistics, ...) * Makefile: Define TEST flag when making simulation tests [12.4.3]. * Makefile: Add copyyear target to make it easier to update year in (C) messages. * Update NLS translations [12.4.3]. * Cosmetic changes in code. Some dead code removed. Code simplified. * irqstat: Sync with upstream version (1.0.1-pre). 2020/12/19: Version 12.5.2 - Sebastien Godard (sysstat orange.fr) * [Aleksei Nikiforov]: Fix alignment and structure size for 32-bit systems [12.4.2]. * Fix metric's name in sar -y output: txmtin -> xmtin [12.4.2]. * FAQ: Add links to markdown file [12.4.2]. * [Tim Gates]: sar.c: Fix typo in comment [12.4.2]. * simtest: Create a 32 bit version of sar and sadc. This is to make sure that datafiles created by 32 and 64 bit versions of sadc can be used on both architectures. * simtest: Update non regression tests. Also add new tests. * systest.c: Fix GCC warnings. * NLS translations updated [12.4.2]. 2020/11/21: Version 12.5.1 - Sebastien Godard (sysstat orange.fr) * sar/sadf: Make option -j work with filesystems statistics. * sa1: Add "--rotate" option to make it easier to handle file rotation. * [Petr Pavlu]: Workaround for iowait being decremented [12.4.1]. * [SacValleyTech]: Make sure setbuf() is the first operation performed on stream [12.4.1]. * [Michal Berger]: Fix typo in PHYS_PACK_ID definition [12.4.1]. * sadc: Rework softnet stats reading procedure to make sure that all lines from /proc/net/softnet_stat are actually read. * sadc: Don't reallocate structures if buffers are large enough. * configure: Fix option --disable-compress-manpg [12.4.1]. * sar: Update definition for runq-sz metric in manual page [12.4.1]. * iostat: Update manual page (explain "*_w+d*" fields) [12.4.1]. * iostat: Explain options -f/+f in manual page [12.4.1]. * [Nan Xiao]: mpstat: Add -T option in help message [12.4.1]. * [Nan Xiao]: mpstat: Fix typo in manual page [12.4.1]. * FAQ.md file: Add missing spaces at end of line [12.4.1]. * FAQ updated. * sa1 manual page updated. * Add a sponsor button to GitHub page. * systest: Small fix for array index value. * Makefile: Rename object files used by sadc. * Add new non regression tests and update some existing ones. * Simplify/merge non regression tests. * NLS translations updated. 2020/07/31: Version 12.4.0 - Sebastien Godard (sysstat orange.fr) * All commands: Display statistics in color by default when the output is connected to a terminal. * sar: Now pretty-print all device names by default (that is to say, you no longer need to use option -p with option -d for that). * cifsiostat, iostat, sar: Add new --pretty option (this option makes the reports easier to read when long item names are used). * iostat: No longer use sysstat.ioconf file to determine the name of the devices. This file gave a wrong name for some devices with big minor numbers. * iostat, sar: Make device name consistent between both of them. * configure: Add new option "--enable-use-crond" to use standard cron daemon even if systemd is installed. * configure: Use AC_COMPILE_IFELSE instead of old AC_TRY_COMPILE macro. Remove other obsolete autoconf macros. * configure: Add new option "delay_range=". Used by sa2 script to wait for a random delay. * configure: Fix --enable-debuginfo option. * sa1: Insert a comment in daily datafile on system suspend/resume. * sa2: Wait for a random delay before running to prevent massive I/O burst on some systems. * sar: Fix typo in manual page. * sar, iostat, cifsiostat, mpstat, pidstat, tapestat and sa1 manual pages updated. * Update style for all manual pages. * Compress manual pages by default when they are installed. * Makefile: Remove all reports and data files (even those compressed with another program than gzip) when told to do so. * Add pcp help file to be used with iconfig script. * Update Travis script (now calls do_test script). * sadf: Output format which doesn't accept the use of option -T should not also reject the use of option -t [12.2.3]. * [Tom Hebb]: Replace index() call with strchr() call [12.2.3]. * Use NULL as an argument for time(2) system call [12.2.3]. * Various cosmetic changes in code (comments updated, dead code removed, etc.) * NLS updated. * Non regression environment updated. New tests added. * Better handle big minor numbers in sysstat test code. * Fix gcc V10 warnings in sysstat 12.0.1 code used for test. 2020/05/08: Version 12.3.3 - Sebastien Godard (sysstat orange.fr) * sar/sadc: Add new Pressure-Stall Information (PSI) statistics. * sadf: Add support for PSI statistics. * iostat: Add support for devices managed by userspace drivers (e.g. spdk). Add new flags -f/+f to specify an alternate location for stats files. * sar: Don't display duplicate entries in /etc/mtab [12.2.2]. * sar: Don't display "Inconsistent input data" error message when no activities are collected by sadc. * sadf: XML: Remove "per" attribute for memory activity. * sadf: Add new option "hz=" for datafile conversion. * Various updates to remove GCC v9/v10 warnings. * sar: Don't check if we are close enough to selected interval when interval=1 [12.2.2]. * sadf: Use actual number of items, not its pointer address [12.2.2]. * [Sdrkun]: sa1: Create default sa directory if it doesn't exist [12.2.2]. * pr_stats.c: Printing timestamp should appear only once [12.2.2]. * common.c: Remove unused get_dev_part_nr() function [12.2.2]. * DTD and XSD documents updated. * sar and sadf manual pages updated. * Non regression tests updated. New tests added (sar, iostat). 2020/04/10: Version 12.3.2 - Sebastien Godard (sysstat orange.fr) * pidstat: Major code refactoring. Several bugs fixed. * pidstat: Don't display unneeded spaces following command name when option -l is used. * cifsiostat: Major code refactoring. * simtest: Add test environment for pidstat command. * simtest: Add new non regression tests for iostat command. * pidstat: Remove extra space at end of command name [12.2.2]. * [Anatoly Pugachev]: Fix sa2 script, so it won't complain on empty list for compress program [12.2.2]. * iostat: Make sure pointer on linked list is initialized [12.2.2]. * [Fabrice Fontaine]: Makefile: Link with -lintl if needed [12.2.2]. * NLS translation updated. 2019/12/27: Version 12.3.1 - Sebastien Godard (sysstat orange.fr) * [Konstantin Khlebnikov]: iostat: Add flush I/O statistics (statistics available starting with kernel 5.5). * mpstat: Add new switch to display system topology. * mpstat: Allow to select individual CPU/nodes with option -A. * cifsiostat: Add support for SMB2 version of statistics file. * mpstat: Add non regression tests. * tapestat: Add non regression tests. * cifsiostat: Add non regression tests. * iostat: Add new non regression tests. * sadf: Fix double free in check_file_actlst() [12.2.1]. * sadf: Fix heap overflow in logic2_display_loop() function. * iostat: Fix wrong unit used in JSON output [12.2.1]. * [Leo]: Add missing header files when using musl C library [12.2.1]. * [Albert]: Add missing empty line in FAQ.md file [12.2.1]. * mpstat and iostat manual pages updated. * Cosmetic changes. 2019/11/11: Version 12.2.0 - Sebastien Godard (sysstat orange.fr) * sar/sadc: Save timezone value in binary data files (saDD). * sadf: Display timezone value in output from sadf -H. * sar/sadf: Make sure we will always be able to read file headers structures from older versions. * sadf: Enhance raw format output (now also display records header contents). * sadf: Update DTD and XSD documents. Fix their contents so that XML output from 12.0.x sadf versions validates. * sar/sadf: Change 'flags' variable type from "unsigned int" to "uint64_t". * simtest: Make all tests independent from timezone value. * simtest: Add more non regression tests. * sadf: Small fix in manual page. * NLS updated. * FAQ updated. 2019/09/30: Version 12.1.7 - Sebastien Godard (sysstat orange.fr) * sar/sadc: Add stable identifier support for disks statistics. * sar/sadf: Add extra flexibility in binary data file in case of a future format change. * sadf: sadf -H output updated. * iostat: Fix several bugs (CID ##349502, #349503, #349500 and #349501). * sar: Manual page updated. * sadf: Fix memory corruption bug due to integer overflow in remap_struct() function (try #2). * configure: Add new configuration variables: conf_file and sar_dir. * simtest: sar: Add new non regression tests. * simtest: iostat: Make tests independent from timezone value. * NLS updated. 2019/08/14: Version 12.1.6 - Sebastien Godard (sysstat orange.fr) * iostat: Major code refactoring. Devices structures are now dynamically allocated, better handle the case when devices are removed then inserted again in the system, better command line parsing, better handle devices with a slash in their name. * sar/sadf: Allow to select individual CPU and/or interrupts when option -A is used. * sar: Better handle the case when Fibre Channel hosts are added to the system. * [Alexandros Kosiaris]: sadc: Check if InCsumErrors is present for EICMP as well [12.0.6]. * sar: Fix sar -s/-e output on datafiles spanning two consecutive days. * sadf: XML: Fix bad transmission words statistics for Fibre Channel hosts [12.0.6]. * sadf: Fix memory corruption bug due to integer overflow in remap_struct() function. * iostat: Fix wrong CPU statistics displayed for the first sample when option -y is used [12.0.6]. * iostat: Make sure UUID given on the command line is not taken as interval value [12.0.6]. * Allow more space for persistent type directory names [12.0.6]. * Update sysstat simulation test environment (new tests added, etc.) * sar manual page updated. * Various cosmetic fixes (comments updated in code, etc.) * NLS updated. 2019/05/31: Version 12.1.5 - Sebastien Godard (sysstat orange.fr) * sadf: Support completed for PCP (Performance Co-Pilote) output format. * Add sysstat simulation test environment. * Add non regression tests. * sar: Use nanoseconds to choose between saDD and saYYYYMMDD files. * sar/sadf: Time used by options -s/-e no longer depends on the timezone value. * sar: Add missing %gnice CPU value for tickless CPU [12.0.5]. * sar: Better detect if a disk has been unregistered then registered again [12.0.5]. * sar: Allow option -i when no input file is specified [12.0.5]. * sadc: Fix bad number of CPU displayed in a LINUX RESTART message [12.0.5]. * sadf: Fix SVG output for filesystem statistics when the user asked for the mount point to be displayed ("-F MOUNT") [12.0.5]. * sadf: Fix PCP and SVG output for filesystem statistics. * iostat: Fix invalid JSON output when option -y is used [12.0.5]. * iostat: Fix regression for groups of devices which were no longer displayed in the report with option -g. * sar: Cosmetic fix in manual page [12.0.5]. * sadf manual page updated. * FAQ updated. * Cosmectic changes in code [12.0.5]. 2019/04/18: Version 12.1.4 - Sebastien Godard (sysstat orange.fr) * sadf: Add initial support for PCP (Performance Co-Pilote). sadf can now export some of its data to a PCP archive file with its new option "-l". * configure: Add option --disable-pcp to configuration scripts. * [Ondrej Dubaj]: sar/sadc: Ignore autofs entries in /etc/mtab [12.0.4]. * [Huang Ying]: mpstat: Fix missing "}" and "]" in JSON output when stopped by SIGINT [12.0.4]. * iostat: Add a SIGINT handler so that JSON output can be terminated properly when the user presses Ctrl/C [12.0.4]. * sadf: Fix segmentation fault error when trying to display XML or JSON data using a file which contains only RESTART records [12.0.4]. * mpstat: JSON output should display "all" for CPU number for global CPU utilization [12.0.4]. * [Danny Smit]: Add umask sysconfig variable for sa1 and sa2 [12.0.4]. * configure: Don't check for sensors library if --disable-sensors option is used [12.0.4]. * sadf: Don't test for activities available in file if only the header needs to be displayed [12.0.4]. * sadf: Make code more independent from the selected output format. * sar/sadc: Make sure number of items are always counted for certain activities (like A_CPU) even if they are not collected. * Fix many alerts reported by LGTM. * sadc and sadf manual pages updated. * Makefile updated. * json_stats.h: Replace XML -> JSON [12.0.4]. 2019/02/15: Version 12.1.3 - Sebastien Godard (sysstat orange.fr) * sadf: SVG: Add new "customcol" and "bwcol" options. These options enable the user to select distinct color palettes to draw the graphs with "sadf -g". * sadf: SVG: Make it possible for the user to customize color palette used to draw graphs. * sadf: SVG: Fix wrong variable used to draw discard IO graph. * [Kyle Walker]: sadc: Add -f flag to force fdatasync() use. * sadf and sadc manual pages updated. * NLS translations updated. 2018/12/14: Version 12.1.2 - Sebastien Godard (sysstat orange.fr) * sadf: Fix out of bound reads security issues (CVE-2018-19416 and CVE-2018-19517) [12.0.3]. * iostat: Add support for discard I/O statistics. * iostat/sar: Remove service time (svctm) metric. * sar/sadf: Add support for discard I/O statistics. * sar: Add a return code to remap_struct() function. * DTD and XSD documents updated. * sar and iostat manual pages updated. * Add non regression tests for XML output and improve those for JSON output. * sadf: Fix possible infinite loop [12.0.3]. * Remove remap_struct() prototype from sa.h [12.0.3]. * [Jamin]: Add a JSON parse test. * [Todd Walton]: Clarify sadc manual page and FAQ on using multiple -S keywords [12.0.3]. * [Steve Kay]: Use memcpy rather than strncpy, in order to avoid truncation warning [12.0.3]. * [Steve Kay]: Cosmetic fixes in configure file [12.0.3]. * [Anatoly Pugachev]: Fix comment in sar.c [12.0.3]. 2018/10/13: Version 12.1.1 - Sebastien Godard (sysstat orange.fr) * sar: Fix wrong size for stats_huge structure [12.0.1]. * sar/sadc/sadf: Add new HugePages metrics: HugePages_Rsvd and HugePages_Surp. * DTD and XSD documents updated. * sadf: Make it more robust to corrupted datafiles. * sadc: Allow to unselect activities by name. * Use thread-safe versions of gmtime() and localtime() functions. * sar: Fortify remap_struct() function [12.0.2]. * sar: Fix timestamp format in report output [12.0.2] [11.6.6] [11.4.11]. * sar: Make sure header lines are always displayed in report for statistics [12.0.2] [11.6.6] [11.4.11]. * Makefile: Fix "unexpected operator" error on install [12.0.2] [11.6.6] [11.4.11]. * sar: Fix typo in manual page [12.0.2] [11.6.6] [11.4.11]. * New non regression tests added. * README file updated: Added LGTM code quality badges. * sar manual page updated. * FAQ updated. * Cosmetic fixes. 2018/08/03: Version 12.0.0 - Sebastien Godard (sysstat orange.fr) * sadf: SVG: Remove id tag from individual graphs. Use activities identification numbers for id tags. * sadf: SVG: Add new option "showtoc", which can be used to display the list of activities for which there are graphs ("table of contents"). * sadf: SVG: Improve output for softnet activity: Add a discontinuity in graph when corresponding CPU is marked offline. * sadf: SVG: Improve function used to assess SVG canvas height. * sadf: SVG: Fix core dumped on buffers reallocation. * sar/sadf: Devices list management code refactoring. * sadf: SVG: Display graphs for swap utilization in packed mode [11.6.5]. * sadf: SVG: Don't take into account activities with no graphs when calculating canvas height [11.6.5]. * sadf: SVG: Don't insert a gap in SVG output if an activity is not displayed [11.6.5]. * sadf: SVG: Fix possible negative value in graphs coordinates [11.6.5]. * sa_conv.c: Use write_all() function instead of write() to handle possible signal interruptions. * spec file updated: No longer create a debug package. * Remove many warnings from gcc v7/v8. * README file updated. * Manual pages updated. 2018/06/01: Version 11.7.4 - Sebastien Godard (sysstat orange.fr) * sar/sadf: Add new option "--iface=": Allow the user to select the network interfaces to display. * sar/sadf: Add new option "--dev=": Allow the user to select the block devices to display. * sar/sadf: Add new option "--fs=": Allow the user to select the filesystems to display. * Add new option "--dec=": Allow the user to choose the number of decimal places to be used by sysstat commands. * Manual pages updated (sar, sadf, cifsiostat, iostat, mpstat, pidstat). * sar: Change how used memory (kbmemused) is calculated to be consistent with free(1) and top(1)'s output [11.6.4] [11.4.10]. * pidstat: Fix incorrect thread names displayed with -t and -l options [11.6.4] [11.4.10]. 2018/04/06: Version 11.7.3 - Sebastien Godard (sysstat orange.fr) * sar: Fix possible crash happening when buffers needed to be reallocated to accomodate more devices. * sar/sadf/mpstat: Compute global CPU statistics as the sum of individual CPU ones. * mpstat: Compute statistics for node "all" as the sum of individual CPU statistics. * sar: Add new "-z" option, which tells sar to omit output for any devices for which there was no activity during the sample period. * sar/sadf: Now better take into account offline and online CPU when displaying softnet statistics. * sadc: Shrink size of sadc binary file by compiling out unneeded functions. * sadf: Change raw format output to be CSV compliant. * sadf: Reorder some values displayed in debug mode/raw format. * Add initial support for major numbers > 255. * Update sysstat.ioconf devices list. * mpstat: Remove option "-P ON". mpstat now displays only online CPU by default. * sar and mpstat manual pages updated. * pidstat: Report CPU usage for a process as the sum of all threads [11.6.3] [11.4.9]. * sar: Change condition used in workaround for CPU coming back online [11.6.3] [11.4.9]. * NLS updated: Various translations updated. 2018/02/12: Version 11.7.2 - Sebastien Godard (sysstat orange.fr) * sadf: Rewrite function used to convert an old binary data file to the up-to-date format. * sar: Display all items for USB and filesystems activities in the summary ending the report. * sar: Don't read statistics twice when displaying average stats since system startup. * sar: Update magic number for certain activities structures (should have been done in 11.7.1). * sar: Display reports name in help message (sar --help). * sadc: Enable the user to select which activities will be collected by their name. * sar/sadc: Add DEBUG code. * sadf: RAW: Enhance output. * sadf: RAW: Rename "showhints" option to "debug". * sadf: sadf -H now displays more details on file. * sadf: SVG: Set minimum canvas height to 100 points. * sadf: SVG: Display grid and graduations on the whole width of the graph [11.6.3] [11.4.9]. * sadf: SVG: Don't display graphs for offline CPU. * iostat, cifsiostat: Display device name at the end of the line when option -h is used. * iostat: Refresh device list properly [11.6.3] [11.4.9]. * Travis CI: Add new tests. * Increase maximum number of interrupts that can be processed by sysstat commands (NR_IRQS). * FAQ updated [11.6.3] [11.4.9]. * sadf and sar manual pages updated. * NLS updated: Various translations updated. * README file updated. * Code cleaned and cosmetic fixes. 2018/01/12: Version 11.7.1 - Sebastien Godard (sysstat orange.fr) * sar/sadc: New binary data file format, which is now more flexible and takes much less space on disk. * sar/sadc: Dynamic structures allocation for all devices registered by the system. * sar/sadf: Support for big-endian/little-endian format for binary data files. * sar/sadc: Use 64-bit time values in binary data files. * sar/sadc: Update statistics structures to keep with current kernels. * sar/sadc: Update binary file's header data to deal with patchlevel and sublevel version numbers greater than 15. * sadc: Save HZ value in data file header. * sar/sadc: Don't assume CPU statistics are always saved in binary data files. * sar/sadf: Don't display offline CPU. * sadf: Conversion function (option -c) temporarily inhibited. It will work again with next sysstat version (11.7.2). * sar: The option used to display a help message is now "--help". * sar: Add new option -h to make sar's output easier to read by a human. This option moves device names (disks, network interfaces) at the end of the line. This option also sets options -p (pretty- print) and --human. * sadf: RAW: Display number of items for each activity. * sadf: Make option -H display all the activities present in file, whether known or unknown. * All commands now use only /proc/uptime to compute system uptime. Also use a time interval expressed in seconds, not in jiffies. * Makefile: Fix dependencies between files. * Makefile: Remove old references to nfsiostat command. * [Robert Luberda]: Fix sadc crash when really long lines are read from /etc/mtab [11.6.1] [11.4.7] [11.2.13]. * [JoungKyun Kim]: NLS updated: Add Korean translation [11.6.1]. * [Christian Ehrhardt]: Fix 00 byte after values when --human is not set [11.6.1]. * Fix invalid token in "iostat -y" JSON output [11.6.1]. * Workaround for offline CPU coming back online [11.6.2] [11.4.8] [11.2.14]. * sadf: Fix CSV output for TTY statistics [11.6.2] [11.4.8] [11.2.14]. * sadf: Remove duplicate % sign displayed in ppc mode [11.6.2]. * SVG: Display time as xx:00 instead of xxH when "oneday" option is used [11.6.2] [11.4.8]. * sar: Use ULLONG_MAX/2 to check if network device counters have overflown [11.6.2] [11.4.8] [11.2.14]. * Remove SCCSID strings in executable files to allow reproducible build [11.6.1] [11.4.7] [11.2.13]. * Remove unused parameters passed to functions [11.6.1] [11.4.7] [11.2.13]. * sadf: Don't use f_count2() function pointer [11.6.1] [11.4.7] [11.2.13]. * [Lukas Zapletal]: Update comment of SA_DIR in sysconfig file [11.6.1] [11.4.7] [11.2.13]. * NLS: Various translations updated. * Various cosmetic fixes, typo fixes and documentation enhancements in source code. 2017/08/14: Version 11.6.0 - Sebastien Godard (sysstat orange.fr) * pidstat: Add new option (-e) which can be used to pass a program to execute and make pidstat monitor it. * pidstat: Add new option (-H) to display timestamps in seconds since the Epoch. * pidstat manual page updated. * Revert "ARM: Fix sadc crash because of unaligned memory accesses". The fix may cause segmentation faults in some cases [11.4.6] [11.2.12]. * Add BUG_REPORT template file. * README file updated. * Cosmetic changes in code. * lsm file updated [11.4.6] [11.2.12]. 2017/07/05: Version 11.5.7 - Sebastien Godard (sysstat orange.fr) * iostat: Add new "-s" switch used to display a short (narrow) version of the report that should fit in 80 chars wide screens. * iostat: Add new metrics to iostat's extended statistics report. * iostat: Express requests average size in kB, not sectors. * iostat: Make JSON output depend on options used. * iostat: Remove trailing colon following "Device" field name. * sar/sadf: Metrics from disks report previously expressed in sectors are now expressed in kB. * Update DTD/XSD documents. * SVG: Fix graphs for swap space utilization statistics. * Display unit with areq-sz metric values when --human option used. * Display a percent sign after values when --human option used. * pidstat: Don't stop if /proc/#/schedstat files don't exist. * Fix ressource leak (CID 144609) [11.4.5] [11.2.11]. * Cast variables to target type before use [11.4.5] [11.2.11]. * Fix buffer overflow when options -s or -e are used with sar (DEBIAN bug #863197) [11.4.5] [11.2.11]. * SVG: Define a max number of horizontal lines for the background grid [11.4.5]. * Change default colors to be usable on both dark and light terminal backgrounds [11.4.5] [11.2.11]. * Start collect and summary systemd services after sysstat.service [11.4.5] [11.2.11]. * Manual pages updated. * CREDITS file updated. 2017/05/10: Version 11.5.6 - Sebastien Godard (sysstat orange.fr) * mpstat: Provide CPU statistics based on NUMA node placement. * SVG: Add new option: "showinfo". * ARM: Fix sadc crash because of unaligned memory accesses [11.4.4] [11.2.10]. * Makefile: Fix test failures on big endian archs. * rndr_stats.c: Simplify fix for warning given by gcc -Werror=format-security * mpstat: Remove unneeded parameter from JSON functions. * mpstat and sadf manual pages updated. * [Robert Luberda]: isag: Add several enhancements and fixes. * Fix typo in sadf manual page [11.4.4]. 2017/02/27: Version 11.5.5 - Sebastien Godard (sysstat orange.fr) * SVG: Allow multiple charts on a row (new option added: "packed"). * SVG: Add new option: "height=..." * SVG: Properly terminate SVG file when no data have been found [11.4.4]. * SVG: Don't extend X axis beyond time end [11.4.4]. * Add new %wait field to pidstat CPU utilization. * sadf: Fix insecure data handling (CID #139643). * sadf: Small code cleanup. * Fix comment in /etc/sysconfig/sysstat file [11.4.4] [11.2.10]. * Makefile: Add regression tests ("test" target). * Hook up to Travis CI. * README file completely rewritten. * FAQ file converted to MarkDown format. * Remove isag support. * sadf and pisdstat manual pages updated. * Remove nfsiostat from .gitignore file [11.4.4] [11.2.10]. 2017/01/11: Version 11.5.4 - Sebastien Godard (sysstat orange.fr) * sadf: Add new "raw" output format. * sar: Remove memory statistics (option -R). * SVG: Give actual canvas height at the end of SVG output. * Make sar's -I option work again with sadf. * sar: Better handle dynamically registered devices [11.4.3] [11.2.9]. * sar: Fix incorrect gcc warning in svg_stats.c [11.4.3]. * SVG: Init f_svg_print() function pointer to NULL [11.4.3]. * sadf and sar manual pages updated. * README file updated (added Coverity Badge). * NLS translations updated. Added new Friulian translation. * Cosmetic fixes in source code. 2016/12/06: Version 11.5.3 - Sebastien Godard (sysstat orange.fr) * sar: Add new metric "available free memory" to memory statistics. * Update DTD and XSD documents to include new metric. * sar/pidstat/iostat/tapestat/cifsiostat: Add new --human option to display values in human readable format. * SVG: Add new option "showidle" to be used with sadf to display CPU idle state. * sar/mpstat: Allow selection of a range of CPU or interrupts. * Update mpstat, sar and sadf manual pages. * iostat/mpstat: Fix "'LC_NUMERIC' undeclared" error message when compiling sysstat. * Sort keywords definition in sar, sadc and mpstat manual pages [11.2.9] [11.4.3]. * SVG: Change some colors to make graphs easier to distinguish [11.4.3]. * Small fix in iostat manual page [11.2.9] [11.4.3]. * Cosmetic changes in source code [11.2.9] [11.4.3]. * Update lsm file contents. * NLS updated. 2016/11/04: Version 11.5.2 - Sebastien Godard (sysstat orange.fr) * sar: Add software-based network processing (softnet) statistics. * sadf: Add output formats for softnet statistics. * [Michal Sekletar]: sar: Make buffers that hold timestamps bigger [11.2.8] [11.4.2]. * [Shantanu Goel]: sar: /proc/vmstat fix for Linux 4.8 [11.2.8] [11.4.2]. * [Mike Winter]: pidstat: Use system constants for process name length and username length. * [Breno Leitao]: sar: Improve cpuinfo read for POWER architecture [11.2.8] [11.4.2]. * Make various buffers size holding timestamps consistent. * sadf: Use a decimal point instead of a coma in JSON output [11.2.8] [11.4.2]. * mpstat, iostat: Use a decimal point instead of a coma in JSON output. * pidstat: Use either the short or the full command line when looking for a pattern with options -C or -G [11.2.8] [11.4.2]. * sar manual page updated. * NLS updated. * CREDITS file updated. 2016/09/23: Version 11.5.1 - Sebastien Godard (sysstat orange.fr) * iostat: Add JSON output (option "-o JSON"). * mpstat: Add JSON output (option "-o JSON"). * sadf: Fix broken datafile conversion from old formats [11.2.7] [11.4.1]. * sadf: Fix fields list displayed by sadf -d for filesystem activity [11.2.7] [11.4.1]. * pidstat: Don't omit kernel threads when using -l option [11.2.7] [11.4.1]. * Reuse hdr_line string from struct activity to display activities title line. * sadf: Remove sysstat-version from JSON output. * iostat and mpstat manual pages updated. 2016/08/15: Version 11.4.0 - Sebastien Godard (sysstat orange.fr) * sar: Workaround for I/O and transfer rates statistics which may be wrongly calculated if a filesystem is unmounted [11.2.6]. * SVG: Fix how bar graphs are displayed for filesystems statistics in order to not loose the first sample. * SVG: Change graphs order to be consistent with the output of sar. * SVG: Change some graphs's title. * Replace strcpy() with strncpy() to avoid buffer overflows [11.2.6]. * Fixed unsigned compared against 0 problem (CID#127473) [11.2.6]. * NLS updated. 2016/06/24: Version 11.3.5 - Sebastien Godard (sysstat orange.fr) * SVG: Add SVG output for ICMP{v4,v6}, IPv6, UDPv6, voltage inputs, NFS client, NFS server, disks, filesystems and FC HBA statistics. * SVG: Add SVG output for IPv4, ICMPv4, TCPv4, IPv6 and ICMP network errors statistics. * SVG: Make sure graduations are properly aligned with grid. * SVG: Add oneday option to control SVG output. * SVG: Fix skipempty option. * [Peter Schiffer]: Stricter check for file_magic->header_size [11.2.5]. * [Peter Schiffer]: tapestat: Various fixes [11.2.5]. * [Esteban Fallas]: Check for undefined UID variable in sysstat script [11.2.5]. * [Carsten Grohmann]: Unify description of the tps value in the sar manual page for -b and -d flags [11.2.5]. * sadf manual page updated. 2016/05/14: Version 11.3.4 - Sebastien Godard (sysstat orange.fr) * SVG: Add SVG output for fan speed and temperature sensors statistics, I/O and transfer rate statistics, kernel tables statistics, hugepages utilization statistics, IPv4 and IPv6 network sockets statistics, UDPv4, TCPv4 and IPv4 network statistics. * SVG: Add skipempty and autoscale options to control SVG output. * sadf and sar manual pages updated [11.2.4]. * NLS translation updated. * Various cosmetic changes in code [11.2.4]. 2016/04/09: Version 11.3.3 - Sebastien Godard (sysstat orange.fr) * SVG: Add SVG output for CPU statistics, CPU frequency statistics, memory and swap statistics, and queue length and load average statistics. * SVG: Make SVG code independent from the locale used to display numerical values. * SVG: Fix possibly truncated SVG code. * SVG: Make sure that a minimum interval value is used on X and Y axis. * [Peter Portante]: Quick fix for cprintf_u64 non-uintv64_t [11.2.3]. * NLS translations updated. 2016/03/13: Version 11.3.2 - Sebastien Godard (sysstat orange.fr) * sadf: Add SVG output for paging statistics, network interfaces and swap statistics. * SVG: Specify charset encoding in SVG header. * SVG: Fix invalid use of attribute vector-effect. * sar: Fix possible confusion between network interfaces that could happen when a new interface was registered and appeared in the middle of the list in the /proc/net/dev file [11.2.2]. * sar: Fix possible compatibility issues between sysstat versions [11.2.2.]. * [Y. Namiki]: sar: Print time in the ISO format if S_TIME_FORMAT=ISO [11.2.2]. * mpstat/pidstat: Print time in the ISO format if S_TIME_FORMAT=ISO [11.2.2]. * [Steve Kay]: Disable NLS if any gettext components are unavailable [11.2.2]. * [Steve Kay]: sadf: Fix several typos in SVG output. * [Steve Kay]: Fix tapestat manual page typos [11.2.2]. * [Peter Schiffer]: Add new SP_VALUE_100() macro which limits value to 100% for CPU statistics displayed by pidstat [11.2.2]. * sar, sadf, pidstat and mpstat manual pages updated. 2016/02/21: Version 11.3.1 - Sebastien Godard (sysstat orange.fr) * sadf: Add new SVG (Scalable Vector Graphics) output format. This option enables the user to display fancy graphs in a web brower using the data collected by sar/sadc! * sar/sadf: Major code refactoring. * sadf: Don't display the JSON fchosts tag when no statistics data exist for Fibre Channel [11.2.1]. * README file converted to Markdown format [11.2.1]. * [Peter Schiffer]: Convert CREDITS file to utf-8 [11.2.1]. * [Peter Schiffer]: Update license text [11.2.1]. * sadf manual page updated. * FAQ updated. * Update README file and copyright messages [11.2.1]. * NLS updated [11.2.1]. 2015/12/27: Version 11.2.0 - Sebastien Godard (sysstat orange.fr) * mpstat: Code refactoring (better handle some special borderline cases for per-processor interrupts statistics). * mpstat: Option -I now accepts a list of comma-separated arguments. * sar: Fix color output for %temp and %in fields. * sadf: Fix bug preventing sadf from converting a data file with an old format. * sadc: Fix insecure data handling, really (CID #29720). * [Peter Schiffer]: Increase NR_CPUS to match kernel upstream. * sar: Check minimum size of sa data files header (CID #29719). * sadc: Fix default number of frequencies for A_PWR_WGHFREQ activity. * pidstat: Define new SCHED_DEADLINE scheduling policy. * Remove obsolete nfsiostat-sysstat command. * mpstat manual page updated. * NLS updated. 2015/10/23: Version 11.1.8 - Sebastien Godard (sysstat orange.fr) * Add support for color customization. * Add color support for pidstat, tapestat and cifsiostat commands. * Define values "always", "never" and "auto" for S_COLORS environment variable. * sar: Remove extra line of statistics displayed when SIGINT is received. * Add missing va_end() statements (CID #113539, #113540, #113541, #113542). * Fix possible NULL pointer dereference in SREALLOC macro (CID #29706) [11.0.8]. * sadc: Fix untrusted value used as argument (CID #29720) [11.0.8]. * sadc: Fix another insecure data handling (CID #29720). * sar/sadc: Set an upper limit for each kind of item that sar/sadc can handle. * Manual pages updated for iostat, mpstat, sar, pidstat, tapestat and cifsiostat commands. * Update librdsensors.a target in Makefile [11.0.8]. 2015/09/20: Version 11.1.7 - Sebastien Godard (sysstat orange.fr) * Add color support for mpstat, iostat and sar commands. * [Peter Schiffer]: Fix problem with pidstat output values > 100% for %CPU [11.0.7]. * [Shane Seymour]: tapestat: Fix issue when st driver is unloaded then loaded again. * [Christian Neukirchen]: Fix header files included in tapestat. * Make sysstat build on musl (non-glibc) environment. * tapestat: Check fscanf() return values. * [Alexis Solanas]: Fix issue with iostat not showing the full device name [11.0.7]. * sa2: DATE couldn't be set when DATE_OPTS variable was empty. Fix this. * Add sa2 option to avoid sarDD report generation. * [Julian Taylor]: sargraph2: Fix MB/s units and help typo. * sysstat(5), iostat, mpstat and sar manual pages updated. * NLS: Sync'd with Translation Project. * CREDITS file updated. 2015/08/24: Version 11.1.6 - Sebastien Godard (sysstat orange.fr) * [Shane Seymour]: Added new "tapestat" command aimed at displaying statistics for tape drives. * [Shane Seymour]: Added tapestat manual page. * Check /proc/net/snmp format to collect ICMP statistics at their right positions [11.0.6]. * sadc: Fix untrusted value used as argument. * sa_conv.c: Fix ressource leak. * ioconf.c: Fix several ressource leaks [11.0.6]. * mpstat: Fix alignment output, really [11.0.6]. * [Sampsa Kiiskinen]: Fix bug in isag [11.0.6]. * iostat's option -T renamed to -H. * iostat manual page updated. * NLS updated. * CREDITS file updated. 2015/06/12: Version 11.1.5 - Sebastien Godard (sysstat orange.fr) * [Steve Kay]: sar: Added fibre channel HBA statistics. * [Steve Kay]: Replace non printable characters in comments displayed by sar/sadf. * [Peter Schiffer]: Fixed and simplified some math expressions in pr_stats.c [11.0.5]. * [Peter Schiffer]: ioconf.c: Check value of variable "major" read from file [11.0.5]. * [Peter Schiffer]: ioconf.c: Use strncpy instead of strcpy [11.0.5]. * sar: Fixed untrusted loop bound [11.0.5]. * sadc: Fixed time-of-check, time-of-use race condition. * [Vitezslav Cizek]: Assume device-mapper is not running when it is not found in /proc/devices. * sar: Added option --sadc. This option indicates which data collector will be called by sar. * sadf: Fixed null pointer dereference which could happen with a malformed system activity datafile. * cifsiostat: Fixed possible integer overflowed argument [11.0.5]. * sar manual page updated. * FAQ updated. * DTD and XSD documents updated. * NLS updated. 2015/04/07: Version 11.1.4 - Sebastien Godard (sysstat orange.fr) * Makefile: sysstat init script may sometimes be called rc.sysstat. So use that name when needed [11.0.4]. * pidstat: Don't stop if gtime and cgtime fields are unavailable [11.0.4]. * sar: Fix output with filesystems having more than MAX_FS_LEN characters in length. * Updated DTD and XSD documents. XML document, as displayed by sadf -x, should now be properly validated against them. * [Peter Schiffer]: Replace spaces with tabs in Makefile.in [11.0.4]. * [Peter Schiffer]: Create appropriate directories in DESTDIR if missing [11.0.4]. * [Peter Schiffer]: Fixed installation of systemd/cron files on systems w/o systemd [11.0.4]. * [Peter Schiffer]: Don't look in weird places for programs during configuration [11.0.4]. * [Steve Kay]: sar: Added option to display mountpoint names instead of filesystem names. * [Steve Kay]: sar/sadf: Permit hh:mm:ss as well as hh:mm. * [Steve Kay]: Fix mpstat SCPU alignment output [11.0.4]. * [Steve Kay]: Fix unproperly indented line in sar -h output. * Makefile: Call chkconfig only if $(COPY_ONLY) is set to no [11.0.4]. * sysstat(5) manual page updated [11.0.4]. * [Dimitrios Apostolou]: Updated sargraph tool. * [Dimitrios Apostolou]: Updated sa2 script to support more compression formats. Simplify logic with regexes. * [Dimitrios Apostolou]: YESTERDAY variable can now be changed in sysstat config file (/etc/sysconfig/sysstat). * [Dimitrios Apostolou]: By default sa2 now generates yesterday's summary. * CREDITS file updated. 2015/02/13: Version 11.1.3 - Sebastien Godard (sysstat orange.fr) * sar/sadc: Added new metrics from /proc/meminfo to memory statistics. * sadf: Update output formats to take into account new memory metrics. * [Peter Schiffer]: Fixes from static analysis. * [Peter Schiffer]: Prefer xz compression program when compressing sa data files [11.0.3]. * [Peter Schiffer]: Portable way to detect 64 bit OS in configure script [11.0.4]. * [Vasant Hegde]: sadc: Fix possible race condition in signal handler code [11.0.3]. * Fix description of %util in iostat and sar manual pages [11.0.3]. * Fix wrong size used in upgrade_magic_section() function. * Add new sadc_options variable to configure script. * Rename --disable-man-group option to --disable-file-attr. This configure's option prevents the build process from setting attributes of files being installed. * Make sure that no crontabs are activated when configure's option --enable-copy-only is used [11.0.3]. * FAQ updated. * RPM spec file updated. * sar manual page updated. * sadc manual page updated [11.0.3]. * CREDITS file updated. * Code cleaned [11.0.3]. 2014/10/19: Version 11.1.2 - Sebastien Godard (sysstat orange.fr) * [Robert Elliott]: Added irqtop command. irqtop monitors differences in /proc/interrupts and /proc/softirqs per CPU, along with CPU statistics. irqtop is currently in the contrib directory. * [Lance Shelton]: Added irqstat command, a better way to watch /proc/interrupts, designed for NUMA systems with many processors. * [Vasant Hegde]: sadc: Don't send SIGINT signal if parent process is already dead [11.0.2]. * sadc: Make sure that functions used to count items (CPU, network interfaces, etc.) are called only once. * sar and sadf now tell the user when they cannot read a file because the endian format doesn't match. * Fixed incomplete sar and sadf output when end time (specified with option -e) crosses 24 hour boundary [11.0.2]. * cifsiostat/nfsiostat: Fix output on single core CPU [11.0.2]. * pidstat didn't handle processes with spaces in their name properly. This is now fixed [11.0.2]. * NLS updated. * CREDITS file updated. 2014/08/30: Version 11.1.1 - Sebastien Godard (sysstat orange.fr) * Added option -c to sadf: This option enables the user to convert an sa datafile with an old format (at least 9.1.6) to the up-to-date format (11.1.1 as of today). * Update sadf -H output to print datafile date and tell whether this file has been converted from an old datafile or not. * Added option -[0-9]+ to sadf to show data of that days ago [11.0.1]. * Use statvfs() system call instead of deprecated statfs() to get filesystems statistics with sar [11.0.1]. * sar: Stricter syntax check [11.0.1]. * Remove unneeded include file in sa_common.c [11.0.1]. * [Kosaki Motohiro]: Update workaround for 32bit CPU counters [11.0.1]. * Define unknown scheduling policies in pidstat.h [11.0.1]. * [Ivana Varekova]: Test return value for fgets/fscanf calls [11.0.1]. * Makefile updated: Follow symlinks when creating the tarballs [11.0.1]. * sadf manual page updated [11.0.1]. 2014/06/17: Version 11.0.0 - Sebastien Godard (sysstat orange.fr) * [Cedric Marie]: pidstat now displays task scheduling priority and policy along with task switching activity (-w option). * [Cedric Marie]: pidstat: Add option -G to filter processes by name. * pidstat: Update variables type to be consistent with recent 3.x kernels. * sadc/sar/sadf: The standard daily data files may now be named saYYYYMMDD instead of saDD. Option -D has been added to sar and sadc to tell them to write to data files under the name saYYYYMMDD. * sadc/sar/sadf: Take into account alternate locations for standard daily data files. * sa1 and sa2 scripts updated: Don't create a tree of directories any more if HISTORY is greater than 28. Use saYYYYMMDD data files instead. * sa1 and sa2 scripts now take into account two new variables: SA_DIR (directory where sa and sar files are located) and ZIP (compression program to use). * Make sysstat init script source the functions library * Fix possible buffer overflow. * Small fix with sadc's option -S: It is now possible to enter several comma separated values. * Don't install crontabs when using systemd timer units. * Manual pages updated. * FAQ updated. * NLS updated. Galician and Hungarian translations added. * CREDITS file updated. 2014/03/18: Version 10.3.1 - Sebastien Godard (sysstat orange.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2173] * sar/sadc/sadf: Now take into account a change of CPU count in datafiles. The number of CPU is displayed in the RESTART messages. * DTD and XSD documents updated. * [Tomasz Torcz]: Add systemd timer units replacing cronjobs. * [Mike Kazantsev]: Fix output of sadf -j with file-utc-time present. * [Peter Portante]: sa2 script now also catches 'xz' compressed files as well. * Rename nfsiostat to nfsiostat-sysstat and indicate it is now obsolete. An nfsiostat command is already included in the nfs-utils package. * When attempting to use a non existent daily datafile, sar and sadf tell the user to check if data collecting is enabled. * sadf -H now displays the number of activities in file. * nfsiostat manual page updated. * FAQ updated. * README file updated. * NLS updated. 2014/01/19: Version 10.2.1 - Sebastien Godard (sysstat orange.fr) * Added new --enable-copy-only option to configure script. This option may be useful when creating sysstat package to make sure that files are only copied to $DESTDIR and that no service is activated (eg. for distro using systemd). * pidstat: Add a new metric to pidstat I/O statistics: per-task block I/O delays. * Take $DESTDIR variable into account when installing sysstat service used by systemd. * sadf -H, sadf -j and sadf -x now also display the file creation time. * Use sizeof() instead of hardcoded size values. * pidstat manual page updated. * Cosmetic fixes. * NLS updated. 2013/11/03: Version 10.2.0 - Sebastien Godard (sysstat orange.fr) * pidstat: Added option -v, enabling the user to display the number of threads and file descriptors associated with tasks. * Stack stats displayed by "pidstat -s" were sometimes not displayed for some processes although values had changed. This is now fixed. * pidstat can now display stats since system startup for a list of processes given on the command line. * pidstat -d now displays -1 for I/O stats values when the process I/O file cannot be read (permission denied or file non existent). * mpstat and pidstat commands now exit immediately when they get a SIGINT signal during the first interval of time. * [Alexander Troosh]: mpstat: Take into account the highest processor number in mpstat output. * Rearrange options displayed by sar -h (upper case option should be displayed before its lower case counterpart). * Added "prealloc" variable to configure script. This variable will determine the size of data files created by sar/sadc. * Added xz-compressed target to Makefile. * pidstat manual page updated. * NLS updated. * CREDIT updated. 2013/09/13: Version 10.1.7 - Sebastien Godard (sysstat orange.fr) * New metric added to sar network devices statistics: %ifutil now gives the network interface utilization percentage. * Now use a lightweight static library having only the necessary functions to compile sysstat commands. This results in a size 25% to almost 45% smaller for some commands. * [Kevin Johnson]: Rewrite rule for librdstats.a in Makefile to allow parallel execution. * [Peter Schiffer]: Fix wrong permissions for data file created by sa1 script when HISTORY is greater than 28. * [Muneyuki Noguchi]: Use %u instead of %d for unsigned int variables. * [Muneyuki Noguchi]: Close file descriptor before exit in pidstat.c. * [Muneyuki Noguchi]: Remove redundant NULL checks. * [James Fraser]: Replace comma with semi-colon in filesystems statistics header line. * Fixed sar log file corruption in odd Feb 28th edge-case. * Filesystems statistics (displayed by sar -F) are now collected by sadc only if option "-S XDISK" is used. * sar now collects all statistics (including partitions ones) when data are saved into a file with option -o. * [Yan Gao]: Update iostat manual page: Don't say that device saturation occurs when %util is close to 100% for devices serving multiple requests simultaneously. * Documentation fixes and updates. * Several manual pages updated (sar, sadc, sadf, sa1, sa2, sysstat). * NLS updated. 2013/06/09: Version 10.1.6 - Sebastien Godard (sysstat orange.fr) * Filesystems statistics added to sar/sadc/sadf. These stats can be displayed with option -F. * DTD and XSD documents updated. * Code cleaned: Removed several unused constants from header files. * Sysstat command options can now be 'collapsed' (grouped) when not followed by an argument. So it's now possible for example to enter 'iostat -px 2 5' since no device name is given to option -p. This also concerns pidstat option -U. * Fixed type for "memfree" and "intr" elements in XSD document. * Removed functions used to count number of items from rd_stats.c and put them in a separate file (count.c). * NLS updated (da, hr, cs). Turkish translation added. * Typos fixed. README file updated. * Yet another cosmetic fix in pidstat manual page. Sar and mpstat manual pages updated. 2013/03/31: Version 10.1.5 - Sebastien Godard (sysstat orange.fr) * mpstat now takes into account every interrupt per processor so that their number adds up to the number displayed for CPU "all". * [Peter Schiffer]: systemd unit file couldn't be installed because PKG_PROG_PKG_CONFIG macro wasn't expanded in configure script. This is now fixed. * [Benno Schulenberg]: Fixed a small inconsistency in pidstat usage message. * Cosmetic fixes in pidstat manual page. * NLS updated (de, eo, fi, fr, ja, nb, nl, ru, uk, vi). * CREDITS file updated. 2013/03/08: Version 10.1.4 - Sebastien Godard (sysstat orange.fr) * [Christophe Cerin]: pidstat now stops and displays its average stats when it receives SIGINT (crtl/c). * mpstat now stops and displays its average stats when it receives SIGINT (crtl/c). * sar now stops and displays its average stats when it receives SIGINT (crtl/c). * pidstat now displays task's UID for all tasks. * pidstat: -U option added. This option tells pidstat to display the username of the task instead of its UID. When this option is followed by a user name, then only tasks belonging to the specified user are displayed by pidstat. * pidstat manual page updated. * Now use sigaction() instead of signal() for signals handling to avoid portability problems. * FAQ updated. * NLS updated. 2012/12/23: Version 10.1.3 - Sebastien Godard (sysstat orange.fr) * Changed network counters (used by sar -n {DEV | EDEV }) to unsigned long long to keep in sync with current kernels. WARNING: This breaks compatibility with older sar data files format for network statistics. * Changed IPv4 counters (used by sar -n { IP | EIP}) to unsigned long long to keep in sync with current kernels. WARNING: This breaks compatibility with older sar data files format for IPv4 statistics. * Changed IPv6 counters (used by sar -n { IP6 | EIP6}) to unsigned long long to keep in sync with current kernels. WARNING: This breaks compatibility with older sar data files format for IPv6 statistics. * [Peter Schiffer]: Added option -y to iostat. This option prevents iostat from displaying its first report with statistics since system boot. * [Peter Schiffer]: Increase NR_CPUS and NR_IRQS values. * [John Lau]: sadc didn't collect all its activities when it had to overwrite an old sysstat data file with some unknown activity formats. This is now fixed. * Now install sadc in $prefix/lib64 directory on 64 bit machines even if $prefix/lib directory also exists. * Fixed DTD document: If computer has run all day without restart, XML output file from sadf -x has no boot elements. * Remove heading spaces in softirq names displayed by mpstat for easier reading. * Fixed wrong command execution syntax in configure script. * Removed several unused definitions in some header files. * iostat manual page updated. * NLS updated. * CREDITS file updated. 2012/10/06: Version 10.1.2 - Sebastien Godard (sysstat orange.fr) * New field added to sar -u and mpstat: %gnice (time spent running a niced guest). * New field added to sar -r: kbdirty (amount of memory waiting to get written back to disk). * [Peter Schiffer]: systemd support added. * [Peter Schiffer]: Sysstat init script updated to make it more conforming to LSB. * XML DTD document name is now tagged with a version number. * Fixed a fatal error when compiled with -Werror=format-security. * sar, sadf and mpstat manual pages updated. * DTD and XSD documents updated. * Cosmetic change in sadf -H output. * NLS updated. 2012/07/29: Version 10.1.1 - Sebastien Godard (sysstat orange.fr) * Added option -[0-9]+ to sar to show data of that days ago. * [Peter Schiffer]: Persistent device names support added to sar and iostat (option -j). * [Peter Schiffer]: Make sysstat disk counters consistent with those from latest kernel (3.5). WARNING: This breaks compatibility with older sar data files format for disk activity. * [Peter Schiffer]: sar: Use /sys/dev/block/major:minor links to determine devices real name. * Part of 'sadf -H' output was written to stderr instead of stdout. This is now fixed. * WARNING: sadf: Option '-T' has been renamed into '-U', and option '-t' has been renamed into '-T'. * sadf: New option -t added. This option tells sadf to display the timestamps in the local time of the data file creator instead of UTC. The same option exists for sar. * [Peter Schiffer]: Various cosmetic changes in manual pages and usage messages displayed by sysstat commands. * FAQ updated. * NLS updated. * sar, sadf and iostat manual pages updated. 2012/05/16: Version 10.0.5 - Sebastien Godard (sysstat orange.fr) * [Alain Chereau]: Options -g and -T added to iostat. These options enable the user to display statistics for groups of devices. * [Vitezslav Cizek]: sadc now overwrites its standard daily data file when this file is from a past month. * sadf: Change time format from HH-MM-SS to HH:MM:SS in the various reports displayed by sadf. * XSD document updated: Added a maxOccurs indicator for the timestamp element. * Added option --enable-collect-all to configure script. This option tells sadc to collect all possible activities, including optional ones. * [Peter Schiffer]: Set exit code to 0 for sa2 shell script. * NLS updated. Croatian translation added. * iostat and sadc manual pages updated. * FAQ updated. * CREDITS file updated. 2012/03/07: Version 10.0.4 - Sebastien Godard (sysstat orange.fr) * [Andrey Borzenkov]: Don't take virtual devices into account in sar -b results. * [Peter Schiffer]: iostat didn't display target device information when a symbolic link was specified as a parameter. This is now fixed. * The number of jiffies spent by a CPU in guest mode given by the corresponding counter in /proc/stat may be slightly different from that included in the user counter. Take this into account when calculating current time interval value. * configure script updated: Added --disable-stripping option. Using this option tells configure to NOT strip object files. * FAQ updated. * sa1 manual page updated. * NLS updated. Serbian translation added. 2011/11/27: Version 10.0.3 - Sebastien Godard (sysstat orange.fr) * sadf: New output format added: JSON (JavaScript Object Notation). This format can be displayed with sadf's option -j. * [Jurgen Heinemann]: Fixed a bug in sadf XML output. * [Jurgen Heinemann]: Fixed several bugs in DTD and XSD documents. * [Petr Uzel]: Fixed random crash with iostat when called with option -N [NOVELL Bug#729130]. * sadf manual page updated. * NLS updated. * CREDITS file updated. 2011/08/28: Version 10.0.2 - Sebastien Godard (sysstat orange.fr) * sadf modified to make it easier to add new output formats. Its design is still not generic anyway. * Option -T added to sadf: This option tells sadf to display timestamps in seconds since the epoch (when applicable). * Option "-P ON" added to mpstat. This option tells mpstat to display stats only for online CPU. * [Kei Ishida]: pidstat displayed stats for processes that had terminated while pidstat was running. This is now fixed. * [Jeroen Roovers]: Automate translation files handling in Makefile.in. * DTD and XSD documents updated. * sadf and mpstat manual pages updated. * pidstat manual page updated: Added description of field %MEM displayed by pidstat -r. * Various cosmetic changes (sar.c, sadf.c). * NLS updated. * CREDITS file updated. 2011/06/03: Version 10.0.1 - Sebastien Godard (sysstat orange.fr) * Added USB devices statistics to sar and sadc. The option "-m USB" can now be used with sar to take a snapshot of all the USB devices currently plugged into the system. * sadf -p now displays the sensor device name for temperature, voltage inputs and fans statistics. * sar and pidstat: Check that _("Average") string doesn't exceed the size of the timestamp buffer. * [Ivana Varekova]: Added option -h to iostat. This option makes the device utilization report easier to read with long device names. * [Ivana Varekova]: cifsiostat didn't count open files from the "Posix Open" column in /proc/fs/cifs/Stats file. This is now fixed. * [Ivana Varekova]: Close file descriptor in read_uptime() function (rd_stats.c file). * Fixed XML output displayed by sadf (hugepages statistics were included in section). * sar: Decrease column width for sensor device name (temperature, voltage inputs and fans statistics). * Remove unnecessary arguments from functions in pr_stats.c. * sar manual page updated. * DTD and XSD documents updated and cleaned. * NLS updated. Esperanto translation added. * CREDITS file updated. 2011/03/15: Version 10.0.0 - Sebastien Godard (sysstat orange.fr) * [Ivana Varekova]: Fixed a problem with long NFS and CIFS share names in cifsiostat and nfsiostat. * [Ivana Varekova]: Added the possibility to extend the number of slots for NFS and CIFS mount points on the fly. * [Ivana Varekova]: Check calloc() return value in cifsiostat and nfsiostat. * [Jan Kaluza]: Added --debuginfo option to cifsiostat and nfsiostat. * cifsiostat and nfsiostat manual pages updated. * Don't link sysstat's commands with sensors library if not needed [DEBIAN Bug#612571]. * [Adam Heath]: iostat incorrectly mapped device-mapper IDs greater than 256. This is now fixed [DEBIAN Bug#614397]. * Sysstat's commands option -V now displays the version number on stdout and returns 0 for the exit code. * sysstat_panic function is now defined only in DEBUG mode. * NLS updated. Ukrainian translation added. * CREDITS file updated. 2010/12/26: Version 9.1.7 - Sebastien Godard (sysstat orange.fr) INFO: stats_queue structure format has changed and is *not* compatible with the previous one [+1] * sar now tells sadc to read only the necessary groups of activities. * Added a new metric (number of tasks waiting for I/O) to sar -q. * Added two new metrics (amount of active and inactive memory) to sar -r. * [Ivana Varekova]: Fix segfaults on bogus localtime input. * Fixed bogus CPU statistics output, which happened when CPU user value from /proc/stat wasn't incremented whereas CPU guest value was. * nfsiostat now takes into account POSIXLY_CORRECT environment variable. nfsiostat default output is expressed in kB/s, unless this variable is set (in which case the output is expressed in blocks/s). * No longer assume that device-mapper major number is 253. Get the real number from /proc/devices file. * DTD and XSD documents updated. * [Kenichi Okuyama]: Small change to sar manual page. * sar manual page updated. * NLS updated. * Code cleaned. 2010/11/10: Version 9.1.6 - Sebastien Godard (sysstat orange.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2171] * Added a new magical value for each activity in file. A format change can now hit only one activity instead of the whole file. * Added CPU average clock frequency statistics to sar and sadc. * Added hugepages utilization statistics to sar and sadc. * Fixed some differences between XML output (as displayed by sadf -x) and DTD document. * sadc -S POWER didn't include voltage inputs statistics. This is now fixed. * Define groups of activities: Each activity has now a new attribute specifying the group it belongs to (POWER, IPV6, etc.) * [Ivana Varekova]: Moved manual pages to $prefix/share/man instead of $prefix/man. * [Ivana Varekova]: Fixed configure's --disable-man-group option. * [Ivana Varekova]: Added SADC_OPTIONS to sysstat configuration file. * [Ivana Varekova]: Added sysstat(5) manual page. * sar manual page updated. * DTD and XSD documents updated. * NLS updated. * Split up prf_stats.c file into rndr_stats.c and xml_stats.c * Moved cron files in a separate cron subdirectory. * Made sysstat git aware. * CREDITS file updated. 2010/09/12: Version 9.1.5 - Sebastien Godard (sysstat orange.fr) * Added voltage inputs statistics to sar and sadc. * Added %temp field to device temperature statistics (sar -m TEMP). * Added drpm field to fan speed statistics (sar -m FAN). * XSD and DTD documents updated. * sar manual page updated. Indicate that svctm field should no longer be trusted. * Removed link to isag(1) from man pages. * NLS updated. Czech translation added. * Sample crontabs and sysstat init script: Don't collect disk data by default. * Code cleaned. 2010/07/29: Version 9.1.4 - Sebastien Godard (sysstat orange.fr) * [Jan Kaluza]: Added fan speed and device temperature statistics to sar and sadc. * [Jan Kaluza]: Configure script updated. Now check for lm_sensors library. * Configure script updated: Added --disable-sensors option. * Configure script updated: Removed --enable-smp-race option. * iconfig script updated. * sar manual page updated. * XSD and DTD documents updated. * [Ivana Varekova]: sysstat init script updated. * Default owner for sadc/sar crontab is now root. * Various fixes in cifsiostat and nfsiostat manual pages. * NLS updated. 2010/06/27: Version 9.1.3 - Sebastien Godard (sysstat orange.fr) * [Ivana Varekova]: Move NFS code out from iostat and create the new nfsiostat command. * [Ivana Varekova]: Added cifsiostat command. This command displays CIFS statistics. * [Mario Konrad]: Added regular expressions support to pidstat's option -C. * [Mario Konrad]: Added option -s to pidstat to display stack statistics. * [Ivana Varekova]: Fixed condition used by sar to distinguish betwwen a counter reset by a newly registered device and a counter overflow. * [Jan Kaluza]: Added --debuginfo option to iostat. * [Jan Kaluza]: Added --enable-debuginfo option to configure script. * iconfig configuration script updated. * iostat manual page updated. Indicate that svctm field should no longer be trusted. * pidstat manual page updated. * autoconf script updated. * NLS updated. * README and CREDITS files updated. 2010/05/23: Version 9.1.2 - Sebastien Godard (sysstat orange.fr) * Added r_await and w_await fields to iostat's extended statistics. * Added support for tickless CPUs in sar and mpstat. * NLS was not taken into account when mpstat or sar were displaying some null statistics. This is now fixed. * sadc no longer syncs data with its output file contents. It put a pain on flash devices as it undermined any tuning of the vm's write behavior [DEBIAN Bug#559686]. * NLS updated. Basque translation added. * iostat, sar and sa1 manual pages updated. * CREDITS file updated. 2010/02/28: Version 9.1.1 - Sebastien Godard (sysstat orange.fr) * Remove support for kernels older than 2.6.x. * iostat now takes into account POSIXLY_CORRECT environment variable. iostat default output for disk utilization is expressed in kB/s, unless this variable is set (in which case the output is expressed in blocks/s). * mpstat can now display per processor software interrupts statistics. This requires Linux kernel 2.6.31 or later. * Because of a change in /proc/interrupts file format, mpstat was no longer counting the proper number of interrupts. This is now fixed. * Manual pages updated. * NLS updated. * Code cleaned. 2009/11/11: Version 9.0.6 - Sebastien Godard (sysstat orange.fr) * "sadf -x" now takes into account options -s and -e (which specify a starting and ending time) and also interval and count parameters [DEBIAN bug#546259]. * Option -C added to sadf. Use it to tell sadf to display comments present in file (also works with XML format). * sar and sadf sometimes didn't handle COMMENT records properly. This is now fixed. * XML output (displayed by sadf -x) modified for kernel tables statistics. * XSD and DTD documents updated. * [Yibin Shen]: HZ variable was not explicitly set in sadc.c. This is now fixed. * [Lans Carstensen]: sargraph added (sargraph is a shell script used to make graphs based on sadf XML output). * sadf manual page updated. * FAQ updated. * NLS updated. * CREDITS file updated. 2009/09/20: Version 9.0.5 - Sebastien Godard (sysstat orange.fr) * sysstat should now be able to pretty print device names whose minor numbers are greater than or equal to 256. (Tests have been made on a large 26TB RHEL5/PP Linux cluster.) * sadc manual page updated. * NLS updated. * FAQ updated. 2009/07/19: Version 9.0.4 - Sebastien Godard (sysstat orange.fr) * [Jonathan Kamens]: Fix double free/memory corruption bug with sadc. * [Jeroen Roovers]: Get entirely rid of implicit rule for libsyscom.a in Makefile to fix a problem with parallel execution. * sysstat.ioconf configuration file updated. * NLS updated. * CREDITS file updated. 2009/05/24: Version 9.0.3 - Sebastien Godard (sysstat orange.fr) * [Michael Blakeley]: Option -z added to iostat. This option tells iostat to omit output for any devices for which there was no activity during the sample period. * [Tomasz Pala]: Fix mpstat where interrupt values should be read as unsigned integers. * sar -n ALL didn't select IPv6 statistics. This is now fixed. * iostat, sar and mpstat manual pages updated. * sadf -x now displays file creation date. * XSD and DTD documents updated. * NLS updated. Latvian translation added. * CREDITS file updated. * Code cleaned. 2009/04/02: Version 9.0.2 - Sebastien Godard (sysstat orange.fr) * sadc can now collect partition statistics in addition to disk ones. Keywords XDISK and XALL have been added to -S option. * Fixed a memory corruption in pidstat and iostat. This corruption could happen when a list of comma-separated values following option -p was entered on the command line. * configure now takes into account a new variable named rcdir. This variable may be used to specify the directory where startup scripts will be installed. * The value of directory for installing documentation files can now be set with configure's --docdir option. * Fixed a small bug in activity.c file, where there was a missing semicolon between two fields. * sar and sadc manual pages updated. * NLS updated. * CREDITS file updated. 2009/03/07: Version 9.0.1 - Sebastien Godard (sysstat orange.fr) * Fix a crash with sar where a pointer was freed twice. * NLS updated. * sar manual page updated. * CREDITS file updated. 2009/03/01: Version 9.0.0 - Sebastien Godard (sysstat orange.fr) * Option -m added to sar. This option is intended to display power management statistics. At the present time, only CPU frequency statistics are available. * sadc updated: Option "-S POWER" tells sadc to collect power management statistics. * sadf command updated to take into account power management statistics. * [Mike Harvey]: No longer truncate the interval of time to 32 bits, as this may cause some problems when displaying average values statistics on machines with hundreds of CPU. * read_uptime(): Cast values read from /proc/uptime to unsigned long long. * Fixed a small bug in sar where it didn't parse arguments properly when some options were entered in a specific order. * sadc and sar manual pages updated. * XSD and DTD documents updated. * FAQ updated. * NLS updated. * Code cleaned. Makefile cleaned. 2009/01/11: Version 8.1.8 - Sebastien Godard (sysstat orange.fr) * IPv6 support added. A bunch of new metrics have been added to sar, enabling the user to display statistics for IPv6 protocol family (IPv6, ICMPv6, UDPv6 and network sockets). * sadc updated: Option "-S IPV6" tells sadc to collect IPv6 statistics. * sadf command updated to take into account IPv6 statistics. * Options -S (for sadc), -P (for mpstat, sar and sadf), -p (for iostat and pidstat) and -n and -I (for sar) now accept a list of comma-separated arguments. * [Ivana Varekova]: Make iostat display statistics for devices only (and not partitions) when not using its option -d. This was no longer possible with kernels 2.6.25 and later because iostat couldn't distinguish between devices and partitions any more. * iostat's options -x and -p are no longer mutually exclusive: Extended statistics are now available even for partitions with recent kernels. * iostat was unable to read stats from sysfs for devices who had a slash in their names (for example, iostat -p /dev/cciss/c0d0 didn't work properly before). This is now fixed. * [Amir Rapson]: Fixed a bug in iostat where %CPU spent servicing hard and soft irq were counted twice. This bug was introduced in 8.1.5. * DTD and XSD files updated. * Manual pages updated. * NLS updated. Maltese translation added. * CREDITS file updated. 2008/11/13: Version 8.1.7 - Sebastien Godard (sysstat orange.fr) * Support for SNMP statistics added to sar. Several keywords have been added to option "-n". The user can now display statistics about IP, ICMP, TCP and UDP network traffic. * sadc updated: Option "-S SNMP" tells sadc to collect SNMP statistics. * sadf command updated to take into account SNMP statistics. * sadf -x now also displays number of CPU. * DTD and XSD files updated. * sar/sadc: Each item (like network interfaces) is now counted once. * [Eduardo Ferro Aldama]: Option -l added to pidstat. This option enables the user to display the whole command line for each process. * Option -h added to sar. This option displays a short help message. * Cosmetic change in sadf -x output for network statistics. * sadf -H now displays the real name of each activity saved in file. * Fixed some memory leaks detected by valgrind. * pidstat, sar and sadc manual pages updated. * FAQ updated. * NLS updated. * CREDITS file updated. * Code cleaned. 2008/09/30: Version 8.1.6 - Sebastien Godard (sysstat orange.fr) * [David Alan Gilbert]: Option -h added to pidstat. This option is used to display all activities horizontally on a single line. * Fixed a bug in pidstat: When pidstat was used to monitor a process and all its threads (with pidstat's option -t), it could display weird values if the thread group leader terminated. * Header line displayed by sar, iostat, mpstat, pidstat and sadf -H now includes the number of CPU. * Use the correct word TGID instead of PID with pidstat -t. * mpstat now displays stats for all interrupts, including NMI, LOC, etc. * sar and sadf now check that CPU activity is available in file. * iostat's option -t now always displays the date and the time. * Added option "--disable-documentation" to ./configure. Using this option prevents documentation files (including manual pages) from being installed. * iconfig script updated. Now ask the user for documentation and isag script installation. * Manual pages updated. * NLS updated. Indonesian and Chinese (traditional) translations added. * README-nls file updated. * Makefile updated: There is now a dedicated target to install or uninstall NLS files * FAQ updated. * CREDITS file updated. * Code cleaned. 2008/07/14: Version 8.1.5 - Sebastien Godard (sysstat orange.fr) * Added virtual machine time accounting to "sar -u ALL" and mpstat (%guest). * pidstat has also been updated to be able to display time spent in virtual machine for a task, and for a task and all its children. * Option -S added to sar: This options tells sar to display swap space utilization. Option -r now only displays memory utilization. * Added %swpcad to sar -S (percentage of cached swap memory in relation to the amount of used swap space). * Added kbcommit and %commit to sar -r (amount and percentage of memory needed for current workload). * sadf -x now distinguishes between options -r and -R. * sadf command updated to take into account new fields (%guest, %swpcad, etc.) * [Ivana Varekova]: iostat now displays the total number of operations per second in the NFS report. * Fixed iostat so that %system (percentage of CPU utilization that occurred while executing at system level) also takes into account time spent to service interrupts and softirqs. * Added a missing header line for activities with multiple outputs displayed by sar (eg. sar -rR ...). * Makefile updated: There is now a dedicated target to install or uninstall manual pages. * Manual pages updated. * Code cleaned. * XSD and DTD documents updated. * isag script updated. 2008/06/22: Version 8.1.4 - Sebastien Godard (sysstat orange.fr) * sar can now collect and display all CPU fields with its new option "-u ALL". sadf has also been updated to be able to display them. * mpstat can now display per-CPU interrupts statistics with its option "-I CPU". This was a feature available in sar that was removed in previous sysstat version. * mpstat uses now a separate option ("-I SUM") to display the total number of interrupts for each processor. * Option -A added to mpstat. This switch tells mpstat to display all possible activities. * NFS v4 support added to sar -n NFS(D). When both NFS v3 and NFS v4 are used, stats from NFS v3 and NFS v4 are added together [DEBIAN bug#434442]. * Code cleaned: mpstat, iostat and pidstat now use the common functions from rd_stats.c to read CPU stats from /proc/stat; Computing extended disk statistics (service time, etc.) is now done in one place (common function used by iostat, sar, sadf). * All sysstat commands are made consistent with how parameters are interpreted: "COMMAND " now generates a report continuously, "COMMAND 0" causes an error, "COMMAND 0" displays a report since system startup [DEBIAN bug#475707]. * Changed XML output for processes and context switches displayed by sadf -x to be consistent with output from sar. * mpstat and sar manual pages updated. * isag script updated. * FAQ updated. * DTD and XML Schema updated. * NLS updated. 2008/05/25: Version 8.1.3 - Sebastien Godard (sysstat orange.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2170] * sar, sadc and sadf heavily modified. It is now easier to add (or remove) activities since sar and sadc have been rewritten in a non-monolithic way with a generic design architecture. * Option -c removed from sar. Task creation and context switch activities are now merged and available with option -w. * sar no longer displays interrupts per processor statistics. This feature will be included in mpstat in next sysstat version. * Option -S added to sadc. This option replaces previous options -I or -d, and is used to select activities that should be collected and saved in file. It is even possible to select each activity collected by sadc. * Format of data files created by sar/sadc heavily modified. In some cases, it is now possible to add or remove activities while keeping a compatible format that can be read by a previous or future sysstat version. * sadf now only displays activities that have been explicitly selected. * sar now checks that devices displayed by option -d are whole devices (and not partitions) using sysstat.ioconf configuration file. If this file is not found in its default directory, then sysstat looks for it in current directory. * gettextize entire usage() messages so that translators have free scope to act. * DTD and XML Schema updated. * Manual pages updated. * Crontab samples updated. * FAQ updated. * Code cleaned. 2008/03/16: Version 8.1.2 - Sebastien Godard (sysstat orange.fr) * [Ivana Varekova]: iostat now displays read and write operations per second in the NFS report. * [Tomas Mraz]: sadc now retries to write its buffers when the write() call has been interrupted by a signal. * Use setbuf() call instead of fflush() to indicate that data should not be buffered to stdout. * Option -h added to sadf. Used with options -d or -D, it indicates that all activities should be displayed horizontally on a single line of data. * sadf -d and sadf -D now display the list of fields for easier data reading. * sadf and iostat manual pages updated. * NLS updated: Chinese (simplified) translation added, other translations updated. 2008/02/10: Version 8.1.1 - Sebastien Godard (sysstat orange.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216f] * System activity data files now have extra header data that enable to identify which version of sysstat created them. * sadf -H now displays the version of sysstat used to create a system activity data file. * Machine architecture is now displayed in the reports header. sadf -x also displays machine architecture. * DTD and XML Schema documents updated. * The number of processors was not properly calculated on machines where a directory named cpuidle was present in the /sys/devices/system/cpu directory [GENTOO bug# 207886]. * Use __CPU_SETSIZE definition from instead of a static definition for the maximum number of CPUs (NR_CPUS). * Improved error messages displayed by sysstat's commands. * NLS updated: Finnish translation added, Dutch translation updated. * FAQ updated. * Code cleaned and documented. Linux-like style applied to code source. Large functions split into smaller ones. 2008/01/06: Version 8.0.4 - Sebastien Godard (sysstat orange.fr) * Removed a 'packed' attribute in pidstat.h that generated a warning with gcc 4.1.1. * Take account of all memory zone types when calculating pgscank, pgscand and pgsteal displayed by sar -B. * XML Schema added. Useful with sadf option -x. * sadc and sadf manual pages updated. * NLS updated: Dutch translation added. * NLS updated: Brazilian Portuguese translation added. * NLS updated: Vietnamese translation added. * NLS updated: Kirghiz translation added. * NLS updated: Added a PO template file in nls directory. Makefile modified to enable PO files update. * sccsid string now also includes package name and version number. * Makefile updated: Startup links are named S01xxx instead of S03xxx to be consistent with chkconfig values. * Various spelling fixes. * CREDITS file updated. 2007/11/19: Version 8.0.3 - Sebastien Godard (sysstat orange.fr) * mpstat and sar didn't parse /proc/interrupts correctly when some CPUs had been disabled. This is now fixed. * Fixed a bug in pidstat where a confusion between PID and TID could sometimes happen, resulting in erroneous statistics values being displayed. * iconfig script updated: Help for --enable-compress-manpg parameter is now available, help for --enable-install-cron parameter updated, added parameter cron_interval. * sa2 shell script can now compress sar data files using bzip2. * Makefile updated: Now also remove sysstat.crond.sample.in. Documentation is installed in $prefix/share/doc/ instead of $prefix/doc/ directory. * isag updated. * FAQ updated. * CREDITS file updated. * Sysstat's URL updated. 2007/10/26: Version 8.0.2 - Sebastien Godard (sysstat orange.fr) * Option -w added to pidstat. pidstat can now display task switching activity. * Fixed a memory leak in pidstat that was triggered when reading stats for threads. * Fixed a bug where device names were incorrectly displayed by sar -d or sar -dp. Fixed also this bug for sadf. * When using option -o, sar now saves by default all the statistics into the file, including interrupts and disks statistics. Interrupts and disks statistics remain optional when using sadc. * sysstat startup script updated. * sar and pidstat manual pages updated. * isag updated. * NLS updated. * Code cleaned. * CREDITS file updated. 2007/09/30: Version 8.0.1 - Sebastien Godard (sysstat orange.fr) * Option -t added to pistat. pidstat can now display stats for every thread (TID) of a process. * pidstat's option -T CHILD now reports global statistics for selected tasks and all their children (and not only for the children). * pidstat now reads VSZ and RSS values from /proc/#/stat instead of /proc/#/status. * Fixed a rare parallel make issue creating archive libsyscom.a [GENTOO bug #193208]. * pidstat manual page updated. * SCCS identification string added to all commands. * NLS updated. * Code cleaned. * CREDITS file updated. 2007/09/02: Version 8.0.0 - Sebastien Godard (sysstat orange.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216e] * pidstat command improved. It is now able to report CPU and page fault statistics for the child processes of a task. * Option -T added to pidstat. This option tells pidstat if statistics are to be reported for tasks (which is the default) or for their children. * Fixed a security flaw in sysstat startup script (CVE-2007-3852). * Removed super*, dquot* and rtsig* fields from sar -v. They were made obsolete in Linux kernels 2.6. * Fields file-sz and inode-sz from sar -v renamed to file-nr and inode-nr. * Added field pty-nr (number of pseudo-terminals) to sar -v. * Added field tcp-tw (number of sockets in TIME_WAIT state) to sar -n SOCK. * sar and sadf updated so that they can properly extract records (with their options -s and -e) from a file containing data for two consecutive days. * Added option "--enable-install-isag" to "configure" to enable the user to install isag script. * Fixed a typo in iconfig script: The user was unable to specify the crontab owner. * Manual pages updated. * Sysstat DTD file updated. * isag updated. * NLS updated. * FAQ updated. * CREDITS file updated. * Author's email updated. 2007/07/08: Version 7.1.6 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216d] * New VM paging metrics added to sar (option -B). * Options -x and -X have been removed from sar. Use pidstat(1) command instead. * NR_CPUS increased to 16384 so that sysstat can be used on very large systems. * Fixed a bug in sadc.c where it was using a hardcoded 256 char buffer to store lines read from /proc/interrupts. * sar updated to avoid overflow when computing some average values. * sar and mpstat manual pages updated. * Sysstat DTD file updated. * FAQ updated. * NLS updated. * CREDITS file updated. 2007/06/07: Version 7.1.5 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216c] * Option -d added to pidstat: This option reports I/O statistics for individual tasks. * Option -C added to sadc: This option enables the user to insert a timestamped comment in the binary data file. * Option -C added to sar: This option tells sar to display comments inserted in the binary data file by sadc. * sadf updated to display comments. * Fixed a bug that could happen while reading /proc/interrupts, where irq numbers can now be 4 digits long in recent kernels. * Fixed a possible buffer overflow in ioconf.c. * Makefile updated: Remove previous manual pages before installing new ones. * pidstat, sar and sadc manual pages updated. * Sysstat DTD file updated. * Fixed DTD version in sadf.h. * NLS updated. * CREDITS file updated. 2007/04/29: Version 7.1.4 - Sebastien Godard (sysstat wanadoo.fr) * Addition of a new command "pidstat" aimed at displaying per-process statistics. * Option -N added to iostat. This option enables the user to query any device-mapper devices for their registered device name [bugzilla #177540]. * Fixed a small memory leak in readp_uptime() function. * Typo fixed in configure.in file (s+INIT_DIR/etc/rc.d/init.d+INIT_DIR=/etc/rc.d/init.d+). * Stricter syntax checking for iostat. * sar -dp now displays the device as "devM-N" (instead of "nodev") when it can't find its real name in sysstat.ioconf file. * iostat -t now also takes into account the value of environment variable S_TIME_FORMAT. * Manual pages now take into account variables defined by "configure". * isag now takes into account variables defined by "configure". * "configure" now determines automatically whether workaround for SMP race is needed. This workaround is for SMP kernels 2.2.x with x <= 15 only. * pidstat manual page added. Other manual pages updated. * Makefile updated. * NLS updated. * FAQ updated. * Code cleaned again and again... * Removed sargon from contrib directory since its features are now included in sysstat by default. 2007/03/27: Version 7.1.3 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216b] * Hotplug CPU support: Fixed a bug that happened when sar tried to read a datafile created while a least one processor was disabled. * Better support for keeping sar logfiles for more than one month (several bugs fixed in sa1 and sa2 scripts). * Fixed a small bug in sa2 script, where obsolete log files would not be deleted if system activity directory was a symbolic link to some other directory. * The new variable "conf_dir" now enables the user to specify sysstat configuration directory. This variable is used by "configure". * Added option "--enable-compress-manpg" to "configure" to enable the user to compress manual pages during installation. * Removed some 'packed' attributes in sa.h and iostat.h that generated warnings with gcc 4.1.1. * isag (Interactive System Activity Grapher) improved. * CREDITS file updated. * Code cleaned. 2007/03/04: Version 7.1.2 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x216a] * Better hotplug CPU support. Now sysstat no longer assumes that CPU#0 can never be disabled. It uses /proc/uptime file to compute time interval. * Various structures realignment to save memory (and disk space). * Make sar -n display network traffic in kilobytes instead of bytes. * Make sysstat compile cleanly with gcc 4.0.2. * sysstat DTD file updated. * NLS updated: Danish translation added. * Manual pages updated. * CREDITS file updated. 2007/02/21: Version 7.1.1 - Sebastien Godard (sysstat wanadoo.fr) * Autoconf support added. * iconfig (Interactive Configuration script) added. iconfig is a front-end to ./configure. * spec file updated. * FAQ updated. * sadf manual page updated. * CREDITS file updated. 2007/02/04: Version 7.0.4 - Sebastien Godard (sysstat wanadoo.fr) * Removed linux/major.h from list of files included in ioconf.c. It was actually not used and also prevented sysstat from being compiled on GNU/kFreeBSD. * Sysstat scripts (sa1, sa2, sysstat) modified to enable the user to keep sar data for more than one month. * New parameter (COMPRESSAFTER) added to /etc/sysconfig/sysstat. It gives the number of days after which sar datafiles must be compressed to save disk space. * Replaced the word "Device" with "Filesystem" for iostat NFS report. * iostat manual page updated. * Makefile updated: don't use a static list of languages to compile NLS files. * "make install" now always install sysstat configuration file (default location is /etc/sysconfig). * FAQ updated. * Added my email address when displaying sysstat version. * NLS updated. 2006/12/03: Version 7.0.3 - Sebastien Godard (sysstat wanadoo.fr) * iostat NFS statistics added. * iostat manual page updated. * Columns "r/s" and "w/s" enlarged for iostat -x. * Minor change so that sar -u may fit in 80 columns. * NLS updated. * CREDITS file updated. 2006/10/22: Version 7.0.2 - Sebastien Godard (sysstat wanadoo.fr) * Hotplug CPU support added to sar and mpstat * Use /sys to count the number of available processors. /proc/stat is used for that only if /sys is not found. * sysstat DTD updated. * sysstat spec file updated (gettext is now required). * NLS updated: Swedish translation added. * Manual pages updated. * Makefile updated. * CREDITS file updated. 2006/09/17: Version 7.0.1 - Sebastien Godard (sysstat wanadoo.fr) * Use now sysconf() function to get the size of a memory page instead of using header file . * The time specified with sadf options -s and -e is now always considered as given in local time. sadf output is now really consistent with that of sar. * Fixed a bug in the SREALLOC() macro which was causing sar to exit unexpectedly with this message: "realloc: Success". * Try to better guess when a stats title line has to be displayed by sar. * Makefile updated (SMP_RACE definition was no longer taken into account when compiling sadc). * sysstat spec file updated. * sar and sadf manual pages updated. * FAQ updated. * CREDITS file updated. 2006/07/09: Version 7.0.0 - Sebastien Godard (sysstat wanadoo.fr) * S_TIME_DEF_TIME environment variable added for sar, sadc and sadf. * Use now sysconf() function to get the number of clock ticks per second (HZ value) instead of using kernel include file . * Columns "Device", "rrqm/s" and "wrqm/s" enlarged for iostat -x. * sysstat installation process updated to use chkconfig if available. * Manual pages updated. * Makefile updated. * sysstat web site address updated. * Code cleaned. * CREDITS file updated. 2006/05/24: Version 6.1.3 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2169] * Option -P can now be used with sar even on SMP machines where only one processor is available. * Small bug fixed for mpstat, where explicitly specifying processor 0 ("-P 0") could lead to incorrect output on UP machines. * Option -D added to sadf: this option displays the contents of a data file in a database-friendly format with a timestamp expressed in seconds from the epoch. * sadf manual page updated. * NLS updated. * CREDITS file updated. 2006/04/23: Version 6.1.2 - Sebastien Godard (sysstat wanadoo.fr) * Fix incorrect NFS client and server statistics for sar. * sar can now display stats for newly created processes when option -x ALL or -X ALL is used. * iostat -x was displaying redundant information. It now displays amount of data read from or written to devices in sectors, kilobytes or megabytes depending on the switch used. * isag updated to keep up with current sar version. * sar and mpstat manual pages updated. * FAQ updated. 2006/02/22: Version 6.1.1 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2168] * New field added to sar: %steal. * The size of a long integer in now saved in the header of the data file created by sar. This size can be displayed with sadf -H. * Replaced the keyword "FULL" by the keyword "ALL" for sar -n to be consistent with remaining options. * Makefile updated (use implicit rules). * sar manual page updated. * CREDITS and FAQ files updated. 2005/11/28: Version 6.0.2 - Sebastien Godard (sysstat wanadoo.fr) * New field added to mpstat and iostat: %steal. * sar updated to take into account cpu steal time. * Off-by-one error in ioc_conv which was corrupting device names on 64-bit architecture [Debian bug #334305]. * Binary RPM package now installs a sample crontab in /etc/cron.d. * Makefile updated (remove sysstat.cron.* during make clean - new target added: sysstat.crond.sample). * sar now checks exit code from dup2() system calls. * Option -V now only displays sysstat version number. * NLS updated. * FAQ updated. * Manual pages updated. 2005/06/25: Version 6.0.1 - Sebastien Godard (sysstat wanadoo.fr) * Fixed a memory leak in ioconf parsing functions used by sar and iostat. * sar now displays its statistics to STDOUT in addition to saving them into the file when option -o has been entered on the command line. * sar now recalculates number of system items (network interfaces, disks, serial lines, etc.) when a file rotation happens. * Make sar -b work again when used without option -d. * Small changes so that sysstat can be compiled with gcc-4.0.1. * sysstat updated so that it may be installed on Slackware. * sar manual page updated. * CREDITS file updated. * Code cleaned. 2005/05/14: Version 6.0.0 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2167] * Additional fields added to sar -y (TTY statistics). sar, sadf and DTD updated. * sar -d now only reports for used devices (devices with non zero statistics). * Stricter sadf syntax checking: various output formats are now mutually exclusive. * Stricter iostat syntax checking: -k and -m options are now mutually exclusive. * iostat: option -m is now taken into account even when displaying extended statistics. * Fixed a bug that prevented iostat from displaying stats about devices that were unknown in sysstat.ioconf file. * iostat might display bogus sectors values when the corresponding kernel counters had overflown. This is now fixed. * "sadf datafile -- -A" should also display individual interrupts if available in datafile. * Fixed a bug that prevented sar -x from displaying stats about a process if it was after the first 256 processes in the process list. * Manual pages updated. * sa1 script always uses option -d in crontab. * sysstat.ioconf device configuration file updated. * NLS updated. * FAQ and CREDITS files updated. * Code cleaned. 2005/02/25: Version 5.1.5 - Sebastien Godard (sysstat wanadoo.fr) * -x option added to sadf: it is now able to display the contents of a sar datafile in XML. The corresponding DTD (Document Type Definition) is included in the sysstat package. * Small code change so that sysstat may be compiled with gcc-4.0. * A few typos fixed in formulas used by sadf to display stats on machines where HZ<>100 (typos appeared in sysstat 5.1.4). * Fixed a bug in the stats displayed by sar -d. * Removed a false workaround in iostat: better show that the kernel is buggy rather than display a value that seems correct but which is actually not... * Fixed sar -i option which might not select records at the specified interval on machines with multiple processors. * NLS updated and cleaned. Do no longer translate fields names (sar, iostat, etc.). Changed nb_NO.po and nn_NO.po files to nb.po and nn.po. * Bug fixed in spec file: when installing sysstat i586 RPM package, sa1 and sa2 scripts were pointing to the wrong sadc location. * Now sar and sadc display the magic number when they meet an invalid system activity file. * sadf manual page updated. * sysstat RPM spec file is now included in source package. * Code cleaned. * FAQ, Makefile and CREDITS files updated. 2005/01/02: Version 5.1.4 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2166] * NFS client and server statistics added to sar. * sar -d now only reads stats for devices (and not partitions) from /proc/partitions. (This is what it was already doing with /proc/diskstats). * Display routines from sadf merged, so that -ppc and -db always output the same values. * sadf updated to handle NFS statistics. * sadf can now display the header of a data file (option -H). * Define MAX_BLKDEV in ioconf.h if non-existent in . * sar now looks for sadc in one directory only, specified at compile time. Moreover it is now possible to have two different sysstat versions installed: sar knows where its sadc counterpart is located. * sapath.in removed. SADC_PATH is defined in CONFIG file. * sar and sadf manual pages updated. * sysstat.ioconf file updated. * Fixed a bug in i386 RPM package, where sadc location was not consistent with that of sar. Spec file updated. * Makefile updated. * NLS updated. * Various cosmetic changes (code and manual pages). Code cleaned. * FAQ and CREDITS files updated. 2004/11/22: Version 5.1.3 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2165] * Option -p added to sar: It enables sar (and also sadf) to display device names as they appear in /dev. * sysstat.ioconf support added. * New fields added to sar -d (more disk activities displayed): avgrq-sz, avgqu-sz, await, svctm, %util. * sadf updated to handle new disk activities. * I/O and transfer rate statistics as displayed by sar -b are available whatever the version of the kernel is (i.e. even on recent kernels). * Disk stats are read by sadc from /proc/stat only if they cannot be read from /proc/{partitions,diskstats}. * sadc: Some variables declarations moved around. * sar manual page updated. * Added workaround for EMC PowerPath driver bug to enable iostat to display proper device name. * Makefile updated: Use $@ and $< everywhere; 'make {iostat,mpstat}' work again; Create object files before linking; Removed unused IOS_DFLAGS variable; Use DESTDIR variable everywhere; Create libsysioc.a; Install sysstat.ioconf. * NLS updated. * README and CREDITS files updated. 2004/11/05: Version 5.1.2 - Sebastien Godard (sysstat wanadoo.fr) * sar -d now also uses /proc/partitions to get its data. From now on sar -d looks in the following files in that order: /proc/diskstats, /proc/partitions, /proc/stat. * sadc writes disks data to file only if -d option is explicitly set on the command line. * sadc now reads individual interrupts data from /proc/stat only if -I option was entered on the command line. * 'sar -A' is now equivalent to 'sar -bBcdqrRuvwWy -I SUM -I XALL -n FULL -P ALL' (i.e. individual interrupts are also included in activities). * Option -m now tells iostat to display statistics in megabytes per second instead of blocks per second. * Make history (number of days to keep log files) configurable in /etc/sysconfig/sysstat file, which is used by sa2 script. * Now use Vixie cron to launch sadc when possible. * sadc, sa1 and sa2 may now be installed in another directory than ${PREFIX}/lib/sa. This is useful on 64-bit systems where the proper directory should be ${PREFIX}/lib64/sa. * When uninstalling sysstat, always delete sysstat script, config file and links in /etc tree. Also always delete Vixie cron entry. * sysstat script now returns real exit code. * sar/sadc: Stricter syntax checking for -x and -X options use. * sysstat "*.sh" files renamed in "*.in". * Makefile updated. * sadc and sar manual pages updated. * NLS updated. * FAQ updated. * CREDITS and README files updated. 2004/10/09: Version 5.1.1 - Sebastien Godard (sysstat wanadoo.fr) WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2164] * sar now reads CPU data, number of context switches, number of sectors and total number of interrupts as 64-bit unsigned values. It also reads the number of running processes as unsigned long instead of unsigned int. * sadf - System activity data formatter command added. * Options -h and -H removed from sar. "sar -h" is replaced by "sadf -p", and "sar -H" is replaced by "sadf -d". Read sadf manual page, as its syntax is a bit different from that of sar. * Common code for sar and sadf moved to sa_common.c file. * pid_stats members don't need to be aligned since these stats are not written to daily data files. Packing them saves some memory on 32-bit architectures. * No longer indicate that -x and -X are possible options for sadc. They are only useful when used as options for sar, not sadc. * Minor buffer overrun fixed in iostat. * Updated CPU header for iostat and mpstat: CPU used while executing at the system level is displayed as '%system' by iostat (like sar) and as '%sys' by mpstat. * sadf manual page added. Other manual pages updated. * Updated the GPL notices (the address of the FSF was wrong). * Makefile updated. * NLS updated. * README, FAQ and CREDITS files updated. 2004/08/09: Version 5.0.6 - Sebastien Godard (sysstat wanadoo.fr) * The value for file-sz reported by sar -v was a number of free handles, and not a number of used ones! This is now fixed (and this is really now a number of _used_ file handles). * Now ask during config stage for the directory where sadc will be located. This may be useful for some systems where sadc needs to be installed in a specific location (e.g. on 64 bit s390 systems, the proper directory should be /usr/lib64/sa). * sa1 script updated: Use '-' to specify current daily data file instead of guessing its name using current date. * NLS updated: be consistent with GNU gettext standards. * iostat manual page updated. * FAQ updated. * Makefile updated. * CREDITS file updated. 2004/06/08: Version 5.0.5 - Sebastien Godard (sysstat wanadoo.fr) * Timestamp is no longer limited to 11 characters. This should avoid problems with somes locales (for example Japanese locale, where 'mojibake' used to be displayed by sar and mpstat sometimes). * Fixed a bug in sysstat RPM spec file (symlinks to sysstat script were wrong in /etc/rc.d directories). * sar now checks parameters for options -n, -s and -e more aggressively. * NLS updated: Japanese translation added. * Various typos fixed in several files (manual pages, README, etc.) * CREDITS file updated. 2004/05/20: Version 5.0.4 - Sebastien Godard (sysstat wanadoo.fr) * When trying to lock file, sadc now checks for both EWOULDBLOCK and EAGAIN error codes to be portable. * sar could sometimes display a line whose time stamp was greater than the limit set by -e option. This is no longer possible. * The sadc command in sysstat.sh script had to be enclosed in quotes to work when called via 'su -c'. * The sysstat.sh script was sending the output of sadc command to stdout instead of the standard system activity file. This is now fixed. * Outfile must now be explicitly set to "-" for sadc to use the standard system activity file. * FAQ updated. * iostat manual page updated. Typo fixed in sadc manual page. * Fixed the "Save picture" option of isag script. 2004/04/07: Version 5.0.3 - Sebastien Godard (sysstat wanadoo.fr) * iostat now reads the number of sectors in /proc/diskstats or from sysfs as 64-bit unsigned values. * iostat and mpstat now read CPU data and the number of interrupts in /proc/stat as 64-bit unsigned values. * sar uses "%u" instead of "%d" to read unsigned integer values _everywhere_. * sar and sadc are now a little bit more verbose when dealing with invalid activity files. * Network interface name size is now read from include file . * FAQ polished up. * Slovak translation added. NLS updated. * Typo fixed in iostat manual page. * Makefile and CREDITS file updated. * isag upgraded to version 1.26 (isag package release 0.81.0). 2004/03/10: Version 5.0.2 - Sebastien Godard (sysstat wanadoo.fr) * iostat will _again_ look for statistics in /proc/partitions if available. Too many production servers are still using 2.2.x or 2.4.x kernels and iostat must be able to display extended stats also for them (/proc/partitions support was removed in sysstat version 4.1.3). So now, iostat gets its statistics from the following sources in that order: /proc/diskstats, sysfs, /proc/partitions and then /proc/stat. * statistics are now read by iostat and mpstat as unsigned long instead of int to avoid integer overflow. * iostat should now handle properly the case when the 'weighted number of milliseconds spent doing I/Os' (read in sysfs or /proc/{partitions,diskstats}) decreases with time. * iostat manual page updated. * Minor temporary file vulnerability fixed in isag command. * README, FAQ and CREDITS files updated. * Author's email changed. 2004/02/02: Version 5.0.1 - Sebastien Godard * -L option added to sadc. Enable sadc to lock its output file to prevent multiple instances from writing to it at once. * sa1 and sysstat scripts updated to take advantage of -L option. * Handle the case where, under very special circumstances, STDOUT may become unavailable, and sar, iostat and mpstat are no longer able to display anything. * sadc as called in sysstat script also uses -F option to force the creation of daily data file. * sar, sadc and mpstat manual pages updated. * Code cleaned. * FAQ and CREDITS files updated. 2003/11/09: Version 5.0.0 - Sebastien Godard * New fields added to mpstat: %irq (%time spent servicing interrupts) and %soft (%time spent servicing softirqs). * sar and iostat updated to take into account time spent servicing interrupts and softirqs when displaying percentage of time in system mode. * By default iostat now displays only statistics information for devices that are used by the system. You should now use the ALL keyword to tell iostat to display statistics for every device including those that have never been used. * The file version.h is now dynamically created. sysstat's version number is now only recorded in the Makefile. * sar manual page updated: beginning with kernels 2.4 and later, pgpgin and pgpgout statistics are in kilobytes and not in blocks (see linux-2.4/fs/proc/proc_misc.c and linux-2.6/mm/page_alloc.c). * iostat and mpstat manual pages updated. * Makefile updated: don't process NLS files if they are up-to-date. * sysstat's RPM spec file updated to enable clean, non-root builds. * NLS updated. * FAQ and CREDITS files updated. 2003/09/28: Version 4.1.7 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2163] * /proc/diskstats is now the preferred source for iostat to get its statistics. If non-existent, iostat falls back on sysfs then on /proc/stat. * In addition to devices, partitions can also be entered on the command line for iostat providing that option -x is not used. * /dev prefix has been removed from device name displayed by iostat -x. * sar -d now looks for disks statistics in /proc/diskstats with post 2.5 kernels. * sar uses /proc/vmstat file with post 2.5 kernels to find paging and swapping statistics. * activepg, inadtypg, inaclnpg and inatarpg stats removed from sar -B report (they were not really useful). * sar -B now displays the number of page faults made by the system (pgfault/s and pgmajflt/s). * Stat on shared memory removed from sar -r and sar -R (this stat was no longer maintained by the kernel since 2.4 because of performance problems). * Cached swap statistic information added to sar -r. * sar -d now displays separate statistics for sectors that are read from or written to devices. * %file-sz (percentage of used file handles) is no longer displayed by sar -v, since the upper limit for the number of open files will self-scale with 2.6 kernels. * sar now looks more aggressively for network devices in /proc/net/dev. * Heading spaces in network interface names removed (sar -n). * Fixed a problem reading /proc/interrupts when there are a lot of CPUs (mpstat, sadc). * NR_IRQS value increased to 256, since IA64 supports 256 irqs per CPU. * Some stats counters are now read as unsigned long instead of unsigned int (pgpgin, pgpgout, pswpin, pswpout, irq_sum). * sar and iostat manual pages updated. * FAQ, README and CREDITS files updated. * NLS updated. 2003/08/20: Version 4.1.6 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! [0x2162] * Machine uptime calculation is now optimized on SMP machines to minimize the consequences if an overflow condition happens. Especially useful when asking for stats since system boot. * -F option added to sadc. Useful to force the creation of the daily data file: an already existing file with a wrong format will be truncated by sadc if this option is used. * sa1 script now calls sadc with -F option. * The processor number to which the process is attached was no longer displayed by sar -x. Make it appear again. * CPU usage for processes, as displayed by sar -x and sar -X, should now be correct on machines where HZ <> 100 (e.g. IA64 architecture). * iostat still assumed that jiffies were 100ths of a second in some places. Now use Linux HZ definition *everywhere*. * The average I/O requests queue length as displayed by iostat -x was wrongly calculated. This is now fixed. * Manual pages updated. * NLS updated. * Cosmetic changes in various parts of the code. * FAQ, README and CREDITS files updated. 2003/07/21: Version 4.1.5 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x2161] * 'sar -x ' and 'sar -X ' work again. * sar had a longstanding bug that prevented option -P from working properly if the machine had more than 32 processors. This is now fixed. * Fixed a bug introduced in 4.1.2, which made some LINUX RESTART messages to not be displayed by sar. * sar now uses bitmap of char instead of int to avoid endianness problems. * sar can now handle a huge number of processors, serial lines and network interfaces. * FAQ updated. 2003/07/01: Version 4.1.4 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x2160] * Fixed the way overflow conditions were handled by sar for interfaces counters. * On really big machines with 100 GB of memory or more, the values read by sadc in /proc/meminfo would get truncated and cause havoc in the calculations. This is now fixed. * iostat and sar can now read many more disk entries in /proc/stat if necessary. * Option "-x SUM" removed for sar. It was used to tell sar to display the total number of minor and major faults made by the system. Unfortunately, the calculation was tricky, and the results were uncertain... * NLS updated. Polish translation added. Also proper charset and encoding declarations added to fix msgfmt warnings and allow gettext to recode between various charsets (e.g. German translation will be shown properly both with LANG=de_DE.ISO-8859-1, and LANG=de_DE.UTF-8) * Code 'sanitization'. * Manual pages updated. * README and FAQ files updated. 2003/05/08: Version 4.1.3 - Sebastien Godard * iostat should now be fully 2.5/2.6 kernel compliant. * Disks arrays in iostat are now dynamically sized. * iostat: sysfs is now used in preference to /proc/stat if available. * iostat will no longer look for statistics in /proc/partitions. sysfs filesystem must now be available for iostat to get its extended stats (post 2.5 kernels). * iostat: Devices for which statistics are requested can now be entered on the command line even if option -x is not used. * Usage messages updated. * Manual pages updated. * Code cleaned (dk_drive_sum removed in iostat, long lines folded, functions split in smaller parts, etc.) * NLS updated. Romanian translation added. * isag upgraded to version 1.22. 2003/01/24: Version 4.1.2 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x215f] * sar -q now also displays load average for the past 15 minutes. * -P option added to sar. This option enables sar to display stats on a per processor basis. Options -U and '-I PROC' are deprecated. 'sar -U ALL' is replaced by 'sar -u -P ALL', and 'sar -I PROC' by 'sar -I SUM -P ALL'. * Fixed iowait value displayed by sar on SMP machines with pre 2.5 kernels. * When displaying CPU utilization on SMP machines, sar now recalculates the interval based on current CPU's tick count. * Always check that the number of CPUs has not increased when reading /proc/stat (sadc, mpstat). * sadc: Don't assume that the first line in /proc/net/sockstat concerns sockets. Check it! * Serial lines are ignored by sadc for every kind of kernels (UP, SMP...) if SMP_RACE is defined. SMP_RACE is no longer defined by default in RPM packages. * Code cleaned: Dead code removed in iostat.c, some lines longer than 80 chars folded, etc. * sar manual page updated. * FAQ updated. * NLS updated. 2003/01/02: Version 4.1.1 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x215e] * sar -u/-U, iostat and mpstat can now display time spent in I/O wait mode (with 2.5 kernels and above). * Values like -1 and -2 are no longer aliases for keywords ALL and XALL (sar -U, sar -I, mpstat -P). * Buglet fixed in iostat.h. * LC_CTYPE needs to be set, or it will emit messages with ?????? only on some locales, especially ja_JP.eucJP * sar, mpstat and iostat manual pages updated. * NLS updated. * CREDITS file updated. * Typo removed in FAQ file. 2002/11/13: Version 4.0.7 - Sebastien Godard * Make data for timestamp 00:00:00 appear in one of the daily data files when sar/sadc rotates its output file. * Take out check for non SMP configuration when asking for mpstat -P. * sargon script updated. * FAQ updated. 2002/08/04: Version 4.0.6 - Sebastien Godard * mpstat now uses a bitmap of char instead of int to avoid endianness problems. As a consequence, mpstat should now work on PowerMac architectures. * CPU activity as displayed by mpstat -P for a given processor was in a wrong range on SMP machines (e.g. 0-50% for a dual processor box). * Missing bitmap initialization fixed in mpstat.c. * Configuration script updated. * FAQ updated. 2002/05/12: Version 4.0.5 - Sebastien Godard * Average wait times and service times as displayed by iostat -x were wrong by a factor of 10. This is now fixed. * Linux RESTART messages must now be in the interval specified by -s/-e options to be displayed by sar. * Fixed a small bug that affected the timestamp for RESTART messages displayed by sar -h when option -t was used. * sar -H now displays its data in local time instead of UTC when option -t is used. * sargon shell script added. * Created a contrib directory, including sargon and isag commands. * NLS updated. * FAQ updated. * Makefile updated. * sar manual page updated. 2002/04/07: Version 4.0.4 - Sebastien Godard * iostat is now able to display I/O activity in kB/s with 2.4.x kernels (option -k). * Fixed a typo in 'sar -W -h' output. * Try to handle the case when some parameters in /proc/net/dev may overflow ULONG_MAX. * 'sar -d' now displays sectors per second instead of blocks per second. * iostat and sar manual pages updated. * Added a FAQ. * NLS updated: Russian translation added. 2002/01/27: Version 4.0.3 - Sebastien Godard * iostat now displays statistics in kB/s when option -x is used. * Configuration script updated. * sar and iostat manual pages updated. * umask also set in sa1 shell script. * Various sanity checks added. * Fixed potential segmentation faults that could happen with some locales. * KB (standing for kilobytes) replaced with kB in various places. * NLS updated: Italian translation added. 2001/09/22: Version 4.0.2 - Sebastien Godard * CPU usage, as displayed by iostat, mpstat and sar, should now be OK on machines where HZ <> 100 (e.g. IA64 architecture). * MAX_PART constant set to 256 in iostat.h. * "-H" database friendly option added to sar. * Better disks and network interfaces management (both may be registered dynamically). * Made options "-s" and "-e" work when option "-h" is used. * isag upgraded to version 1.17. * isag installation is now optional and can be chosen at config stage. * Now try to install man pages in ${PREFIX}/share/man instead of ${PREFIX}/man. * sa2 shell script updated. * Configuration script updated. * sar manual page updated. * NLS updated: Norwegian translation added. 2001/06/24: Version 4.0.1 - Sebastien Godard * Files created by sa2 shell script were world writable. This is now fixed. * sa2.sh shell script updated: only remove sa?? and sar?? files. * Don't use PAGE_SHIFT since it no longer necessarily exists in . Compute it using page size instead. * Cosmetic changes for iostat. * NLS updated: Afrikaans translation added. 2001/04/08: Version 4.0.0 - Sebastien Godard * Better network interfaces handling. Now take into account the fact that they may be registered/unregistered dynamically. * Changed formula used to display statistics in order to avoid overflow conditions. * Fixed a bug in iostat, where the %util value scaled incorrectly. * Better long file names management by iostat. * mpstat and sar no longer periodically display the title line when stdout has been redirected to a pipe or a file. * sa2.sh shell script updated: Now exec sadc. * Configuration script updated. * NLS updated. * Makefile updated. * Manual pages updated. * isag command updated. 2001/03/04: Version 3.3.6 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! [0x215d] * New paging statistics added (sar -B). Kernel 2.4 only. * Load averages and queue length statistics added (option -q for sar). * Per device statistics added (option -d for sar). Kernel 2.4 only. * Better accuracy when computing average for some statistics. * Display all the contents of a daily data file when the count parameter is not given on the command line. * Check sar command line options more aggressively. * iostat no longer freezes if -c and -d options are used together. * Fixed a bug that prevented iostat from displaying more than an average of three devices with 2.4 kernels (a buffer was too small). * Check added to ensure that sar and sadc commands are consistent. * sar manual page updated. * NLS updated. * Code cleaned (use smaller subroutines). * Makefile updated. * isag command updates. 2001/02/11: Version 3.3.5 - Sebastien Godard * iostat command improved. Take now full advantage of Stephen Tweedie's I/O accounting patch to display extended statistics (option -x). * The default value for the count parameter of the sar command is now 1 (this is how sar works with other Un*xes...). A value of 0 will indicate that reports are to be generated continuously. * Code cleaned: Now always use 'double' numbers instead of the INT_PART, INT_VAL, DEC_PART and DEC_VAL macros. * Don't assume that jiffies are 100ths of a second. Use Linux HZ definition instead. * NLS updated (small fix). * sar and iostat manual pages updated. * isag (Interactive System Activity Graph) command added. * Makefile updated. 2001/01/26: Version 3.3.4 - Sebastien Godard * Disk I/O statistics for the last device were counted twice when reading /proc/stat file with 2.4 kernels (sar -b). This is now fixed. * iostat command is no longer able to save its data to a file. In fact, iostat has never been supposed to work that way, and I have never really maintained this option. * iostat now also works with 2.4 kernels. It can handle the format of the /proc/stat file for both 2.2 and 2.4 kernels. * sar now reports statistics on allocated disk quotas entries instead of on used ones (sar -v). * Manual pages updated for sar and iostat. 2000/12/31: Version 3.3.3 - Sebastien Godard WARNING: Daily data files format has changed, and is *not* compatible with the previous one! Delete existing data files in /var/log/sa directory! * Disk usage displayed by iostat on SMP machines was wrong. This is now fixed. * iostat command cleaned: All the statistics not implemented in the standard Linux kernel have been removed (tty, iowait...). * sar can now handle I/O and transfer rate statistics with both 2.2.x and 2.4.x Linux kernels (-b option). * Removed %inode-sz that was displayed by sar -v, since the file inode-max in /proc/sys/fs no longer exists in Linux 2.4. The new 2.4.x kernels now seem to be able to allocate inode structures dynamically, and to free them when necessary (see linux/fs/inode.c). * Removed statistics on highest in-used sockets. Relevant counters have disappeared from sockstat file in /proc/net for 2.4 kernels (sar -n SOCK). * Added statistics on IP datagram fragments (sar -n SOCK). Only available for 2.4 kernels. 2000/11/19: Version 3.3.2 - Sebastien Godard * sar now saves timestamps in its daily data files both in UST and in the user's timezone formats. WARNING: Daily data files format has changed, and is *not* compatible with the previous one! * sar now displays timestamps in locale time when reading data from its daily data files. -t option has been added to sar, to enable it to display timestamps in the original locale time of the data file creator. * Size of various buffers made larger. * Number of interrupts per second for 'all' CPU displayed by the mpstat command was wrong. This is now fixed. * Makefile updated. * Usage message updated. 2000/09/17: Version 3.3.1 - Sebastien Godard * mpstat command added. * Manual page added for mpstat. * Option -h added, enabling sar to display data from a daily data file in a format that can easily be handled with pattern processing commands like awk. * Manual page updated for sar. * iostat now writes KB (for kilobytes) instead of Kb, which could have been interpreted as kilobits... * Disk accounting patch for iostat removed. * NLS updated. 2000/08/06: Version 3.2.4 - Sebastien Godard * Fixed a bug that prevented sar from reading its daily data files when they had been created using -I option. * Network statistics averages were sometimes wrong when reading data from a file. This is now fixed. * README-patch file updated. * Configuration script updated to deal with Debian directories. 2000/06/25: Version 3.2.3 - Sebastien Godard * Configuration scripts updated. Can now print a help message. * Workaround for SMP race in Linux serial driver added. This workaround is enabled by default in RPM binary packages. * sar manual page updated. * Added iostat disk accounting patch against 2.2.16 linux kernel. * Removed a few typos in the comments of the source code. 2000/06/11: Version 3.2.2 - Sebastien Godard * Now handle interrupts per processor better. Output improved. * Makefile modified to comply with redhat good packaging. * sysstat initialization script updated (don't su to root when we are already root). * sar now looks for sadc data collector in more places. * NLS is now enabled by default. * Silly bug in iostat disk accounting patch fixed. * Added iostat disk accounting patch against 2.2.15 linux kernel. 2000/04/02: Version 3.2 - Sebastien Godard * sadc no longer complains when daily data files have a null length. * Configuration script added (make config). * Statistics on sockets in use added. * Got rid of various limits (maximum number of serial lines, maximum number of network interfaces). * Better management of dynamic files contents. * Cosmetic change for timestamp display. * Manual pages updated. * Documentation added in ${PREFIX}/doc/sysstat-x.y. 2000/02/20: Version 3.1 - Sebastien Godard * Fixed a bug that made average numbers wrong for some statistics when reading them from a system activity file. * Fixed a bug that prevented the user from retrieving some statistics when reading them from a system activity file. * sadc no longer core-dumps on UP machines with SMP support enabled in the kernel. * System activity files are now readable by everybody. * Average statistics since boot time are now printed when interval parameter is set to 0. If interval and count parameters are not set on the command line, sar selects requested activities from the current system activity daily data file. * sadc, sa1 and sa2 manual pages moved to chapter 8 instead of 1m. * iostat disk accounting patch modified to work with md drivers. 2000/01/30: Version 3.0 - Sebastien Godard * sadc - system activity data collector added. * sa1, sa2 and sysstat.sh shell scripts added. * Manual pages added for sadc, sa1, sa2. * sar heavily modified to use stats sent by sadc. * System activity data file now records system restarts. * Every records in the iostat and system activity data files have their own timestamp now. * sar and iostat largely modified to use structures when reading or writing data files. * Per-process statistics added. * System minor and major fault statistics added. * TTY device statistics added. * Memory and swap space utilization statistics added. * Per-processor interrupt statistics added. * Statistics for kernel parameters (dcache, inodes, superblocks, etc.) added. * Network device statistics added. * S_TIME_FORMAT environment variable added. * Meaning of -i option has changed for sar. * -d option removed for sar since it is no longer needed (we have sadc now). * sar now uses keywords such as ALL, SUM, etc. instead of numerical parameters. * iostat disk accounting patch improved. * 'page' field in /proc/stat is no longer used by iostat (was unreliable). * Workaround for buggy RTC (or kernels?) added. Used when the number of jiffies spent by the system in the idle task is decreasing in /proc/stat. * Manual pages updated. * NLS updated: Portuguese translation added. * Makefile updated. 1999/11/28: Version 2.2 - Sebastien Godard * Option -d added to sar to enable it to be started as a daemon. * sar initialization script updated to use -d option. * Option -V added to sar and iostat (print version number and usage). * Fixed a bug that made CPU utilization displayed by iostat wrong on SMP machines. * Manual pages updated and moved to chapter 1 instead of 8. * sar '-m' option renamed to '-r'. * Display improved for iostat. * NLS updated: Spanish translation added. * Patch against kernel 2.2.13 added for iostat. 1999/10/24: Version 2.1 - Sebastien Godard * The sar and iostat commands can now work on non SMP-machines even if the kernel is compiled with SMP support enabled. * Fixed a bug that made the time displayed by iostat wrong when reading stats back from a file. * Added memory statistics: free/shared/buffer/cached pages (sar -m). * Option -h added to sar to print its header periodically. * Set unavailable fields to zero when writing iostat file. * sar now displays 'proc/s' instead of 'fork/s' since exec'ed processes are also taken into account. * Manual pages updated. * sysstat is now available in RPM format. * Code cleaned up and made safer. 1999/09/19: Version 2.0 - Sebastien Godard * iostat now displays logical block I/O stats for each IDE device, or global Kb/s rate for all the block devices. Stats in Kb/s for each block device are not available for standard kernels due to Linux poor disk accounting... Anyway a patch is provided in this version of 'sysstat' in the 'patch' directory to fix that. * System uptime is no longer read in /proc/uptime but computed from the cpu line in /proc/stat. * When stats are read from a file (option -f of iostat and sar), values are now computed in accordance with the interval given by the user on the command line. * Old '-o' option for iostat removed. Now iostat can save data into a file in a binary format and re-read them later (options '-o' and '-f') in the same way sar does. * Number of available processors now taken into account when retrieving CPU usage from /proc/stat. * Removed a bug that prevented 'sar -U' to work on SMP machines. * Fixed a bug that made per-CPU average usage wrong on SMP machines. * Use of option -U is now possible for sar when reading from a file even if the machine is not an SMP one. * Fixed a bug that prevented sar from re-reading stats saved in a file when -I or -U option had been used. * iostat modified to work on SMP machines. * Changed the formula used to display stats in order not to get numbers greater than UINT_MAX. * System name, release number and hostname are now saved in system activity files. * iostat now displays system name, release number and hostname when invoked. * Daily system activity file rotation added for sar. * Improved 64-bit system support. * CREDITS file added. * NLS updated: German translation added. * Manual pages updated. * Makefile updated: Do not call msgfmt if NLS is not enabled. 1999/06/25: Version 1.2 - Sebastien Godard * Better NLS support (date, time and numerical values, NLS enabled for sar, etc.). * System activity daily file structure changed: Is now independent of the locale and is more compact. * sar updated to support SMP machines (per CPU accounting). * Code cleaned, man pages updated... 1999/05/28: Version 1.1 - Sebastien Godard * NLS support added. French translation started but needs to be completed. * sar updated to support more than 16 interrupts (potential APIC interrupt sources). * A few typos removed (man pages, etc.). * Author email address updated :-) * Tested on kernel 2.2.5. 1999/03/06: Version 1.0 - Sebastien Godard * Initial Revision. Tested on kernel 2.0.36.