]> granicus.if.org Git - sysstat/log
sysstat
3 years agoUpdate NLS translations
Sebastien GODARD [Sun, 14 Feb 2021 09:26:34 +0000 (10:26 +0100)]
Update NLS translations

Sync with The Translation Project. Swedish translation updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agocommon.c: Remove some dead code
Sebastien GODARD [Sat, 6 Feb 2021 17:28:02 +0000 (18:28 +0100)]
common.c: Remove some dead code

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosa_common.c: Remove some dead code
Sebastien GODARD [Sat, 6 Feb 2021 17:12:02 +0000 (18:12 +0100)]
sa_common.c: Remove some dead code

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosar/sadf: Test values returned by functions
Sebastien GODARD [Sat, 6 Feb 2021 17:09:46 +0000 (18:09 +0100)]
sar/sadf: Test values returned by functions

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosar: Don't use IFNAMSIZ value from <net/if.h>
Sebastien GODARD [Sat, 6 Feb 2021 08:11:08 +0000 (09:11 +0100)]
sar: Don't use IFNAMSIZ value from <net/if.h>

IFNAMSIZ value is used to set the maximum length of the network
interface name, and for the definition of structures used to save
data in the binary data files (saDD).
We cannot allow that a new kernel value for IFNAMSIZ changes the format
of saDD binary data files. So now use a constant value of 16 (which is
the present value of IFNAMSIZ).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoCheck untrusted values before use
Sebastien GODARD [Sat, 6 Feb 2021 08:02:27 +0000 (09:02 +0100)]
Check untrusted values before use

Values read from a daily data file need to be checked before being used.
Fix Coverity CID #29717 #366268 #366269

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoUpdate extra tests results
Sebastien GODARD [Sat, 30 Jan 2021 17:38:22 +0000 (18:38 +0100)]
Update extra tests results

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge branch 'lto-support'
Sebastien GODARD [Sat, 30 Jan 2021 17:32:09 +0000 (18:32 +0100)]
Merge branch 'lto-support'

3 years agoFix #285: LTO compilation warnings
Sebastien GODARD [Sat, 30 Jan 2021 17:28:14 +0000 (18:28 +0100)]
Fix #285: LTO compilation warnings

Fix new warnings displayed when compiling with LTO.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoAdd Link Time Optimization (LTO) support
Sebastien GODARD [Sat, 30 Jan 2021 17:26:11 +0000 (18:26 +0100)]
Add Link Time Optimization (LTO) support

Add new configuration option (--enable-lto) to make it possible to
compile sysstat with link time optimizations.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoSmall code optimization
Sebastien GODARD [Sat, 30 Jan 2021 15:45:37 +0000 (16:45 +0100)]
Small code optimization

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge branch 'svg-fix-itvcount'
Sebastien GODARD [Tue, 26 Jan 2021 17:10:59 +0000 (18:10 +0100)]
Merge branch 'svg-fix-itvcount'

3 years agosadf: Add a non regression test
Sebastien GODARD [Tue, 26 Jan 2021 17:08:36 +0000 (18:08 +0100)]
sadf: Add a non regression test

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosa_common.c: Update comment in code
Sebastien GODARD [Tue, 26 Jan 2021 17:07:39 +0000 (18:07 +0100)]
sa_common.c: Update comment in code

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosar/sadf: Remove some dead code again
Sebastien GODARD [Mon, 25 Jan 2021 17:54:16 +0000 (18:54 +0100)]
sar/sadf: Remove some dead code again

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoSVG: Use the "count" parameter entered on the command line
Sebastien GODARD [Sun, 24 Jan 2021 09:59:17 +0000 (10:59 +0100)]
SVG: Use the "count" parameter entered on the command line

The <count> parameter was not taken into account by sadf when creating
SVG graphs. Fix this.

E.g.: sadf -g datafile 1 10 > data.svg
In this example, the value 10 for the count parameter was not taken
into account and the whole datafile was used to create the graphs.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge branch 'Joungkyun-kr-trans-20210116'
Sebastien GODARD [Sat, 23 Jan 2021 09:52:27 +0000 (10:52 +0100)]
Merge branch 'Joungkyun-kr-trans-20210116'

