]>
granicus.if.org Git - sysstat/log
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>
Sebastien GODARD [Sat, 16 Mar 2019 13:47:06 +0000 (14:47 +0100)]
mpstat: Fix local variable hiding global one
cpu_nr and node_nr are global variable names. Don't use the same name
for local variables.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 16 Mar 2019 10:36:15 +0000 (11:36 +0100)]
iostat: Change some variables scope
Make iodev_nr and dlist_idx local variables (based on an LGTM alert).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 16 Mar 2019 09:43:18 +0000 (10:43 +0100)]
Merge branch 'odubaj-autofs-not-counting'
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 16 Mar 2019 09:14:57 +0000 (10:14 +0100)]
Merge branch 'autofs-not-counting' of https://github.com/odubaj/sysstat into odubaj-autofs-not-counting
odubaj [Mon, 11 Mar 2019 09:17:24 +0000 (10:17 +0100)]
Update rd_stats.c
odubaj [Mon, 11 Mar 2019 09:16:50 +0000 (10:16 +0100)]
Update count.c
removed memset() before sscanf() - not needed
Sebastien GODARD [Sat, 9 Mar 2019 07:47:04 +0000 (08:47 +0100)]
sadc: Make sure nr of items are always counted for certain activities
Commit
f81fc24 modified sadc so that the number of items are counted
only for activities which are collected by sadc.
In fact certain activities need to be counted even if they are not
collected. This is the case for A_CPU: We need to know the number of CPU
for various reasons (from displaying the report header to saving it in
the header of a new saXX datafile).
So add a new flag (AO_ALWAYS_COUNTED) to indicate which activities
should always be counted, be they collected or not.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 9 Mar 2019 07:25:45 +0000 (08:25 +0100)]
Merge branch 'avoid-triggering-automounts' of https://github.com/odubaj/sysstat
Sebastien GODARD [Wed, 6 Mar 2019 17:55:52 +0000 (18:55 +0100)]
Fix #214: mpstat: JSON output should display "all" for global CPU use
Displaying "-1" for CPU number in mpstat's JSON output format is not
consistent with what mpstat uses for other options.
So display "all" instead.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 3 Mar 2019 16:04:26 +0000 (17:04 +0100)]
iostat, mpstat: Fix JSON output when stopped by SIGINT
Remove extra comma in JSON output displayed by iostat and mpstat when
stopped by SIGINT.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 3 Mar 2019 09:21:24 +0000 (10:21 +0100)]
iostat: Fix missing "}" and "]" in JSON output when stopped by SIGINT
Add a SIGINT handler to iostat so that JSON output can be ended properly
when the user presses Ctrl/C.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
GODARD Sebastien [Sun, 3 Mar 2019 08:49:48 +0000 (09:49 +0100)]
Merge pull request #212 from hying-caritas/fix_mpstat_json_int
Fix missing "}" and "]" in JSON output when stopped by SIGINT
Huang Ying [Sun, 3 Mar 2019 06:11:29 +0000 (14:11 +0800)]
Fix missing "}" and "]" in JSON output when stopped by SIGINT
When mpstat is stopped by SIGINT, the JSON output will miss the
trailing "}" and "]" because SIGINT handler isn't called. Fixed this
via setup SIGINT handler for JSON output too.
Ondrej Dubaj [Thu, 28 Feb 2019 14:29:08 +0000 (15:29 +0100)]
ignoring autofs as real filesystem by counting number of valid filesystems and getting all valid filesystems
Sebastien GODARD [Wed, 27 Feb 2019 11:10:23 +0000 (12:10 +0100)]
sadf: PCP: Create a separate file for metrics definition
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 27 Feb 2019 10:37:59 +0000 (11:37 +0100)]
sadf: PCP: Add support for A_CPU activity
Add metrics displayed by "sar -u [ALL]" (CPU statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Ondrej Dubaj [Tue, 26 Feb 2019 07:36:14 +0000 (08:36 +0100)]
avoiding triggering automounts, bug #
1670060
Sebastien GODARD [Sat, 23 Feb 2019 17:45:05 +0000 (18:45 +0100)]
sadf: PCP: Add missing #ifdef statement
pmiWrite() function only exists if PCP library exists.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 17:38:34 +0000 (18:38 +0100)]
sadf: PCP: Add support for A_PCSW activity
Add metrics displayed by "sar -w" (task creation and context switch
statistics) to PCP archive.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 16:13:23 +0000 (17:13 +0100)]
sadf: Don't test for activities available in file if only the header
needs to be displayed
When only the header needs to be displayed with an output format like
e.g. XML then don't test for activities available in file.
E.g.:
sadc -S A_NULL,A_QUEUE datafile 1 2
Then "sadf -Hx datafile" should not display error message "Requested
activities not available in file".
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 10:15:25 +0000 (11:15 +0100)]
sadf: PCP: Initial support for A_QUEUE activity
This is the initial (and experimental) support for creating PCP archives
by sadf.
I used the work made by Steve Kay (@stevekay) to create this patch: See
issue #136.
At the present time, only A_QUEUE activity is supported (i.e. the
metrics displayed by "sar -q").
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 10:06:23 +0000 (11:06 +0100)]
PCP: Update Makefile
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 09:41:54 +0000 (10:41 +0100)]
sadf: PCP: Add new options "-l" and "pcparchive="
PCP (Performance CoPilot) will be a new output format for sadf.
Add new option "-l" to select this format. The keyword "pcparchive="
used with option -O will indicate the name of the PCP archive file to
create, e.g.:
$ sadf -l -O pcparchive=foo /var/log/sa/saXX (...)
If no archive file is specified then sadf will use the same name
as the sar data file.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 09:15:55 +0000 (10:15 +0100)]
PCP: Add option --disable-pcp to configuration scripts
PCP (Performance CoPilot) will be suported by default by sysstat if PCP
development libraries are available.
Add a new option (--disable-pcp) to 'configure' script to allow user to
disable PCP support even if PCP libraries are installed.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 09:01:34 +0000 (10:01 +0100)]
configure: Don't check for sensors library if --disable-sensors used
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 08:59:54 +0000 (09:59 +0100)]
json_stats.h: Replace XML -> JSON
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 23 Feb 2019 08:57:58 +0000 (09:57 +0100)]
sadf: Cosmetic fix in manual page
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 15 Feb 2019 10:36:37 +0000 (11:36 +0100)]
Small update to sadc and sadf manual pages
sadc manual page had been updated to take into account new flag -f, but
its date hadn't been modified.
Fix typo in sadf manual page.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 15 Feb 2019 09:54:29 +0000 (10:54 +0100)]
Starting sysstat-12.1.4
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 15 Feb 2019 09:43:39 +0000 (10:43 +0100)]
sysstat-12.1.3
sysstat version 12.1.3 final packaging.
lsm and spec files updated.
Changelog added.
Copyright year updated (2018 > 2019)
With this version, the user will be able to select different color
palettes to draw the SVG graphs with sadf. One of those palettes can be
fully customized using an environment variable (S_COLORS_PALETTE).
This version also adds a new flag (-f) to sadc to force fdatasync() use
when data are written (this feature has been contributed by Kyle
Walker).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 15 Feb 2019 09:11:25 +0000 (10:11 +0100)]
Update NLS translations
Sync with the Translation Project.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
GODARD Sebastien [Sat, 9 Feb 2019 10:51:52 +0000 (11:51 +0100)]
Merge pull request #209 from Joungkyun/master
update korean translate (ko.po)
JoungKyun Kim [Wed, 6 Feb 2019 16:34:32 +0000 (01:34 +0900)]
updated Korean translation file with pot file from 2018-12-14
Sebastien GODARD [Sat, 2 Feb 2019 09:01:38 +0000 (10:01 +0100)]
Merge branch 'kyle-walker-fdatasync'
Kyle Walker [Wed, 30 Jan 2019 12:50:55 +0000 (07:50 -0500)]
sadc: Add a -f flag to force fdatasync() use
For quite some time, the sadc utility has not used fdatasync() when writing
stat information to disk. This resulted in instances where data files could
be corrupted or entries lost if a system encountered a sudden reset
condition. This change adds a "-f" flag which can be used to bring back the
previous behaviour if end users require it.
Note, the fdatasync() lowers the likelihood of lost data, but does so at
the expense of performance within the write operation.
Sebastien GODARD [Sun, 20 Jan 2019 13:31:41 +0000 (14:31 +0100)]
sadf: Update manual page
Explain how the color palette can be customized by the user
using the S_COLORS_PALETTE environment variable.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>