]>
granicus.if.org Git - sysstat/log
Sebastien GODARD [Sun, 20 Sep 2015 16:57:00 +0000 (18:57 +0200)]
Starting sysstat 11.1.8
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 20 Sep 2015 16:50:51 +0000 (18:50 +0200)]
sysstat-11.1.7
sysstat version 11.1.7 final packaging.
lsm and spec files updated.
Changelog added.
CREDITS file updated.
Cosmetic changes in source code.
NOTE: A stable version (11.0.7) also exists and will be available for
download from my web site:
http://pagesperso-orange.fr/sebastien.godard/
The stable version includes only the bug fixes added in sysstat 11.1.7
but not the new features.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 20 Sep 2015 16:49:05 +0000 (18:49 +0200)]
NLS: Sync with Translation Project
Various translations updated.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 18 Sep 2015 07:06:56 +0000 (09:06 +0200)]
Add S_COLORS variable definition in man pages
Update iostat, mpstat and sar manual pages to define S_COLORS
environment variable (used to enable color display).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 18 Sep 2015 07:02:06 +0000 (09:02 +0200)]
count.c: Fix CID29708 "Overflowed return value"
Rewrite code to quieten Coverity about a supposed "overflowed return
value".
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Julian Taylor [Wed, 16 Sep 2015 13:22:53 +0000 (15:22 +0200)]
sagraph2: fix MB/s units and help typo
bread/s returns blocks so assuming 512bytes per block:
MB = bread * 512 / 1024 / 1024 = bread / 2 / 1024
not
MB = bread * 2 / 1024
Sebastien GODARD [Wed, 16 Sep 2015 08:20:32 +0000 (10:20 +0200)]
sar: Add color for statistics
Add color support for statistics displayed by sar.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Wed, 16 Sep 2015 06:06:55 +0000 (08:06 +0200)]
Color support: Improve detection of zero values
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 14 Sep 2015 16:56:06 +0000 (18:56 +0200)]
sar: Initial color support
Add color support for restart messages and comments displayed by sar.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 13 Sep 2015 13:11:43 +0000 (15:11 +0200)]
iostat, mpstat: Color enhancements
Display items (device names, CPU number) using color for iostat and
mpstat.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 13 Sep 2015 13:06:07 +0000 (15:06 +0200)]
Improve color support
Change some color escape sequences (faint colors were not supported on
some terminals).
Some rounded values were displayed as "0.00" and printed using color
reserved for non zero values. Fix this.
Add function to print item names using color.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 13 Sep 2015 09:49:32 +0000 (11:49 +0200)]
mpstat: Initial color support
Add color support for statistics displayed by mpstat.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 13 Sep 2015 08:57:51 +0000 (10:57 +0200)]
Disable color output if stdout is not a terminal
Don't color output if it's redirected to a pipe or a file.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 12 Sep 2015 15:03:21 +0000 (17:03 +0200)]
iostat: Initial color support
Add color support for statistics displayed by iostat.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 12 Sep 2015 14:50:50 +0000 (16:50 +0200)]
Add color support: Common functions and definitions
Add color support.
Colors will be used when S_COLORS environment variable is set (later,
this variable could contain the path to a file to allow user to cutomize
colors).
For now, a value of zero will be printed in faint yellow, whereas a non
zero value will be printed in bold yellow.
Percentages values are handled differently when they are greater than
50: A value greater than 75% is printed in bold red, or printed in bold
blue if greater than 50%.
Each sysstat command needs now to be modified to take into account these
new rules.
Colorization could also be applied to time stamps, headers, etc.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 5 Sep 2015 14:29:51 +0000 (16:29 +0200)]
Make sysstat build on musl (non-glibc) environment
Building sysstat on musl needs two additional header files in common.h:
<limits.h>
<sys/sysmacros.h> (add an autoconf check for this because I don't know
whether all platforms have it)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 4 Sep 2015 08:41:21 +0000 (10:41 +0200)]
sa2: DATE cannot be set when DATE_OPTS variable is empty
When variable DATE_OPTS is empty, setting DATE fails with:
date: extra operand ā+%dā
Try 'date --help' for more information.
Removing quotes fixes the problem.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 4 Sep 2015 08:21:48 +0000 (10:21 +0200)]
Update sysstat(5) manual page
Document REPORTS variable.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 4 Sep 2015 08:11:17 +0000 (10:11 +0200)]
Add sa2 option to avoid sarDD report generation
There was no possibility to disable report generation without
modifying sa2 script.
So add a new variable (REPORTS) to sysstat configuration file which can
be set to false to disable reports generation.
Close #81.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 4 Sep 2015 07:13:43 +0000 (09:13 +0200)]
Fix issue with iostat not showing the full device name
The name of a device displayed by iostat may be truncated when it is
long (more than 72 characters).
Increase the MAX_NAME_LEN to 128.
Example with docker containers:
> iostat -N
Linux 3.10.0-229.el7.x86_64 (rhel70) 28/08/15 _x86_64_
(8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.02 0.00 0.01 0.01 0.05 99.91
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
vda 0.42 4.53 8.60 473380 899091
rhel-root 0.35 4.29 8.53 448487 891062
rhel-swap 0.02 0.02 0.06 2360 5956
docker-253:0-
17798675 -pool 0.01 0.11 0.01 11487
888
docker-253:0-
17798675 -
985108281c9f035f9301fb9e80c07865e84c4e5565d4dd65a
0.01 0.08 0.00 8645 4
> dmsetup info -c
Name
Maj Min Stat Open Targ Event UUID
docker-253:0-
17798675 -pool
253 2 L--w 1 1 0
docker-253:0-
17798675 -
985108281c9f035f9301fb9e80c07865e84c4e5565d4dd65a93a21cfac77eccd
253 3 L--w 1 1 0
rhel-swap
253 1 L--w 2 1 0
LVM-BcxsLXSCKtor2qgE7tHCdf9coPGGAvWYYhAPhuPG9Pvuu7b2ABFxlObdBTVtCf3x
rhel-root
253 0 L--w 1 1 0
LVM-BcxsLXSCKtor2qgE7tHCdf9coPGGAvWYvCpyursTrgSff1q23gtg4m7EVpmeQVvl
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 29 Aug 2015 05:54:58 +0000 (07:54 +0200)]
Merge branch 'pschiffe-pidstat-100'
Peter Schiffer [Fri, 28 Aug 2015 11:03:01 +0000 (13:03 +0200)]
Added realloc_pid() also to the read_task_stats() fn
Sebastien GODARD [Fri, 28 Aug 2015 09:35:57 +0000 (11:35 +0200)]
tapestat: Check fscanf() return value
Fix defects 107300, 107299 and 107298 found by Coverity scan.
Signed-off-by: Shane M. SEYMOUR <shane.seymour@hp.com>
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Peter Schiffer [Thu, 27 Aug 2015 15:52:53 +0000 (17:52 +0200)]
Pidstat outputs values > 100% for %CPU
On systems with many short living processes pidstat could run out of
pre-allocated space for PIDs. This patch increases NR_PID_PREALLOC constant so
more space for PIDs is pre-allocated, but also adds possibility to re-allocate
this space if needed.
Sebastien GODARD [Wed, 26 Aug 2015 19:07:59 +0000 (21:07 +0200)]
tapestat: Fix issue when st driver is unloaded then loaded again
tapestat didn't look for the stats dropping back to zero when the st
driver is unloaded then loaded again, so you get one really line of
really large values when that happens. Fix this problem by
adding a check to see if the new stats are less than the old ones and
marking any tape where that happens as having invalid stats. The
information for that drive will disappear until we have all valid stats
again (it's the test for read_time, write_time, and other_time)
The test is only needed for those three since if any of them are less than
the previously read stats someone has unloaded and reloaded the driver
since that's the only time they can reduce in value).
Signed-off-by: Shane M. SEYMOUR <shane.seymour@hp.com>
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Tue, 25 Aug 2015 19:18:57 +0000 (21:18 +0200)]
Fix header files included in tapestat
The list of files included in tapestat needs some changes:
- regexp.h is deprecated, use regex.h instead
- strncmp needs string.h
- sigaction/SIGALRM needs signal.h
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 24 Aug 2015 15:55:43 +0000 (17:55 +0200)]
Starting sysstat 11.1.7
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 24 Aug 2015 15:49:24 +0000 (17:49 +0200)]
sysstat-11.1.6
sysstat version 11.1.6 final packaging.
lsm and spec files updated.
Changelog added.
CREDITS file updated.
.gitignore and README files updated to take into account new tapestat
command.
NOTE: A stable version (11.0.6) also exists and will be available for
download from my web site:
http://pagesperso-orange.fr/sebastien.godard/
The stable version includes only the bug fixes added in sysstat 11.1.6
but not the new features.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 24 Aug 2015 15:47:22 +0000 (17:47 +0200)]
NLS: Sync with Translation Project
Various translations updated.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 24 Aug 2015 11:37:26 +0000 (13:37 +0200)]
tapestat: Cosmetic fixes
tapestat now quits immediately when no tapes are found.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 24 Aug 2015 05:53:08 +0000 (07:53 +0200)]
Update tapestat manual page
Add some more explanations to tapestat manual page.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 23 Aug 2015 06:37:52 +0000 (08:37 +0200)]
Add tapestat manual page
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 23 Aug 2015 06:36:50 +0000 (08:36 +0200)]
Update Makefile to take into account tapestat command
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 23 Aug 2015 06:31:11 +0000 (08:31 +0200)]
Add new "tapestat" command
tapestat is a new command aimed at displaying statistics for tape drives
connected to the system.
Contributed by Shane SEYMOUR from HP..
Signed-off-by: Shane M. SEYMOUR <shane.seymour@hp.com>
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 21 Aug 2015 13:31:06 +0000 (15:31 +0200)]
Update iostat manual page
Remove redundant explanation in manual page.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 21 Aug 2015 13:30:28 +0000 (15:30 +0200)]
iostat: Fix typo in comment
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 15 Aug 2015 12:39:21 +0000 (14:39 +0200)]
Check /proc/net/snmp format for ICMP statistics
"InCsumErrors" field was added following "InErrors" in the ICMP line of
statistics. So we may have two different formats to deal with: The old
one, where "InCsumErrors" doesn't exist, and the new one including
"InCsumErrors" field.
This patch adds a check to know which format it is and read the various
statistics at their right position.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 15 Aug 2015 11:49:33 +0000 (13:49 +0200)]
Merge branch 'beejeebus-snmp_fix'
beejeebus [Mon, 3 Aug 2015 17:00:48 +0000 (13:00 -0400)]
Adjust fields captured by when scanning /proc/net/snmp for ICMP stats. Fixes #77.
Sebastien GODARD [Tue, 14 Jul 2015 07:53:54 +0000 (09:53 +0200)]
sadc: Fix untrusted value used as argument
Variable file_magic.header_size was used as argument though its value
hadn't been checked before.
Fix this.
CID #29720.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 13 Jul 2015 15:13:11 +0000 (17:13 +0200)]
ioconf.c: Fix several ressource leaks
Some pointers were sometimes not freed, resulting in ressource leaks.
This patch fixes that.
CID #29711 #29712 #29713.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 13 Jul 2015 14:08:17 +0000 (16:08 +0200)]
Fix ressource leak in sa_conv.c
The program could exit without freeing variable buffer. Yet this
variable could have been allocated on a previous iteration in the loop.
So free it before leaving.
CID #101316.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 13 Jul 2015 13:46:15 +0000 (15:46 +0200)]
mpstat: Fix alignment output for mpstat -I {CPU,SCPU}
Commit
8ac5760 didn't cover all the cases properly (interrupts whose
name has between 11 and 13 characters).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 Jul 2015 13:54:07 +0000 (15:54 +0200)]
Update iostat manual page
Update iostat manual page to indicate that option -T has been replaced
by -H.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 Jul 2015 13:51:45 +0000 (15:51 +0200)]
iostat: Rename option -T to -H
iostat's option -T has been renamed to -H.
Option -T is now reserved for future use (tape statistics, which are
soon to be added to iostat).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 9 Jul 2015 14:25:04 +0000 (16:25 +0200)]
Merge branch 'Tuplanolla-isag-race-fix'
Sampsa Kiiskinen [Thu, 9 Jul 2015 13:55:37 +0000 (16:55 +0300)]
Turns out the bug was in isag and not sysstat.
I rewrote the comments to explain the situation, but
kept the change, because it is isag's responsibility to
take the potential problem into account.
Sampsa Kiiskinen [Wed, 8 Jul 2015 13:12:21 +0000 (16:12 +0300)]
Worked around a race condition in sysstat.
There is a race condition in sysstat that
sometimes causes it to record events that
happen at 23:59:59 as if they actually happened at 00:00:00 and
they end up in the report for the wrong day.
This change prevents isag from choking on the bug.
Sebastien GODARD [Sun, 14 Jun 2015 07:18:21 +0000 (09:18 +0200)]
Merge branch 'usage' of https://github.com/stevekay/sysstat
Sebastien GODARD [Sun, 14 Jun 2015 07:15:40 +0000 (09:15 +0200)]
Rename DTD file
This is version 3.1 of the DTD document, and so the file should be
renamed accordingly.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Steve Kay [Fri, 12 Jun 2015 21:45:36 +0000 (14:45 -0700)]
Revise sar usage messages to be -F MOUNT rather than -F MOUNTS, in order to match man page and program functionality.
Sebastien GODARD [Fri, 12 Jun 2015 10:35:54 +0000 (12:35 +0200)]
Starting sysstat 11.1.6
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Jun 2015 10:29:07 +0000 (12:29 +0200)]
sysstat-11.1.5
sysstat version 11.1.5 final packaging.
lsm and spec files updated.
Changelog added.
NOTE: A stable version (11.0.5) also exists and will be available for
download from my web site:
http://pagesperso-orange.fr/sebastien.godard/
The stable version includes only the bug fixes added in sysstat 11.1.5
but not the new features.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Jun 2015 09:58:53 +0000 (11:58 +0200)]
NLS: Sync with Translation Project
Sync with Translation Project. Various languages updated.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Steve Kay [Wed, 10 Jun 2015 21:31:06 +0000 (14:31 -0700)]
Replace non printable characters in comments
Replace non printable characters in comments with a '.' whenever
comments are read from file.
Signed-off-by: Steve Kay <stevekay@gmail.com>
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 12 Jun 2015 08:53:33 +0000 (10:53 +0200)]
Add comment in ioconf.c
Just to indicate that there is no missing 'break' statement...
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 5 Jun 2015 14:01:10 +0000 (16:01 +0200)]
Update FAQ
Mention sysstat_mail_report, a new program based on sysstat which can
send reports with graphs generated from sysstat data.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 5 Jun 2015 13:43:03 +0000 (15:43 +0200)]
sa_conv.c: Fix null pointer dereference
A malformed system activity datafile can lead to a null pointer being
dereferenced in sa_conv.c while trying to upgrade this datafile with
sadf -c.
CID#29707
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 5 Jun 2015 13:15:13 +0000 (15:15 +0200)]
cifsiostat: Fix possible integer overflowed argument
In io_sys_init(): cifs_nr is used as argument to calloc() function
though it may have a negative value (adding NR_CIFS_PREALLOC constant
may make it overflow). So test the value before using it.
CID#29709
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 22 May 2015 19:26:54 +0000 (21:26 +0200)]
sa_conv.c: Fix untrusted loop bound
Variable file_hdr.sa_act_nr was used to allocate memory and as
a loop boundary in upgrade_header_section() function.
Its value is read from an untrusted source, so check its value before
using it.
CID #29718.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 22 May 2015 19:06:09 +0000 (21:06 +0200)]
sa_common.c: Fix untrusted values used as arguments
In check_file_actlst() function: file_magic->header_size and
file_hdr->sa_act_nr values were used as arguments to allocate memory via
SREALLOC although they hadn't been tested before.
The argument could be controlled by an attacker, who could invoke the
function with arbitrary values (for example, a very high or negative
buffer size).
CID #29719.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 21 May 2015 19:40:40 +0000 (21:40 +0200)]
sadc.c: Fix time-of-check, time-of-use race condition
In open_ofile() function: the file's existence was checked (using the
access() syscall) before being opened if present. An attacker could
change the filename's file association or other attributes between the
check and use.
CID #29721.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Thu, 21 May 2015 19:27:30 +0000 (21:27 +0200)]
Merge branch 'ciz-master'
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Vitezslav Cizek [Wed, 20 May 2015 21:33:37 +0000 (23:33 +0200)]
When device-mapper isn't running,
but there is a device with major number 253,
sysstat halts because it can't open /dev/mapper.
So when device-mapper isn't found in /proc/devices,
assume it's not running at all.
Sebastien GODARD [Mon, 11 May 2015 06:31:53 +0000 (08:31 +0200)]
Update FAQ
Update FAQ to take into account the new message displayed by sar when
sar and sadc are not consistent.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 11 May 2015 06:28:19 +0000 (08:28 +0200)]
Fix untrusted loop bound in sar.c
Variable file_hdr.sa_act_nr was used as a loop boundary in
read_header_data() function. Its value is read from data sent by the
data collector (sadc). Check its value before using it.
Covery defect CID#29715.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Fri, 8 May 2015 14:29:44 +0000 (16:29 +0200)]
Typos and cosmetic fixes
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Tue, 5 May 2015 20:12:08 +0000 (22:12 +0200)]
Merge branch 'pschiffe-master'
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Peter Schiffer [Tue, 5 May 2015 13:55:47 +0000 (15:55 +0200)]
Use strncpy instead of strcpy in ioconf.c
Peter Schiffer [Tue, 5 May 2015 13:33:55 +0000 (15:33 +0200)]
Check value of variable "major" read from file
Variables "major" and "indirect" cannot be bigger than "MAX_BLKDEV" because they
are used as array index in "ioconf" and "ioc_refnr" arrays with size "MAX_BLKDEV
+ 1"
Peter Schiffer [Tue, 5 May 2015 13:09:45 +0000 (15:09 +0200)]
Fixed and simplified some math expressions in pr_stats.c
Please double check these changes.
Sebastien GODARD [Sun, 26 Apr 2015 12:27:22 +0000 (14:27 +0200)]
Use snprintf() instead of sprintf()1
Make sure that we don't use more characters than allocated for filename
string.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 26 Apr 2015 12:18:57 +0000 (14:18 +0200)]
Cosmetic fixes
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 13 Apr 2015 06:22:55 +0000 (08:22 +0200)]
Update DTD and XSD documents
Update DTD and XSD documents to take into account FC/HBA XML data.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 13 Apr 2015 06:06:23 +0000 (08:06 +0200)]
Update XML output for FC/HBA statistics
Include XML output for FC/HBA statistics within <network> section.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 14:32:22 +0000 (16:32 +0200)]
Update sar manual page
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 14:18:02 +0000 (16:18 +0200)]
FC/HBA statistics: Use constants whenever possible
Use constants for:
1) Name of /sys files
2) "FC" keyword
3) FC host name length
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 13:33:51 +0000 (15:33 +0200)]
Update XML output for FC hosts statistics
Rename tags used in XML output for FC hosts to be consistent with names
displayed by sar.
Add tag per="second" in XML output.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 13:15:54 +0000 (15:15 +0200)]
Update functons used to count number of FC hosts
Update/improve functions used to count number of FC hosts:
1) Move code used to count hosts from sa_wrap.c to its normal location
(count.c).
2) Preallocate FC host structures to take into account a possibly
dynamically registerd host. No structures are allocated only if
/sys/class/fc_host directory is not found.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 12:43:24 +0000 (14:43 +0200)]
Update FC/HBA statistics display functions
Various fixes in function used to display FC/HBA statistics:
1) Only one function is necessary to display FC/HBA statistics. So
remove print_avg_fchost_stats() function.
2) At the end of the report, display average statistics per host, not a
summary.
3) Update column width used to display statistics (10 characters wide)
to be consistent with other activities display.
4) Move FCHOST column to the right because the host name length may be
greater than 10 characters.
5) Fix timestamp displayed with header line.
6) Remove extra carriage return at the end of display.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 09:10:15 +0000 (11:10 +0200)]
Merge branch 'jaunix-fcstats'
Sebastien GODARD [Sun, 12 Apr 2015 09:07:16 +0000 (11:07 +0200)]
Cosmetic fixes for FC/HBA statistics
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sun, 12 Apr 2015 07:44:30 +0000 (09:44 +0200)]
Merge branch 'fcstats' of https://github.com/jaunix/sysstat into jaunix-fcstats
Sebastien GODARD [Sat, 11 Apr 2015 14:52:05 +0000 (16:52 +0200)]
Document sar's option --sadc
Update sar manual page to document option --sadc.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 11 Apr 2015 14:38:43 +0000 (16:38 +0200)]
Add option --sadc to sar
This option tells the user which data collector will be called by sar.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Steve Kay [Tue, 7 Apr 2015 21:13:55 +0000 (14:13 -0700)]
Added reporting of FC stats in XML format.
Steve Kay [Tue, 7 Apr 2015 21:13:06 +0000 (14:13 -0700)]
Added handling of "-n FC" argument and FC HBA reading.
Steve Kay [Tue, 7 Apr 2015 21:12:05 +0000 (14:12 -0700)]
Added new activity for FC collection.
Steve Kay [Tue, 7 Apr 2015 21:11:16 +0000 (14:11 -0700)]
Added rendering of FC stats.
Steve Kay [Tue, 7 Apr 2015 21:10:15 +0000 (14:10 -0700)]
Add printing+reading of new FC stats.
Steve Kay [Tue, 7 Apr 2015 21:08:41 +0000 (14:08 -0700)]
Updated sar man page to include new "-n FC" option.
Steve Kay [Tue, 7 Apr 2015 21:08:17 +0000 (14:08 -0700)]
FC reporting in JSON format.
Steve Kay [Tue, 7 Apr 2015 21:07:11 +0000 (14:07 -0700)]
Add SYSFS_FCHBA /sys/class/fc_host directory.
Steve Kay [Tue, 7 Apr 2015 21:05:54 +0000 (14:05 -0700)]
Add new activity "fc_act".
Sebastien GODARD [Tue, 7 Apr 2015 20:20:02 +0000 (22:20 +0200)]
Starting sysstat 11.1.5
Update sysstat version number in configure script.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Tue, 7 Apr 2015 20:14:26 +0000 (22:14 +0200)]
sysstat 11.1.4
sysstat version 11.1.4 final packaging.
lsm and spec files updated.
Changelog added.
NOTE: A stable version (11.0.4) also exists and will be available for
download from my web site:
http://pagesperso-orange.fr/sebastien.godard/
The stable version includes only the bug fixes added in sysstat 11.1.4
but not the new features.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Tue, 7 Apr 2015 19:58:35 +0000 (21:58 +0200)]
NLS: Sync with Translation Project
Sync with Translation Project. Various languages updated.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Mon, 6 Apr 2015 15:58:25 +0000 (17:58 +0200)]
Add squeeze target to Makefile
Add handy "squeeze" target to Makefile, used to remove unneeded trailing
spaces and tabs in source code.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 4 Apr 2015 13:43:36 +0000 (15:43 +0200)]
Document YESTERDAY variable in sysstat(5) manual page
YESTERDAY variable can now be set in config file
(/etc/sysconfig/sysstat). So document it in sysstat(5) manual page.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Sebastien GODARD [Sat, 4 Apr 2015 13:35:49 +0000 (15:35 +0200)]
Merge branch 'remove_yesterday' of https://github.com/jimis/sysstat