3 years agoMerge branch 'kr-trans-20210116' of https://github.com/Joungkyun/sysstat into Joungky...
Sebastien GODARD [Sat, 23 Jan 2021 09:51:25 +0000 (10:51 +0100)]
Merge branch 'kr-trans-20210116' of https://github.com/Joungkyun/sysstat into Joungkyun-kr-trans-20210116

3 years agoUpdate simulation tests environment
Sebastien GODARD [Sat, 23 Jan 2021 09:49:40 +0000 (10:49 +0100)]
Update simulation tests environment

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge branch 'svg_debug_option'
Sebastien GODARD [Sat, 23 Jan 2021 08:19:54 +0000 (09:19 +0100)]
Merge branch 'svg_debug_option'

3 years agoMerge branch 'svg_fix_dynreg'
Sebastien GODARD [Sat, 23 Jan 2021 08:18:24 +0000 (09:18 +0100)]
Merge branch 'svg_fix_dynreg'

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosvg_stats.c: Remove some dead code
Sebastien GODARD [Fri, 22 Jan 2021 17:55:41 +0000 (18:55 +0100)]
svg_stats.c: Remove some dead code

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoSVG: Fix inadequate discontinuities in some graphs
Sebastien GODARD [Fri, 22 Jan 2021 17:28:51 +0000 (18:28 +0100)]
SVG: Fix inadequate discontinuities in some graphs

When a device had a discontinuity in its graph, this discontinuity was
also wrongly applied to the graph of the next device in the list. Fix
this.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoSVG: Make graphe discontinuous for disconnected devices
Sebastien GODARD [Fri, 22 Jan 2021 17:19:33 +0000 (18:19 +0100)]
SVG: Make graphe discontinuous for disconnected devices

Make SVG graph discontinuous for devices which have been unregistered
(disconnected) then registered (connected) again during the same time
interval.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosadf: Update manual page
Sebastien GODARD [Sun, 17 Jan 2021 17:19:42 +0000 (18:19 +0100)]
sadf: Update manual page

Explain 'debug' option for SVG output format.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosadf: Add debug option for SVG output format
Sebastien GODARD [Sun, 17 Jan 2021 17:13:55 +0000 (18:13 +0100)]
sadf: Add debug option for SVG output format

'debug' option will insert various comments in SVG output file.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosadf: Make 'debug' option independent from RAW output format
Sebastien GODARD [Sat, 16 Jan 2021 17:53:37 +0000 (18:53 +0100)]
sadf: Make 'debug' option independent from RAW output format

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agotests: Add new non regression tests
Sebastien GODARD [Sat, 16 Jan 2021 16:56:11 +0000 (17:56 +0100)]
tests: Add new non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosadf.c: Simplify code a bit
Sebastien GODARD [Sat, 16 Jan 2021 16:54:44 +0000 (17:54 +0100)]
sadf.c: Simplify code a bit

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoFix comments in code
Sebastien GODARD [Sat, 16 Jan 2021 16:51:04 +0000 (17:51 +0100)]
Fix comments in code

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMakefile: Define TEST flag when making simtest/extratest targets
Sebastien GODARD [Sat, 16 Jan 2021 16:43:34 +0000 (17:43 +0100)]
Makefile: Define TEST flag when making simtest/extratest targets

We should be able to enter just 'make simtest' and not 'make simtest TFLAGS="-DTEST"'.
Same for extratest.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoupdate korean translation with pot file of 12.5.3 (@5bfceb6)
JoungKyun Kim [Sat, 16 Jan 2021 09:53:54 +0000 (18:53 +0900)]
update korean translation with pot file of 12.5.3 (@5bfceb6)

3 years agoFix #283: irqstat: Sync with upstream version
Sebastien GODARD [Fri, 8 Jan 2021 17:06:04 +0000 (18:06 +0100)]
Fix #283: irqstat: Sync with upstream version

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoEnhance simulation tests environment
Sebastien GODARD [Thu, 31 Dec 2020 09:20:08 +0000 (10:20 +0100)]
Enhance simulation tests environment

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosvg_stats.c: Define a constant for the size of each array
Sebastien GODARD [Thu, 31 Dec 2020 08:58:18 +0000 (09:58 +0100)]
svg_stats.c: Define a constant for the size of each array

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Add non regression tests for USB statistics
Sebastien GODARD [Tue, 22 Dec 2020 11:41:18 +0000 (12:41 +0100)]
simtest: Add non regression tests for USB statistics

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosadf: Raw: Display number of items in debug mode even if it's zero
Sebastien GODARD [Tue, 22 Dec 2020 11:38:53 +0000 (12:38 +0100)]
sadf: Raw: Display number of items in debug mode even if it's zero

