Skip to content

Commit

Permalink
sysstat-11.1.7
Browse files Browse the repository at this point in the history
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:https://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 <[email protected]>
  • Loading branch information
sysstat committed Sep 20, 2015
1 parent 74cd6b4 commit 03d08ab
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 18 deletions.
19 changes: 19 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
Changes:

2015/09/20: Version 11.1.7 - Sebastien Godard (sysstat <at> orange.fr)
* Add color support for mpstat, iostat and sar commands.
* [Peter Schiffer]: Fix problem with pidstat output values > 100%
for %CPU [11.0.7].
* [Shane Seymour]: tapestat: Fix issue when st driver is unloaded
then loaded again.
* [Christian Neukirchen]: Fix header files included in tapestat.
* Make sysstat build on musl (non-glibc) environment.
* tapestat: Check fscanf() return values.
* [Alexis Solanas]: Fix issue with iostat not showing the full
device name [11.0.7].
* sa2: DATE couldn't be set when DATE_OPTS variable was empty.
Fix this.
* Add sa2 option to avoid sarDD report generation.
* [Julian Taylor]: sargraph2: Fix MB/s units and help typo.
* sysstat(5), iostat, mpstat and sar manual pages updated.
* NLS: Sync'd with Translation Project.
* CREDITS file updated.

2015/08/24: Version 11.1.6 - Sebastien Godard (sysstat <at> orange.fr)
* [Shane Seymour]: Added new "tapestat" command aimed at
displaying statistics for tape drives.
Expand Down
4 changes: 4 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ I would also thank the following people for their hints or bug reports
Gurinder Shergill <gurinder.shergill@hp[...].com>
Ladislav Hagara <ladislav.hagara@uno[...].cz>
Don Harrop <don@swb[...].com>
Mark Harvey <markh794@gma[...].com>
Vasant Hegde <hegdevasant@lin[...].com>
J�rgen Heinemann <heinemann.juergen@hjc[...].de>
Kei Ishida <ishida.kei@oss[...].jp>
Expand Down Expand Up @@ -205,6 +206,7 @@ I would also thank the following people for their hints or bug reports
Chris Morrow <cmorrow@ver[...].com>
David J. Morse <David_J_Morse@Del[...].com>
Hariprasad Nellitheertha <hari@in.[...].com>
Christian Neukirchen <chneukirchen@gma[...].com>
Muneyuki Noguchi <nogu.dev@gma[...].com>
Giulio Orsero <giulioo@pob[...].com>
Edouard G. Parmelan <edouard.parmelan@qua[...].fr>
Expand Down Expand Up @@ -233,8 +235,10 @@ I would also thank the following people for their hints or bug reports
Rod Skinner <rod.skinner@int[...].com>
Kevin C. Smallwood <kcs@lin[...].com>
Dick Snippe <Dick.Snippe@tec[...].nl>
Alexis Solanas <alexis@red[...].com>
Graham Swallow <gps@tri[...].uk>
Mike Sweger <mikesw@whi[...].net>
Julian Taylor <jtaylor.debian@goo[...].com>
Don Totten <dontotten@ibm[...].net>
Alexander Troosh <trush@yan[...].ru>
Stephen Tweedie <sct@red[...].com>
Expand Down
1 change: 0 additions & 1 deletion sar.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ void which_sadc(void)
exit(0);
}


