]> granicus.if.org Git - sysstat/log
sysstat
3 years agoiostat: Update non regression tests
Sebastien GODARD [Mon, 27 Sep 2021 05:43:41 +0000 (07:43 +0200)]
iostat: Update non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoiostat: Update manual page
Sebastien GODARD [Sun, 26 Sep 2021 08:39:42 +0000 (10:39 +0200)]
iostat: Update manual page

Explain --compact option.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoiostat: Add --compact option (#303)
Sebastien GODARD [Sun, 26 Sep 2021 08:36:59 +0000 (10:36 +0200)]
iostat: Add --compact option (#303)

This option tells iostat to not break a report into sub-reports, as
--pretty option may do when there are many metrics to display.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoUpdate FAQ
Sebastien GODARD [Sat, 11 Sep 2021 06:45:19 +0000 (08:45 +0200)]
Update FAQ

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosimtest: Add non regression tests for device mapper names used by iostat
Sebastien GODARD [Sat, 17 Jul 2021 06:31:43 +0000 (08:31 +0200)]
simtest: Add non regression tests for device mapper names used by iostat

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoiostat: Fix how device mapper names are taken into account
Sebastien GODARD [Sat, 17 Jul 2021 06:26:23 +0000 (08:26 +0200)]
iostat: Fix how device mapper names are taken into account

Make sure iostat takes into account registered device mapper names when
they are entered on the command line.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosimtest: Add new iostat non-regression test
Sebastien GODARD [Wed, 14 Jul 2021 09:49:52 +0000 (11:49 +0200)]
simtest: Add new iostat non-regression test

Add a test using a whole device's UUID on iostat command line.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoiostat: Always display persistent names with option -j
Sebastien GODARD [Wed, 14 Jul 2021 09:29:53 +0000 (11:29 +0200)]
iostat: Always display persistent names with option -j

When a persistent name (e.g. UUID) is entered on the command line,
iostat displayed the real name of the device instead of its persistent
name, e.g.:

$ iostat -d -j UUID 65ccf2b5-50de-4f89-bf8e-e3e88eae4c63
Linux 5.12.14-200.fc33.x86_64 (linux-1.home)  07/14/2021  _x86_64_ (8 CPU)

      tps    kB_read/s    kB_wrtn/s    kB_dscd/s    kB_read    kB_wrtn    kB_dscd Device
     1.89         6.73         0.00     31799.48      58452         12  276250680 sda

Fix this so that the persistent name appears in the report:

$ iostat -d -j UUID 65ccf2b5-50de-4f89-bf8e-e3e88eae4c63
Linux 5.12.14-200.fc33.x86_64 (linux-1.home)  07/14/2021  _x86_64_ (8 CPU)

      tps    kB_read/s    kB_wrtn/s    kB_dscd/s    kB_read    kB_wrtn    kB_dscd Device
     1.88         6.66         0.00     31489.67      58452         12  276250680 65ccf2b5-50de-4f89-bf8e-e3e88eae4c63

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosimtest: Add UUID name for /dev/sda
Sebastien GODARD [Wed, 14 Jul 2021 08:36:55 +0000 (10:36 +0200)]
simtest: Add UUID name for /dev/sda

Add a UUID name for a whole device (/dev/sda).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoUpdate non regression tests
Sebastien GODARD [Thu, 10 Jun 2021 13:10:00 +0000 (15:10 +0200)]
Update non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosar: Tell the user to convert its file when needed
Sebastien GODARD [Thu, 10 Jun 2021 13:06:19 +0000 (15:06 +0200)]
sar: Tell the user to convert its file when needed

When sar or sadf tries to read a datafile with an old format, tell the
user that he can convert it to current format to be able to read it.
This message is displayed only for datafiles created by sysstat versions
9.1.6 and later. Datafiles older than 9.1.6 cannot be converted.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoStarting sysstat-12.5.5
Sebastien GODARD [Mon, 7 Jun 2021 12:30:29 +0000 (14:30 +0200)]
Starting sysstat-12.5.5

configure script updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosysstat-12.5.4 v12.5.4
Sebastien GODARD [Mon, 7 Jun 2021 12:21:29 +0000 (14:21 +0200)]
sysstat-12.5.4

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

This version brings better integration with PCP (thanks go to Nathan
Scott).
It also adds a small improvement to the pidstat command: Using option -e
and not specifying an interval nor a count value on the command line
will make pidstat show global task statistics when the task terminates.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoUpdate NLS translations
Sebastien GODARD [Mon, 7 Jun 2021 12:05:56 +0000 (14:05 +0200)]
Update NLS translations

Sync with The Translation Project (Finish translation updated).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosadf: PCP: Don't check for newly registered network interfaces
Sebastien GODARD [Mon, 7 Jun 2021 09:51:13 +0000 (11:51 +0200)]
sadf: PCP: Don't check for newly registered network interfaces

It is useless to check if current network interface has just been
registered or not before displaying its PCP statistics.
This is because PCP displays the raw counter values, not their variation
over the interval. Moreover the whole list of network interfaces present
in file has been created with each one having already its instance.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge branch 'pidstat-updates'
Sebastien GODARD [Tue, 11 May 2021 16:37:09 +0000 (18:37 +0200)]
Merge branch 'pidstat-updates'

3 years agoMerge branch 'non-reg-tests'
Sebastien GODARD [Tue, 11 May 2021 16:36:15 +0000 (18:36 +0200)]
Merge branch 'non-reg-tests'

3 years agopidstat: Simplify use of P_D_PID flag
Sebastien GODARD [Tue, 27 Apr 2021 06:58:47 +0000 (08:58 +0200)]
pidstat: Simplify use of P_D_PID flag

P_D_PID flag is set only when option -p is used on the command line.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoAdd new non regression tests
Sebastien GODARD [Sat, 24 Apr 2021 14:09:30 +0000 (16:09 +0200)]
Add new non regression tests

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoJanitorial fixes Part 1
Sebastien GODARD [Mon, 19 Apr 2021 08:19:34 +0000 (10:19 +0200)]
Janitorial fixes Part 1

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoPCP: Update non regression test results
Sebastien GODARD [Sun, 11 Apr 2021 06:55:34 +0000 (08:55 +0200)]
PCP: Update non regression test results

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMerge pull request #287 from natoscott/pcp-metrics
GODARD Sebastien [Fri, 9 Apr 2021 12:35:55 +0000 (14:35 +0200)]
Merge pull request #287 from natoscott/pcp-metrics

Update sadf to use metadata matching the same metrics from PCP

3 years agoFix PCP issues found by Sebastien during code review
Nathan Scott [Thu, 8 Apr 2021 03:39:44 +0000 (13:39 +1000)]
Fix PCP issues found by Sebastien during code review

- Resolve duplication of kernel.all.nprocs by switching
  one over to kernel.all.sysfork to match Linux PCP
- Add total physical memory metrics
- Fix units metadata for the kernel.all.nptys metric
- Drop not-yet-used network interface metric defitions
  (speed, baudrate, duplex)
- Correct the spelling of "celsius"
- Resolve confusion with rq_ticks/rd_ticks disk fields

Relates to https://github.com/sysstat/sysstat/pull/287

3 years agoMerge branch 'parthsl-master'
Sebastien GODARD [Fri, 2 Apr 2021 14:31:22 +0000 (16:31 +0200)]
Merge branch 'parthsl-master'

3 years agopidstat: Monitor and show stats at the end of the exec program
Parth Shah [Wed, 31 Mar 2021 11:59:06 +0000 (17:29 +0530)]
pidstat: Monitor and show stats at the end of the exec program

Do not set alarms for undefined value of the interval. Also allow to
print stats even if the SIGINT/SIGCHLD occurs before first interval.
Hence, the command `pidstat -e <prog-name>`
will monitor the prog-name process and show the PID stats after the
prog-name is completed its execution.

Signed-off-by: Parth Shah <parths1229@gmail.com>
3 years agoUpdate sadf to use metadata matching the same metrics from PCP
Nathan Scott [Tue, 23 Mar 2021 06:59:18 +0000 (17:59 +1100)]
Update sadf to use metadata matching the same metrics from PCP

When operating with the -l option in sadf we want to generate PCP
archives that match the PCP archives generated by pmlogger(1) as
closely as possible.  The advantage to doing this is that the live
and historical modes to the PCP tools become interchangeable; i.e.
pmchart views, pmie rules, grafana-pcp dashboards, and so on, all
expect metrics named according to the PCP conventions.

The reason sadf is not already doing this (AIUI), is that it was
originally based on the sar2pcp(1) utility.  This tool (which we
plan to deprecate in PCP in favour of the sysstat functionality)
used the rate-converted counter values as its starting point and
not the raw counters we have access to within sysstat itself.

I've audited all of the metrics being added to PCP archives with
the sadf -l option now, and all now align with current metadata
in PCP.  I've also added a few uname(2) metrics from the record
header (in the way hinv.ncpu was already being used).

3 years agoRestore mode dor iconfig file
Sebastien GODARD [Mon, 15 Feb 2021 10:31:59 +0000 (11:31 +0100)]
Restore mode dor iconfig file

iconfig file must be executable.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoStarting sysstat-12.5.4
Sebastien GODARD [Sun, 14 Feb 2021 10:14:57 +0000 (11:14 +0100)]
Starting sysstat-12.5.4

configure script updated.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agosysstat-12.5.3 v12.5.3
Sebastien GODARD [Sun, 14 Feb 2021 10:07:01 +0000 (11:07 +0100)]
sysstat-12.5.3

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

This also is mainly a bugfix version (sar, sadf).
One noteworthy new feature is the addition of Link Time Optimization
(LTO) support for smaller binary executables (use --enable-lto to
enable it when compiling sysstat).

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
3 years agoMakefile: Add copyyear target
Sebastien GODARD [Sun, 14 Feb 2021 09:52:57 +0000 (10:52 +0100)]
Makefile: Add copyyear target

Make it easier to update year in (C) messages.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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>
3 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

3 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

3 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>
3 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>
3 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`.

3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>