Make sure that the number of items is always displayed in debug mode,
even if this number is zero.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosar/sadc: Dereference nr array pointer in struct activity
Sebastien GODARD [Tue, 22 Dec 2020 11:31:33 +0000 (12:31 +0100)]
sar/sadc: Dereference nr array pointer in struct activity

nr field in struct activity is an array of integers, not an integer
itself. So dereference it to actually access the values.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosar: Fix return code sent by write_stats() function
Sebastien GODARD [Tue, 22 Dec 2020 11:22:30 +0000 (12:22 +0100)]
sar: Fix return code sent by write_stats() function

Make sure that a line of statistics has actually been displayed to
return 1 for the status code value.
When an activity has no item at all for current sample, we should not
return a status code of 1 else we won't display the header line for
next sample.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoStarting sysstat-12.5.3
Sebastien GODARD [Sat, 19 Dec 2020 09:03:32 +0000 (10:03 +0100)]
Starting sysstat-12.5.3

configure script updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosysstat-12.5.2 v12.5.2
Sebastien GODARD [Sat, 19 Dec 2020 08:51:54 +0000 (09:51 +0100)]
sysstat-12.5.2

sysstat version 12.5.2 final packaging.
Changelog added.
spec and lsm files updated.

I felt compelled to release this new version because of an annoying bug
concerning structures alignment on 32 bit systems. It made saDD
datafiles created on 32 bit systems unreadable on 64 bit ones. And bugs
impacting datafiles structure and/or format are always pernicious...
So please upgrade. Thanks go to Aleksei Nikiforov for reporting (and
fixing) it.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoUpdate NLS translations
Sebastien GODARD [Sat, 19 Dec 2020 08:42:03 +0000 (09:42 +0100)]
Update NLS translations

Sync with The Translation Project.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Update non regression tests
Sebastien GODARD [Sat, 19 Dec 2020 08:12:14 +0000 (09:12 +0100)]
simtest: Update non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Check for 32 bit version of lm_sensors library
Sebastien GODARD [Sat, 19 Dec 2020 08:08:59 +0000 (09:08 +0100)]
simtest: Check for 32 bit version of lm_sensors library

This version of lm_sensors library will be used to compile the 32 bit
version of sadc if available.
32 bit version of sadc is useful to make sure that datafiles created by
a 64 or 32 bit version of sadc can be read on every architecture.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Update do_test script
Sebastien GODARD [Sat, 19 Dec 2020 08:04:42 +0000 (09:04 +0100)]
simtest: Update do_test script

Don't define DEBUG symbol (already defined by configure script)
Don't use CFLAGS variable to avoid overwriting its contents defined in
Makefile.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosystest.c: Fix GCC warnings
Sebastien GODARD [Sat, 19 Dec 2020 08:03:56 +0000 (09:03 +0100)]
systest.c: Fix GCC warnings

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Add 32-bit versions of sar and sadc
Sebastien GODARD [Sun, 13 Dec 2020 15:24:28 +0000 (16:24 +0100)]
simtest: Add 32-bit versions of sar and sadc

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Change values used for filesystems statistics
Sebastien GODARD [Sun, 13 Dec 2020 15:17:50 +0000 (16:17 +0100)]
simtest: Change values used for filesystems statistics

Make sure values are not greater than UINT_MAX.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosar/sadc: Use %z format specifier for size_t values
Sebastien GODARD [Sun, 13 Dec 2020 15:11:15 +0000 (16:11 +0100)]
sar/sadc: Use %z format specifier for size_t values

As indicated in the ssize_t(3) manual page.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agord_stats.h: Cosmetic changes
Sebastien GODARD [Sun, 13 Dec 2020 15:07:38 +0000 (16:07 +0100)]
rd_stats.h: Cosmetic changes

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Update do_test script
Sebastien GODARD [Sun, 13 Dec 2020 15:06:40 +0000 (16:06 +0100)]
simtest: Update do_test script

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoMerge branch 'darktemplarbasealt-fix_for_32bit_systems'
Sebastien GODARD [Sat, 12 Dec 2020 16:56:12 +0000 (17:56 +0100)]
Merge branch 'darktemplarbasealt-fix_for_32bit_systems'

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoMerge branch 'fix_for_32bit_systems' of https://github.com/darktemplarbasealt/sysstat...
Sebastien GODARD [Sat, 12 Dec 2020 16:46:20 +0000 (17:46 +0100)]
Merge branch 'fix_for_32bit_systems' of https://github.com/darktemplarbasealt/sysstat into darktemplarbasealt-fix_for_32bit_systems

