Skip to content

Commit 40e7744

Browse files
committed
sysstat 10.3.1
sysstat version 10.3.1 final packaging. lsm and spec files updated. Changelog added. .gitignore file updated. Various files cleaned (FIXME removed, etc.) Signed-off-by: Sebastien GODARD <[email protected]>
1 parent 7d539f9 commit 40e7744

File tree

7 files changed

+54
-28
lines changed

7 files changed

+54
-28
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ sysstat.cron.daily
1616
sysstat.cron.hourly
1717
sysstat.crond.sample
1818
sysstat.crond.sample.in
19+
cron/sysstat-collect.service
20+
cron/sysstat-collect.timer
21+
cron/sysstat-summary.service
22+
cron/sysstat-summary.timer
1923
contrib/isag/isag
2024
man/sa1.8
2125
man/sa2.8
@@ -26,6 +30,7 @@ man/sar.1
2630
man/iostat.1
2731
man/cifsiostat.1
2832
man/nfsiostat.1
33+
man/nfsiostat-sysstat.1
2934
*.log
3035
config.status
3136
autom4te.cache/
@@ -43,6 +48,7 @@ iostat
4348
mpstat
4449
pidstat
4550
nfsiostat
51+
nfsiostat-sysstat
4652
cifsiostat
4753
core
4854
TAGS

CHANGES

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
Changes:
22

3+
2014/03/18: Version 10.3.1 - Sebastien Godard (sysstat <at> orange.fr)
4+
WARNING: Daily data files format has changed, and is *not*
5+
compatible with the previous one! [0x2173]
6+
* sar/sadc/sadf: Now take into account a change of CPU count
7+
in datafiles. The number of CPU is displayed in the RESTART
8+
messages.
9+
* DTD and XSD documents updated.
10+
* [Tomasz Torcz]: Add systemd timer units replacing cronjobs.
11+
* [Mike Kazantsev]: Fix output of sadf -j with file-utc-time present.
12+
* [Peter Portante]: sa2 script now also catches 'xz' compressed
13+
files as well.
14+
* Rename nfsiostat to nfsiostat-sysstat and indicate it is now
15+
obsolete. An nfsiostat command is already included in the
16+
nfs-utils package.
17+
* When attempting to use a non existent daily datafile, sar and
18+
sadf tell the user to check if data collecting is enabled.
19+
* sadf -H now displays the number of activities in file.
20+
* nfsiostat manual page updated.
21+
* FAQ updated.
22+
* README file updated.
23+
* NLS updated.
24+
325
2014/01/19: Version 10.2.1 - Sebastien Godard (sysstat <at> orange.fr)
426
* Added new --enable-copy-only option to configure script.
527
This option may be useful when creating sysstat package to

README

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ INSTALLATION
1414
------------
1515

1616
The sysstat utilities are a collection of performance monitoring tools for
17-
Linux. These include mpstat, iostat, nfsiostat, cifsiostat, pidstat, sar,
18-
sadc, sadf and sa tools.
17+
Linux. These include mpstat, iostat, nfsiostat-sysstat, cifsiostat, pidstat,
18+
sar, sadc, sadf and sa tools.
1919

2020
The first stage is to configure sysstat for your system:
2121