/*
***************************************************************************
* SIGINT signal handler.
Expand Down
14 changes: 7 additions & 7 deletions sysstat-11.1.6.lsm → sysstat-11.1.7.lsm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Begin4
Title: sysstat - the sar, sadf, mpstat, iostat, tapestat, pidstat, nfsiostat-sysstat and cifsiostat commands for Linux
Version: 11.1.6
Entered-date: 2015-08-24
Version: 11.1.7
Entered-date: 2015-09-20
Description: The sysstat package contains the sar, sadf, mpstat, iostat, tapestat,
pidstat, nfsiostat-sysstat, cifsiostat and sa tools for Linux.
The sar command collects and reports system activity
Expand Down Expand Up @@ -31,11 +31,11 @@ Keywords: system administration, sar, sadf, iostat, tapestat, mpstat, pidstat, n
Author: sysstat [at] orange.fr (Sebastien Godard)
Maintained-by: sysstat [at] orange.fr (Sebastien Godard)
Primary-site: http:https://pagesperso-orange.fr/sebastien.godard/
437kB sysstat-11.1.6.tar.gz
354kB sysstat-11.1.6.tar.bz2
312kB sysstat-11.1.6.tar.xz
445kB sysstat-11.1.6-1.src.rpm
297kB sysstat-11.1.6-1.x86_64.rpm
439kB sysstat-11.1.7.tar.gz
357kB sysstat-11.1.7.tar.bz2
314kB sysstat-11.1.7.tar.xz
448kB sysstat-11.1.7-1.src.rpm
302kB sysstat-11.1.7-1.x86_64.rpm
Alternate-site:
Copying-policy: GPL
End
2 changes: 1 addition & 1 deletion sysstat-11.1.6.spec → sysstat-11.1.7.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: SAR, SADF, MPSTAT, IOSTAT, TAPESTAT, PIDSTAT, NFSIOSTAT-SYSSTAT and CIFSIOSTAT for Linux
Name: sysstat
Version: 11.1.6
Version: 11.1.7
Release: 1
License: GPL
Group: Applications/System
Expand Down
18 changes: 9 additions & 9 deletions tapestat.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,22 +200,22 @@ void tape_check_tapes_and_realloc(void)
/* Count again number of tapes */
new_max_tape_drives = get_max_tape_drives();

if ((new_max_tape_drives == 0) && (max_tape_drives == 0)) {
if ((new_max_tape_drives == 0) && (max_tape_drives == 0))
/* If there are no tape drives don't change anything */
return;
} else {
else {
if (new_max_tape_drives > max_tape_drives) {
/* New tapes found: Realloc structures */
tape_old_stats = (struct tape_stats *)
realloc(tape_old_stats, sizeof(struct tape_stats) * new_max_tape_drives);
tape_new_stats=(struct tape_stats *)
realloc(tape_new_stats, sizeof(struct tape_stats) * new_max_tape_drives);
if ((tape_old_stats == NULL) || (tape_new_stats == NULL)) {
if (tape_old_stats != NULL) {
if (tape_old_stats != NULL) {
free(tape_old_stats);
tape_old_stats = NULL;
}
if (tape_new_stats != NULL) {
if (tape_new_stats != NULL) {
free(tape_new_stats);
tape_new_stats = NULL;
}
Expand Down Expand Up @@ -437,8 +437,8 @@ void tape_write_stats(struct calc_stats *tape, int i)
" %11"PRId64" %3"PRId64" %3"PRId64" %3"PRId64
" %7"PRId64" %7"PRId64"\n", buffer,
tape->reads_per_second, tape->writes_per_second,
tape->kbytes_read_per_second/divisor,
tape->kbytes_written_per_second/divisor,
tape->kbytes_read_per_second / divisor,
tape->kbytes_written_per_second / divisor,
tape->read_pct_wait, tape->write_pct_wait,
tape->all_pct_wait, tape->resids_per_second,
tape->other_per_second);
Expand Down Expand Up @@ -514,14 +514,14 @@ void write_stats(int curr, struct tm *rectime)

/*
***************************************************************************
* Main loop: Read I/O stats from the relevant sources and display them.
* Main loop: Read tape stats from the relevant sources and display them.
*
* IN:
* @count Number of lines of stats to print.
* @rectime Current date and time.
***************************************************************************
*/
void rw_io_stat_loop(long int count, struct tm *rectime)
void rw_tape_stat_loop(long int count, struct tm *rectime)
{
struct tape_stats *tmp;
int curr = 1;
Expand Down Expand Up @@ -686,7 +686,7 @@ int main(int argc, char **argv)
alarm(interval);

/* Main loop */
rw_io_stat_loop(count, &rectime);
rw_tape_stat_loop(count, &rectime);

/* Free structures */
tape_uninitialise();
Expand Down

0 comments on commit 03d08ab

Please sign in to comment.