4 years agoAdd new non regression tests
Sebastien GODARD [Sat, 12 Dec 2020 08:30:44 +0000 (09:30 +0100)]
Add new non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix alignment and structure size for 32-bit systems
Aleksei Nikiforov [Thu, 10 Dec 2020 15:01:10 +0000 (18:01 +0300)]
Fix alignment and structure size for 32-bit systems

4 years agoMerge pull request #280 from timgates42/bugfix_typo_structures
GODARD Sebastien [Sat, 28 Nov 2020 07:15:05 +0000 (08:15 +0100)]
Merge pull request #280 from timgates42/bugfix_typo_structures

docs: fix simple typo, stuctures -> structures

4 years agosar.c: Simplify a bit some functions
Sebastien GODARD [Sat, 28 Nov 2020 07:13:46 +0000 (08:13 +0100)]
sar.c: Simplify a bit some functions

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Create data-cd file whenever tests are run
Sebastien GODARD [Sat, 28 Nov 2020 07:11:51 +0000 (08:11 +0100)]
simtest: Create data-cd file whenever tests are run

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agodocs: fix simple typo, stuctures -> structures
Tim Gates [Fri, 27 Nov 2020 23:08:10 +0000 (10:08 +1100)]
docs: fix simple typo, stuctures -> structures

There is a small typo in sar.c, tests/12.0.1/inisar.c.

Should read `structures` rather than `stuctures`.

4 years agoAdd new and update existing non regression tests
Sebastien GODARD [Tue, 24 Nov 2020 17:02:45 +0000 (18:02 +0100)]
Add new and update existing non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix metric's name in sar -y output: txmtin -> xmtin (#278)
Sebastien GODARD [Mon, 23 Nov 2020 17:17:17 +0000 (18:17 +0100)]
Fix metric's name in sar -y output: txmtin -> xmtin (#278)

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFAQ: Add links to markdown file
Sebastien GODARD [Sun, 22 Nov 2020 16:37:41 +0000 (17:37 +0100)]
FAQ: Add links to markdown file

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoStarting sysstat-12.5.2
Sebastien GODARD [Sat, 21 Nov 2020 08:19:14 +0000 (09:19 +0100)]
Starting sysstat-12.5.2

configure script updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosysstat-12.5.1 v12.5.1
Sebastien GODARD [Sat, 21 Nov 2020 08:14:31 +0000 (09:14 +0100)]
sysstat-12.5.1

sysstat version 12.5.1 final packaging.
Changelog added.
spec and lsm files updated.

This is mainly a bugfix release with some small improvements lying around...
Nothing to write home about, but I thought it was time to make a release,
the previous one being almost 4 months old.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoUpdate NLS translations
Sebastien GODARD [Sat, 21 Nov 2020 08:06:38 +0000 (09:06 +0100)]
Update NLS translations

Sync with The Translation Project.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix typo in iostat manual page
Sebastien GODARD [Sat, 21 Nov 2020 07:48:42 +0000 (08:48 +0100)]
Fix typo in iostat manual page

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoCosmetic changes
Sebastien GODARD [Sat, 21 Nov 2020 07:48:18 +0000 (08:48 +0100)]
Cosmetic changes

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoAdd new non regression tests
Sebastien GODARD [Wed, 11 Nov 2020 15:38:43 +0000 (16:38 +0100)]
Add new non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoUpdate FAQ
Sebastien GODARD [Wed, 11 Nov 2020 15:37:12 +0000 (16:37 +0100)]
Update FAQ

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosa1: Update manual page
Sebastien GODARD [Wed, 11 Nov 2020 15:36:11 +0000 (16:36 +0100)]
sa1: Update manual page

Explain new option "--rotate".

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosa1: Add --rotate option
Sebastien GODARD [Wed, 11 Nov 2020 15:33:32 +0000 (16:33 +0100)]
sa1: Add --rotate option