@@ -65,7 +65,7 @@ ${PREFIX}/bin/sadf
6565
${PREFIX}/bin/iostat
6666
${PREFIX}/bin/mpstat
6767
${PREFIX}/bin/pidstat
68-
${PREFIX}/bin/nfsiostat
68+
${PREFIX}/bin/nfsiostat-sysstat
6969
${PREFIX}/bin/cifsiostat
7070
${PREFIX}(/share)/man/man8/sadc.8
7171
${PREFIX}(/share)/man/man8/sa1.8
@@ -75,7 +75,7 @@ ${PREFIX}(/share)/man/man1/sadf.1
7575
${PREFIX}(/share)/man/man1/iostat.1
7676
${PREFIX}(/share)/man/man1/mpstat.1
7777
${PREFIX}(/share)/man/man1/pidstat.1
78-
${PREFIX}(/share)/man/man1/nfsiostat.1
78+
${PREFIX}(/share)/man/man1/nfsiostat-sysstat.1
7979
${PREFIX}(/share)/man/man1/cifsiostat.1
8080
${PREFIX}/share/locale/*/LC_MESSAGES/sysstat.mo
8181
${PREFIX}/share/doc/sysstat-x.y.z/*
@@ -103,7 +103,7 @@ MISCELLANEOUS
103103
The sysstat commands are only front-ends to the kernel proc filesystem...
104104
They cannot display statistics that Linux does not
105105
provide, nor can they be more accurate than Linux is.
106-
The sysstat package now only supports 2.6.x kernels.
106+
The sysstat package no longer supports 2.4.x and older kernels.
107107
Note that all kernels do not necessarily have all the statistics that
108108
sysstat commands can display, depending on their version or their
109109
configuration options.

sa_common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ void check_file_actlst(int *ifd, char *dfile, struct activity *act[],
12541254
* @act Array of activities.
12551255
* @act_nr Number of items for current volatile activity.
12561256
* @act_id Activity identification for current volatile activity.
1257-
*
1257+
*
12581258
* RETURN:
12591259
* -1 if unknown activity and 0 otherwise.
12601260
***************************************************************************
@@ -1289,10 +1289,10 @@ int reallocate_vol_act_structures(struct activity *act[], unsigned int act_nr,
12891289
* @file Name of file being read.
12901290
* @file_magic file_magic structure filled with file magic header data.
12911291
* @vol_act_nr Number of volatile activities structures to read.
1292-
*
1292+
*
12931293
* RETURNS:
12941294
* New number of items.
1295-
*
1295+
*
12961296
* NB: As only activities related to CPU can be volatile, the new number of
12971297
* items corresponds in fact to the new number of CPU.
12981298
***************************************************************************

sadf.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ int write_textual_stats(int curr, int use_tm_start, int use_tm_end, int reset,
781781
* @loctime Structure where timestamp (expressed in local time)
782782
* can be saved for current record.
783783
* @file Name of file being read.
784-
* @file_magic file_magic structure filled with file magic header
784+
* @file_magic file_magic structure filled with file magic header
785785
* data.
786786
***************************************************************************
787787
*/
@@ -938,12 +938,12 @@ void rw_curr_act_stats(int ifd, off_t fpos, int *curr, long *cnt, int *eosaf,
938938
/*
939939
***************************************************************************
940940
* Save or restore number of items for all known activities.
941-
*
941+
*
942942
* IN:
943943
* @save_act_nr Array containing number of items to restore for each
944944
* activity.
945945
* @action DO_SAVE to save number of items, or DO_RESTORE to restore.
946-
*
946+
*
947947
* OUT:
948948
* @save_act_nr Array containing number of items saved for each activity.
949949
***************************************************************************
@@ -1164,7 +1164,6 @@ void textual_display_loop(int ifd, struct file_activity *file_actlst, char *dfil
11641164
* for this position in file.
11651165
*/
11661166
sr_act_nr(save_act_nr, DO_RESTORE);
1167-
/* allocate_cpu_structures(act, save_cpu_nr);*/ /* FIXME */
11681167

11691168
/* Process now RESTART entries to display restart messages */
11701169
if (*fmt[f_position]->f_restart) {
@@ -1181,7 +1180,6 @@ void textual_display_loop(int ifd, struct file_activity *file_actlst, char *dfil
11811180
/* Read new CPU count */
11821181
new_cpu_nr = read_vol_act_structures(ifd, act, file, file_magic,
11831182
file_hdr.sa_vol_act_nr);
1184-
/* new_cpu_nr = read_new_cpu_nr(ifd, act); */ /* FIXME */
11851183

11861184
/* Display RESTART records */
11871185
write_textual_restarts(0, tm_start.use, tm_end.use, tab,
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Begin4
2-
Title: sysstat - the sar, sadf, mpstat, iostat, nfsiostat, cifsiostat and pidstat commands for Linux
3-
Version: 10.2.1
4-
Entered-date: 2014-01-19
2+
Title: sysstat - the sar, sadf, mpstat, iostat, nfsiostat-sysstat, cifsiostat and pidstat commands for Linux
3+
Version: 10.3.1
4+
Entered-date: 2014-03-18
55
Description: The sysstat package contains the sar, sadf, mpstat, iostat,
6-
pidstat, nfsiostat, cifsiostat and sa tools for Linux.
6+
pidstat, nfsiostat-sysstat, cifsiostat and sa tools for Linux.
77
The sar command collects and reports system activity
88
information.
99
The information collected by sar can be saved in a file
@@ -19,20 +19,20 @@ Description: The sysstat package contains the sar, sadf, mpstat, iostat,
1919
is used to display data collected by sar in various
2020
formats (XML, database-friendly, etc.).
2121
The pidstat command reports statistics for Linux tasks (processes).
22-
The nfsiostat command reports I/O statistics for network filesystems.
22+
The nfsiostat-sysstat command reports I/O statistics for network filesystems.
2323
The cifsiostat command reports I/O statistics for CIFS filesystems.
2424
NB: Send bugs, patches, suggestions and/or questions to
2525
(sysstat [at] orange.fr).
2626
URL: http://pagesperso-orange.fr/sebastien.godard/
27-
Keywords: system administration, sar, sadf, iostat, mpstat, pidstat, nfsiostat, cifsiostat, system accounting, performance, tuning
27+
Keywords: system administration, sar, sadf, iostat, mpstat, pidstat, nfsiostat-sysstat, cifsiostat, system accounting, performance, tuning
2828
Author: sysstat [at] orange.fr (Sebastien Godard)
2929
Maintained-by: sysstat [at] orange.fr (Sebastien Godard)
3030
Primary-site: http://pagesperso-orange.fr/sebastien.godard/
31-
384kB sysstat-10.2.1.tar.gz
32-
302kB sysstat-10.2.1.tar.bz2
33-
274kB sysstat-10.2.1.tar.xz
34-
388kB sysstat-10.2.1-1.src.rpm
35-
257kB sysstat-10.2.1-1.x86_64.rpm
31+
388kB sysstat-10.3.1.tar.gz
32+
307kB sysstat-10.3.1.tar.bz2
33+
278kB sysstat-10.3.1.tar.xz
34+
392kB sysstat-10.3.1-1.src.rpm
35+
259kB sysstat-10.3.1-1.x86_64.rpm
3636
Alternate-site:
3737
Copying-policy: GPL
3838
End

sysstat-10.2.1.spec renamed to sysstat-10.3.1.spec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Summary: SAR, SADF, MPSTAT, IOSTAT, NFSIOSTAT, CIFSIOSTAT and PIDSTAT for Linux
1+
Summary: SAR, SADF, MPSTAT, IOSTAT, NFSIOSTAT-SYSSTAT, CIFSIOSTAT and PIDSTAT for Linux
22
Name: sysstat
3-
Version: 10.2.1
3+
Version: 10.3.1
44
Release: 1
55
License: GPL
66
Group: Applications/System
@@ -12,7 +12,7 @@ Requires: gettext
1212

1313
%description
1414
The sysstat package contains the sar, sadf, mpstat, iostat, pidstat,
15-
nfsiostat, cifsiostat and sa tools for Linux.
15+
nfsiostat-sysstat, cifsiostat and sa tools for Linux.
1616
The sar command collects and reports system activity information.
1717
The information collected by sar can be saved in a file in a binary
1818
format for future inspection. The statistics reported by sar concern
@@ -25,7 +25,7 @@ various formats (CSV, XML, etc.).
2525
The iostat command reports CPU utilization and I/O statistics for disks.
2626
The mpstat command reports global and per-processor statistics.
2727
The pidstat command reports statistics for Linux tasks (processes).
28-
The nfsiostat command reports I/O statistics for network filesystems.
28+
The nfsiostat-sysstat command reports I/O statistics for network filesystems.
2929
The cifsiostat command reports I/O statistics for CIFS filesystems.
3030

3131
%prep

0 commit comments

Comments
 (0)