update to 9.0.4

This commit is contained in:
Ivana Varekova 2009-07-20 07:00:21 +00:00
parent b30944895f
commit c3e57bd77b
4 changed files with 6 additions and 33 deletions

View File

@ -1 +1 @@
sysstat-9.0.3.tar.bz2 sysstat-9.0.4.tar.bz2

View File

@ -1 +1 @@
5e62331a0d7757dcc2354c5945102462 sysstat-9.0.3.tar.bz2 4ecde27986c3745a363a95e34cf897c8 sysstat-9.0.4.tar.bz2

View File

@ -1,28 +0,0 @@
diff -up sysstat-9.0.3/iostat.c.pom sysstat-9.0.3/iostat.c
--- sysstat-9.0.3/iostat.c.pom 2009-04-16 18:30:27.000000000 +0200
+++ sysstat-9.0.3/iostat.c 2009-05-28 11:49:45.000000000 +0200
@@ -825,8 +825,10 @@ void read_diskstats_stat(int curr)
else if (i == 7) {
/* Partition without extended statistics */
if (DISPLAY_EXTENDED(flags) ||
- (!dlist_idx && !DISPLAY_PARTITIONS(flags)))
- continue;
+ (!dlist_idx && !DISPLAY_PARTITIONS(flags))) {
+ fprintf(stderr, _("Your kernel does not produce data for partition extended statistics\n"));
+ exit(1);
+ }
sdev.rd_ios = rd_ios;
sdev.rd_sectors = rd_merges_or_rd_sec;
diff -up sysstat-9.0.3/man/iostat.1.pom sysstat-9.0.3/man/iostat.1
--- sysstat-9.0.3/man/iostat.1.pom 2009-04-16 18:01:06.000000000 +0200
+++ sysstat-9.0.3/man/iostat.1 2009-05-28 11:53:36.000000000 +0200
@@ -462,6 +462,8 @@ and all its partitions are displayed. La
keyword indicates that statistics have to be displayed for all the block
devices and partitions defined by the system, including those that have
never been used.
+Some kernels does not produce extended statistic for partitions so then.
+the combination of -p and -x options return an error.
Note that this option works only with post 2.5 kernels.
.IP -t
Print the time for each report displayed. The timestamp format may depend

View File

@ -1,12 +1,11 @@
Name: sysstat Name: sysstat
Version: 9.0.3 Version: 9.0.4
Release: 1%{?dist} Release: 1%{?dist}
Summary: The sar and iostat system monitoring commands Summary: The sar and iostat system monitoring commands
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://perso.orange.fr/sebastien.godard/ URL: http://perso.orange.fr/sebastien.godard/
Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2 Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2
Patch3: sysstat-8.0.4-procdisksts.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -22,7 +21,6 @@ activity.
%prep %prep
%setup -q %setup -q
#%patch3 -p1 -b .diskst
iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux
mv CREDITS.aux CREDITS mv CREDITS.aux CREDITS
@ -74,6 +72,9 @@ rm -rf %{buildroot}
%{_localstatedir}/log/sa %{_localstatedir}/log/sa
%changelog %changelog
* Mon Jul 20 2009 Ivana Varekova <varekova@redhat.com> - 9.0.4-1
- update to 9.0.4
* Thu May 28 2009 Ivana Varekova <varekova@redhat.com> - 9.0.3-1 * Thu May 28 2009 Ivana Varekova <varekova@redhat.com> - 9.0.3-1
- update to 9.0.3 - update to 9.0.3
- remove obsolete patches - remove obsolete patches