This option tells sa1 to add a statistics record to the system activity
daily data file of the previous day. This should be done shortly after
midnight in order to make sure that the data file covers the whole day,
including the last interval of time just before midnight.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoUpdate non regression tests
Sebastien GODARD [Sat, 7 Nov 2020 08:55:17 +0000 (09:55 +0100)]
Update non regression tests

Add new non regression test for sadf.
Update non regression test for mpstat.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoAdd new non regression tests
Sebastien GODARD [Sat, 7 Nov 2020 08:24:44 +0000 (09:24 +0100)]
Add new non regression tests

Test the use of option -j with filesystem statistics.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosadf: Make option -j work with filesystems statistics
Sebastien GODARD [Sat, 7 Nov 2020 08:23:52 +0000 (09:23 +0100)]
sadf: Make option -j work with filesystems statistics

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosar: Make option -j work with filesystem statistics
Sebastien GODARD [Sat, 7 Nov 2020 08:20:18 +0000 (09:20 +0100)]
sar: Make option -j work with filesystem statistics

This patch makes it possible to display the persistent filename of the
device (e.g. UUID instead of /dev/sda...) when displaying filesystems
statistics (sar -F).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoMakefile: Rename object files used by sadc
Sebastien GODARD [Thu, 5 Nov 2020 17:37:09 +0000 (18:37 +0100)]
Makefile: Rename object files used by sadc

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix #253: Make sure setbuf() is the first operation on stream
Sebastien GODARD [Sat, 31 Oct 2020 13:58:51 +0000 (14:58 +0100)]
Fix #253: Make sure setbuf() is the first operation on stream

Required by musl-c.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix #277: Typo in the PHYS_PACK_ID (mpstat.h)
Sebastien GODARD [Sat, 31 Oct 2020 13:35:03 +0000 (14:35 +0100)]
Fix #277: Typo in the PHYS_PACK_ID (mpstat.h)

Reported-by: Michal Berger
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoiostat: Explain options -f/+f in manual page
Sebastien GODARD [Sat, 10 Oct 2020 08:16:14 +0000 (10:16 +0200)]
iostat: Explain options -f/+f in manual page

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoSimplify/merge non regression tests
Sebastien GODARD [Sat, 10 Oct 2020 07:00:01 +0000 (09:00 +0200)]
Simplify/merge non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosimtest: Add more tests for CPU going offline
Sebastien GODARD [Sun, 4 Oct 2020 06:40:41 +0000 (08:40 +0200)]
simtest: Add more tests for CPU going offline

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosadc: Rework softnet stats reading procedure
Sebastien GODARD [Sat, 26 Sep 2020 14:07:02 +0000 (16:07 +0200)]
sadc: Rework softnet stats reading procedure

Make sure that all lines from /proc/net/softnet_stat are read.
If not enough slots have been allocated then allocate more of them.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosadc: Don't reallocate structures if buffers are large enough
Sebastien GODARD [Sat, 26 Sep 2020 07:24:28 +0000 (09:24 +0200)]
sadc: Don't reallocate structures if buffers are large enough

When appending data to an existing file, don't reallocate buffers if
they are already large enough.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosystest: Small fix for array index values
Sebastien GODARD [Sat, 26 Sep 2020 07:01:48 +0000 (09:01 +0200)]
systest: Small fix for array index values

Array index was varying only from 0 to 1 (instead of 0 to 3).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoMerge branch 'petrpavlu-iowait-decrement'
Sebastien GODARD [Thu, 3 Sep 2020 15:38:45 +0000 (17:38 +0200)]
Merge branch 'petrpavlu-iowait-decrement'

4 years agoMerge branch 'iowait-decrement' of https://github.com/petrpavlu/sysstat into petrpavl...
Sebastien GODARD [Thu, 3 Sep 2020 15:38:19 +0000 (17:38 +0200)]
Merge branch 'iowait-decrement' of https://github.com/petrpavlu/sysstat into petrpavlu-iowait-decrement

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoUpdate non regression tests
Sebastien GODARD [Thu, 3 Sep 2020 15:25:36 +0000 (17:25 +0200)]
Update non regression tests

Take into account fix for iowait being decremented.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoWorkaround for iowait being decremented
Sebastien GODARD [Wed, 2 Sep 2020 17:04:04 +0000 (19:04 +0200)]
Workaround for iowait being decremented

