]>
granicus.if.org Git - sysstat/log
Sebastien GODARD [Fri, 21 Jun 2019 16:06:09 +0000 (18:06 +0200)]
simtest: Update sar/sadc/sadf non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 21 Jun 2019 16:02:14 +0000 (18:02 +0200)]
simtest: Remove real-time tests
Real-time tests are no longer useful since they are now simulated.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 21 Jun 2019 15:48:44 +0000 (17:48 +0200)]
iostat: Fix wrong CPU stats displayed with option -y
CPU statistics written for the first sample was wrong when option -y was
used. This was because the interval of time used was that since system
startup whereas it should have been the interval of time since last
sample (which is not displayed with option -y).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 21 Jun 2019 15:47:40 +0000 (17:47 +0200)]
Allow more space for persistent type directory names
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 7 Jun 2019 16:27:42 +0000 (18:27 +0200)]
simtest: Add new non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 7 Jun 2019 15:01:55 +0000 (17:01 +0200)]
sar: Update manual page
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 7 Jun 2019 13:31:46 +0000 (15:31 +0200)]
sar/sadf: Allow to select individual CPU/interrupts with option -A
Previously, using option -A with sar or sadf would display statistics
for all CPU and interrupts (i.e. using -A would also imply -P ALL -I
ALL).
Now this will be true only if the user didn't specify explicitly a list
of CPU or interrupts using options -P or -I.
Example: "sar -A -P1,4" will display all possible statistics but only those
concerning CPU 1 and 4 for CPU-related metrics.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 7 Jun 2019 06:19:50 +0000 (08:19 +0200)]
simtest: Remove unused output file
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 5 Jun 2019 08:15:50 +0000 (10:15 +0200)]
simtest: Fix test 01405
Make test independent from timezone value.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 5 Jun 2019 07:09:09 +0000 (09:09 +0200)]
simtest: Update non regression tests
Make sure that the result of the test (success/failure) is based on the
exit code of the sysstat command.
Also add a new non regression test: Check that sadf -g terminates
properly on a truncated input file.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 2 Jun 2019 14:04:32 +0000 (16:04 +0200)]
Add/update non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 1 Jun 2019 07:51:18 +0000 (09:51 +0200)]
simtest: Make tests results independent from sysstat version
Set sysstat version to 99.9.9 in test mode.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 31 May 2019 16:09:47 +0000 (18:09 +0200)]
Update FAQ.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 31 May 2019 07:10:40 +0000 (09:10 +0200)]
Starting sysstat-12.1.6
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 31 May 2019 07:00:08 +0000 (09:00 +0200)]
sysstat-12.1.5
sysstat version 12.1.5 final packaging.
lsm and spec files updated.
Changelog added.
This version completes the support for PCP (Performance Co-Pilote)
output format with sadf: All statistics collected by sar/sadc can now
be exported to a PCP archive file.
This version also includes now a simulation test environment. This makes
it possible to run non regression tests with reproducible results. The
tests are run in a simulated environment composed of kernel files with
predefined values.
For now, only non regression tests have been added for sar, sadc and
sadf commands. Yet they have permitted to identify several bugs which
have been fixed here and also backported to version 12.0.5.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 31 May 2019 06:50:37 +0000 (08:50 +0200)]
Update NLS translations
Sync with the Translation Project.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 25 May 2019 14:31:12 +0000 (16:31 +0200)]
sadf: PCP: Add support for A_PWR_IN activity
Add metrics displayed by "sar -m IN" (voltage inputs statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 25 May 2019 14:19:51 +0000 (16:19 +0200)]
sadf: PCP: Add support for A_PWR_TEMP activity
Add metrics displayed by "sar -m TEMP" (temperature statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 25 May 2019 14:04:58 +0000 (16:04 +0200)]
sadf: PCP: Add support for A_PWR_FAN activity
Add metrics displayed by "sar -m FAN" (fan statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 19 May 2019 07:44:10 +0000 (09:44 +0200)]
sadf: PCP: Add support for A_DISK activity
Add metrics displayed by "sar -d" (disks statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 17 May 2019 13:19:18 +0000 (15:19 +0200)]
sadf: PCP: Add support for A_PWR_USB activity
Add metrics displayed by "sar -m USB" (USB devices) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 May 2019 14:47:48 +0000 (16:47 +0200)]
sadf: PCP: Add support for A_NET_FC activity
Add metrics displayed by "sar -n FC" (Fibre Channel HBA statistics) to
PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 May 2019 14:21:22 +0000 (16:21 +0200)]
sadf: PCP: Add support for A_HUGE activity
Add metrics displayed by "sar -H" (huge pages statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 May 2019 06:21:14 +0000 (08:21 +0200)]
sadf: PCP: Fix units for some metrics
Units were wrongly specified for some metrics. Fix this.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 May 2019 06:05:42 +0000 (08:05 +0200)]
simtest: Add non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 10 May 2019 16:23:00 +0000 (18:23 +0200)]
sadf: Fix PCP and SVG output for filesystem statistics
When the mount point had to be displayed instead of the filesystem name
with sar's option -F (i.e. the user entered "-F MOUNT" instead of just
"-F"), no data were found by sadf -g (SVG output) and sadf -l (PCP
output). This patch fixes the problem.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 10 May 2019 16:17:58 +0000 (18:17 +0200)]
sadf: PCP: Add support for A_FS activity
Add metrics displayed by "sar -F" (filesystem statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 10 May 2019 06:09:02 +0000 (08:09 +0200)]
iostat: Fix iostat regression for groups of devices
Device groups specified with iostat's option -g were no longer
displayed in the device report because of a regression introduced by
commit
ccda26c . Fix that.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 3 May 2019 16:03:02 +0000 (18:03 +0200)]
simtest: Add new non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 1 May 2019 16:29:33 +0000 (18:29 +0200)]
simtest: Add new non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 1 May 2019 13:29:57 +0000 (15:29 +0200)]
Update documentation
Explain how options -s and -e are used with sadf.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 29 Apr 2019 13:58:21 +0000 (15:58 +0200)]
sadf: Time used by options -s/-e no longer depends on the timezone value
The time specified with options -s and -e used by sadf has no longer to
be expressed in local time. This time is now consistent with that
displayed by sadf, e.g.: If sadf displays its timestamps in local time
then the time specified with options -s/-e is considered as expressed in
local time. If sadf displays its timestamps in UTC then the time used
with options -s/-e is also considered as expressed in UTC.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 28 Apr 2019 10:07:15 +0000 (12:07 +0200)]
simtest: Keep adding more non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 28 Apr 2019 10:00:10 +0000 (12:00 +0200)]
sar: Use nanoseconds to distinguish between saDD and saYYYYMMDD
When no input datafile is specified, sar uses the most recent file
between saDD and saYYYYMMDD. The comparison had a precision of a second,
which is quite enough for normal use. Yet I needed more precision for
use in simulation tests. So use now a precision of the nanosecond.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 28 Apr 2019 07:05:24 +0000 (09:05 +0200)]
simtest: Add more non regression tests again
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 27 Apr 2019 14:13:33 +0000 (16:13 +0200)]
simtest: Add more non regression tests
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 27 Apr 2019 12:46:53 +0000 (14:46 +0200)]
sar: Allow option -i when no input file is specified
Option -i can be used if no datafile is specified by the user (e.g. a
syntax like "sar -i 600" should not display an error).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 27 Apr 2019 07:31:19 +0000 (09:31 +0200)]
Fix #222: Invalid JSON output displayed by iostat
Commit
5adec60 introduced a regression: JSON output was no longer valid
when option -y was used with iostat.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 15:21:01 +0000 (17:21 +0200)]
simtest: Don't collect sensors statistics
The statistics will depend on the host where the tests are run. So
don't collect them.
They also should not appear in datafile header displayed by sadf -H.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 15:09:29 +0000 (17:09 +0200)]
simtest: Make also sadf SVG output independent from the timezone value
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 14:42:13 +0000 (16:42 +0200)]
simtest: Don't add another FC host
Don't add another Fibre Channel host when running sysstat simulation
tests. The output displayed by sar and sadf will depend on the order in
which filenames are read, which is dependent on the underlying
filesystem implementation, thus making tests non reproducible.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 14:00:53 +0000 (16:00 +0200)]
Make tests results independent from timezone value
Set TZ variable to GMT to make sure that all the data read by sar won't
depend on the local timezone value.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 11:48:12 +0000 (13:48 +0200)]
Add sysstat simulation test environment
This patch adds all the necessary files to be able to run non regression
tests with reproducible results. The tests run in a simulated
environment composed of kernel files with predefined values.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 10:15:10 +0000 (12:15 +0200)]
Cosmetic changes in code
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 09:11:40 +0000 (11:11 +0200)]
sar: Cosmetic fix in manual page
Option -u appears twice when describing -A option.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 26 Apr 2019 08:20:43 +0000 (10:20 +0200)]
sadc: Fix bad number of CPU displayed in a LINUX RESTART message
sadc didn't take into account properly a different number of CPU
When appending data to an existing file. This was because the number of
CPU recorded with the restart message was overwritten with that
originally saved in the file.
This patch fixes the problem.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 19 Apr 2019 14:32:53 +0000 (16:32 +0200)]
sar: Better detect if a disk has been unregistered then registered again
If a disk was mounted read-only then sar might not detect that a disk
had been unregistered then registered again. This is because detection
is based on counters (like number of written sectors) going down. Yet
with a read-only device, the number of written sectors is always 0 and
is never decremented.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 19 Apr 2019 13:20:45 +0000 (15:20 +0200)]
sar: Add missing %gnice CPU value for tickless CPU
A field (which should be displayed as 0.00) was missing in CPU
statistics displayed by "sar -u ALL" for tickless CPUs.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 18 Apr 2019 07:49:21 +0000 (09:49 +0200)]
Starting sysstat-12.1.5
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 18 Apr 2019 07:39:17 +0000 (09:39 +0200)]
sysstat-12.1.4
sysstat version 12.1.4 final packaging.
lsm and spec files updated.
Changelog added.
This version adds initial support for PCP (Performance Co-Pilot) output
format. sadf can now export part of its data to a PCP archive file.
This support is still experimental and will be completed in next sysstat
version.
This version also fixes several bugs. The major ones are:
* autofs entries in /etc/mtab are now ignored so that sar/sadf don't
mount the corresponding filesystems when reading their statistics.
* JSON output for iostat and mpstat has been improved so that the
commands can be interrupted with ^C (SIGINT signal) and we still get a
valid JSON output.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 18 Apr 2019 07:19:24 +0000 (09:19 +0200)]
Update NLS translations
Sync with the Translation Project.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 14 Apr 2019 15:33:56 +0000 (17:33 +0200)]
Update sadf manual page
Explain new PCP-related options.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 13 Apr 2019 16:44:29 +0000 (18:44 +0200)]
sadf: Fix seg fault on empty data files
Trying to display XML or JSON data (with sadf -x/-j) from a data file
containing only RESTART records created a core dump.
This patch fixes that.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 13 Apr 2019 10:23:44 +0000 (12:23 +0200)]
sadf: PCP: Remove some debug code
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 13 Apr 2019 10:21:27 +0000 (12:21 +0200)]
sadf: PCP: Save COMMENT records in PCP archive
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 13 Apr 2019 09:28:35 +0000 (11:28 +0200)]
sadf: PCP: Save RESTART records in PCP archive
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Apr 2019 16:29:50 +0000 (18:29 +0200)]
sadf: Add new flag FO_ITEM_LIST
This flag indicates that the linked list containing items names should
be created.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Apr 2019 15:47:43 +0000 (17:47 +0200)]
sadf: Add new flag FO_LC_NUMERIC_C
This flag indicates that corresponding output format shall use a decimal
point, e.g. to be locale independant (SVG output) or compliant with
RFC7159 (JSON output).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Apr 2019 15:45:29 +0000 (17:45 +0200)]
sadf: Add a function prototype to each output format
Each outpout format now defines the function used to display its
statistics.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
GODARD Sebastien [Mon, 8 Apr 2019 15:57:21 +0000 (17:57 +0200)]
Merge pull request #218 from danny-smit/217-add-umask-sysconfig-variable
#217: add umask sysconfig variable for sa1 and sa2
Danny Smit [Mon, 8 Apr 2019 14:28:00 +0000 (16:28 +0200)]
#217: add umask sysconfig variable for sa1 and sa2
Sebastien GODARD [Sun, 7 Apr 2019 16:45:35 +0000 (18:45 +0200)]
sadf: PCP: Add support for A_NET_SOFT activity
Add metrics displayed by "sar -n SOFT" (network softnet statistics) to
PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 7 Apr 2019 06:36:38 +0000 (08:36 +0200)]
sadf: PCP: Fix illegal result timestamp error
pmiWrite() function (from the PCP API) has a very nasty impact on
mktime().
Once pmiWrite has been called, subsequent mktime() calls will no longer
give the same result using the same input data, resulting in timestamps
that can be wrong because associated with a different timezone.
This patch tries to fix that.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 15:14:31 +0000 (17:14 +0200)]
sadf: PCP: Add support for A_PWR_CPU activity
Add metrics displayed by "sar -m CPU" (CPU frequency statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 08:04:36 +0000 (10:04 +0200)]
sadf: PCP: Fix CPU metrics definition
CPU#1 is not necessarily selected by the user when PCP archive is
created. So don't use it to define per-cpu metrics.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 07:58:04 +0000 (09:58 +0200)]
sadf: PCP: Add all interrupts statistics to PCP archive
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 07:11:19 +0000 (09:11 +0200)]
sadf: PCP: Include pcp/impl.h file
Fix "undefined reference to pmInDom_build() function" error that could
happen on some machines.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 07:08:07 +0000 (09:08 +0200)]
sadf: PCP: Save hostname in PCP archive
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 07:01:48 +0000 (09:01 +0200)]
sadf: PCP: Add support for A_NET_SOCK6 activity
Add metrics displayed by "sar -n SOCK6" (IPv6 network sockets
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 6 Apr 2019 06:53:24 +0000 (08:53 +0200)]
sadf: PCP: Add support for A_NET_SOCK activity
Add metrics displayed by "sar -n SOCK" (network sockets statistics) to
PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Tue, 2 Apr 2019 16:40:30 +0000 (18:40 +0200)]
sadf: PCP: Add support for A_NET_ICMP6 and A_NET_EICMP6 activities
Add metrics displayed by "sar -n ICMP6" and "sar -n EICMP6" (ICMPv6
network statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 31 Mar 2019 16:56:00 +0000 (18:56 +0200)]
sadf: PCP: Add support for A_NET_UDP6 activity
Add metrics displayed by "sar -n UDP6" (UDPv6 network statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 31 Mar 2019 16:43:45 +0000 (18:43 +0200)]
sadf: PCP: Add support for A_NET_IP6 and A_NET_EIP6 activities
Add metrics displayed by "sar -n IP6" and "sar -n EIP6" (IPv6 network
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 31 Mar 2019 16:20:58 +0000 (18:20 +0200)]
sadf: PCP: Add support for A_NET_UDP activity
Add metrics displayed by "sar -n UDP" (UDP network statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 31 Mar 2019 16:10:47 +0000 (18:10 +0200)]
sadf: PCP: Add support for A_NET_TCP and A_NET_ETCP activities
Add metrics displayed by "sar -n TCP" and "sar -n ETCP" (network TCP
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 31 Mar 2019 15:56:05 +0000 (17:56 +0200)]
sadf: PCP: Add support for A_NET_ICMP and A_NET_EICMP activities
Add metrics displayed by "sar -n ICMP" and "sar -n EICMP" (network ICMP
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 30 Mar 2019 10:01:10 +0000 (11:01 +0100)]
sadf: Fix variable name
This is quite a silly error...
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 30 Mar 2019 07:55:04 +0000 (08:55 +0100)]
sadf: PCP: Simplify code used to take into account timezone value
flags variable is already a global one. Don't need to pass it
explicitly.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 29 Mar 2019 20:29:54 +0000 (21:29 +0100)]
sadf: PCP: Take into account timezone value
The user can choose to save data in PCP archive with timestamps in UTC
(by default) or in local time (when option -T is used).
Timezone value, which is saved in PCP archive, is set accordingly.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 29 Mar 2019 06:34:30 +0000 (07:34 +0100)]
sadf: PCP: Add support for A_NET_IP and A_NET_EIP activities
Add metrics displayed by "sar -n IP" and "sar -n EIP" (network IP
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 24 Mar 2019 14:16:50 +0000 (15:16 +0100)]
sadf: PCP: rename metric getatt -> getattr
This is the real name of this RPC call. Use it for NFS activity.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 24 Mar 2019 14:14:43 +0000 (15:14 +0100)]
sadf: PCP: Add support for A_NET_NFSD activity
Add metrics displayed by "sar -n NFSD" (NFS server statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 24 Mar 2019 14:00:16 +0000 (15:00 +0100)]
sadf: PCP: Add support for A_NET_NFS activity
Add metrics displayed by "sar -n NFS" (NFS client statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 24 Mar 2019 13:41:43 +0000 (14:41 +0100)]
sadf: PCP: Add support for A_SERIAL activity
Add metrics displayed by "sar -y" (serial lines statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Mar 2019 17:48:18 +0000 (18:48 +0100)]
sadf: Cosmetic fixes
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Mar 2019 11:13:08 +0000 (12:13 +0100)]
sadf: PCP: Define domain constants
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Mar 2019 11:03:24 +0000 (12:03 +0100)]
sadf: PCP: Simplify pcp_def_cpu_metrics() function
Variable "first" not needed.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Mar 2019 10:58:25 +0000 (11:58 +0100)]
sadf: PCP: Add support for A_NET_DEV and A_NET_EDEV activities
Add metrics displayed by "sar -n DEV" and "sar -n EDEV" (network
interfaces statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 16:29:20 +0000 (17:29 +0100)]
sadf: PCP: Add support for A_KTABLES activity
Add metrics displayed by "sar -v" (kernel tables statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 16:07:33 +0000 (17:07 +0100)]
sadf: PCP: Add support for A_PAGE activity
Add metrics displayed by "sar -B" (paging statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 11:00:19 +0000 (12:00 +0100)]
sadf: PCP: Add support for A_IO activity
Add metrics displayed by "sar -b" (I/O and transfer rate statistics) to
PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 10:28:10 +0000 (11:28 +0100)]
sadf: PCP: Add support for A_SWAP activity
Add metrics displayed by "sar -W" (swapping statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 10:15:16 +0000 (11:15 +0100)]
sadf: PCP: Add support for A_IRQ activity
Add metric displayed by "sar -I SUM" (total number of interrupts per
second) to PCP archive.
Individual interrupts are not taken into account.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 09:47:23 +0000 (10:47 +0100)]
sadf: PCP: Add support for A_MEMORY activity
Add metrics displayed by "sar -r [ALL]" (memory statistics) to PCP
archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 20 Mar 2019 09:44:57 +0000 (10:44 +0100)]
pcp_def_metrics.c: Fix comment
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 17 Mar 2019 14:56:24 +0000 (15:56 +0100)]
sar/sadc: Change variable name dis -> dish
Make it a bit longer to quiet LGTM.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 17 Mar 2019 14:54:49 +0000 (15:54 +0100)]
sadf.c: Fix local variable hiding global one
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 17 Mar 2019 14:54:10 +0000 (15:54 +0100)]
sadc.c: Remove unused global variable
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 16 Mar 2019 13:51:07 +0000 (14:51 +0100)]
sar/sadf: Fix local variables hiding global ones.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 16 Mar 2019 13:49:07 +0000 (14:49 +0100)]
pidstat: Make pid_array_nr variable local
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>