The iowait value reported by the kernel on NO_HZ systems can decrement
as a result of inaccurate iowait tracking. Waiting on IO can be first
accounted as iowait but then instead as idle.

Function get_per_cpu_interval() considers iowait going backwards between
two readings as a CPU coming back online and resets the iowait value of
the first reading to 0. If iowait is decremented only because of
inaccurate tracking, this causes that almost all time between the two
readings is incorrectly recognized by sar as being spent in iowait.

The patch updates the code in get_per_cpu_interval() to recognize this
situation. If the iowait value between two readings decremented but the
idle value did not then the code now considers it as a problem with the
iowait reporting and corrects the first value according to the second
reading. Otherwise, the code remains treating decremented iowait as a
CPU coming back online.

Fixes #14.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoAdd non regression test based on iowait being decremented
Sebastien GODARD [Wed, 2 Sep 2020 16:26:39 +0000 (18:26 +0200)]
Add non regression test based on iowait being decremented

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoWorkaround for iowait being decremented
Petr Pavlu [Wed, 2 Sep 2020 08:24:43 +0000 (10:24 +0200)]
Workaround for iowait being decremented

The iowait value reported by the kernel on NO_HZ systems can decrement
as a result of inaccurate iowait tracking. Waiting on IO can be first
accounted as iowait but then instead as idle.

Function get_per_cpu_interval() considers iowait going backwards between
two readings as a CPU coming back online and resets the iowait value of
the first reading to 0. If iowait is decremented only because of
inaccurate tracking, this causes that almost all time between the two
readings is incorrectly recognized by sar as being spent in iowait.

The patch updates the code in get_per_cpu_interval() to recognize this
situation. If the iowait value between two readings decremented but the
idle value did not then the code now considers it as a problem with the
iowait reporting and corrects the first value according to the second
reading. Otherwise, the code remains treating decremented iowait as a
CPU coming back online.

Fixes #14.

4 years agoiostat: Update manual page
Sebastien GODARD [Tue, 25 Aug 2020 13:12:49 +0000 (15:12 +0200)]
iostat: Update manual page

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoCheck for both --disable and --enable-compress-manpg
Sebastien GODARD [Mon, 24 Aug 2020 09:06:05 +0000 (11:06 +0200)]
Check for both --disable and --enable-compress-manpg

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoFix #272: --disable-compress-manpg option does not work
Sebastien GODARD [Mon, 24 Aug 2020 08:53:24 +0000 (10:53 +0200)]
Fix #272: --disable-compress-manpg option does not work

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agosar manual page: Update definition for runq-sz metric
Sebastien GODARD [Fri, 21 Aug 2020 08:36:47 +0000 (10:36 +0200)]
sar manual page: Update definition for runq-sz metric

The runq-sz metric was defined as the number of tasks waiting for run
time, and calculated as (number of tasks running+waiting for run time)
minus 1 (to not count current running process).
This was OK on UP machines, but is no longer true on SMP/multi-cores
machines. So update the metric's definition: runq-sz is the number of
tasks running or waiting for run time (we still don't count current
running process).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoMerge pull request #271 from NanXiao/patch-2
GODARD Sebastien [Thu, 20 Aug 2020 11:51:05 +0000 (13:51 +0200)]
Merge pull request #271 from NanXiao/patch-2

mpstat: Fix typo in man page

4 years agoMerge branch 'NanXiao-patch-1'
Sebastien GODARD [Thu, 20 Aug 2020 11:48:48 +0000 (13:48 +0200)]
Merge branch 'NanXiao-patch-1'

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agompstat: Fix typo in man page
Nan Xiao [Thu, 20 Aug 2020 07:57:36 +0000 (15:57 +0800)]
mpstat: Fix typo in man page

4 years agompstat: Add -T option in help message
Nan Xiao [Thu, 20 Aug 2020 07:54:39 +0000 (15:54 +0800)]
mpstat: Add -T option in help message

4 years agoAdd a sponsor button to GitHub page
Sebastien GODARD [Sat, 1 Aug 2020 13:06:17 +0000 (15:06 +0200)]
Add a sponsor button to GitHub page

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
4 years agoStarting sysstat-12.5.1
Sebastien GODARD [Fri, 31 Jul 2020 06:03:14 +0000 (08:03 +0200)]
Starting sysstat-12.5.1

Configure script updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>