Hello community,
here is the log from the commit of package sysstat
checked in at Wed Nov 21 03:27:52 CET 2007.
--------
--- sysstat/sysstat.changes 2007-10-30 11:20:52.000000000 +0100
+++ /mounts/work_src_done/STABLE/sysstat/sysstat.changes 2007-11-20 15:12:05.000000000 +0100
@@ -1,0 +2,21 @@
+Tue Nov 20 15:11:12 CET 2007 - prusnak@suse.cz
+
+- updated to 8.0.3
+ * mpstat and sar didn't parse /proc/interrupts correctly when
+ some CPUs had been disabled. This is now fixed.
+ * fixed a bug in pidstat where a confusion between PID and TID
+ could sometimes happen, resulting in erroneous statistics
+ values being displayed.
+ * iconfig script updated: Help for --enable-compress-manpg
+ parameter is now available, help for --enable-install-cron
+ parameter updated, added parameter cron_interval.
+ * sa2 shell script can now compress sar data files using bzip2.
+ * Makefile updated: Now also remove sysstat.crond.sample.in.
+ Documentation is installed in $prefix/share/doc/ instead of
+ $prefix/doc/ directory.
+ * isag updated
+ * FAQ updated
+ * CREDITS file updated
+ * sysstat's URL updated
+
+-------------------------------------------------------------------
Old:
----
sysstat-8.0.2-clock.diff
sysstat-8.0.2-msg.diff
sysstat-8.0.2-pagesize.diff
sysstat-8.0.2-sa1sa2lock.diff
sysstat-8.0.2-sysconfdir.diff
sysstat-8.0.2.tar.bz2
New:
----
sysstat-8.0.3-clock.diff
sysstat-8.0.3-msg.diff
sysstat-8.0.3-pagesize.diff
sysstat-8.0.3-sa1sa2lock.diff
sysstat-8.0.3-sysconfdir.diff
sysstat-8.0.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sysstat.spec ++++++
--- /var/tmp/diff_new_pack.k25402/_old 2007-11-21 03:27:45.000000000 +0100
+++ /var/tmp/diff_new_pack.k25402/_new 2007-11-21 03:27:45.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package sysstat (Version 8.0.2)
+# spec file for package sysstat (Version 8.0.3)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,7 +11,7 @@
# norootforbuild
Name: sysstat
-Version: 8.0.2
+Version: 8.0.3
Release: 1
PreReq: %insserv_prereq %fillup_prereq
BuildRequires: findutils sed
@@ -20,7 +20,7 @@
AutoReqProv: on
Group: System/Monitoring
License: GPL v2 or later
-Url: http://perso.wanadoo.fr/sebastien.godard/
+Url: http://pagesperso-orange.fr/sebastien.godard/
Summary: Sar and Iostat Commands for Linux
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-SUSE.tar.bz2
@@ -92,7 +92,7 @@
cp -a SUSE/* $RPM_BUILD_ROOT
cp contrib/isag/isag $RPM_BUILD_ROOT%{_bindir}
cp contrib/isag/isag.1 $RPM_BUILD_ROOT%{_mandir}/man1
-rm -rf $RPM_BUILD_ROOT/usr/doc/sysstat*
+rm -rf $RPM_BUILD_ROOT/usr/share/doc/sysstat*
mkdir -p $RPM_BUILD_ROOT%{_sbindir}
ln -fs /etc/init.d/sysstat $RPM_BUILD_ROOT%{_sbindir}/rcsysstat
%{find_lang} %{name}
@@ -138,6 +138,24 @@
%{_bindir}/isag
%doc %{_mandir}/man1/isag*
%changelog
+* Tue Nov 20 2007 - prusnak@suse.cz
+- updated to 8.0.3
+ * mpstat and sar didn't parse /proc/interrupts correctly when
+ some CPUs had been disabled. This is now fixed.
+ * fixed a bug in pidstat where a confusion between PID and TID
+ could sometimes happen, resulting in erroneous statistics
+ values being displayed.
+ * iconfig script updated: Help for --enable-compress-manpg
+ parameter is now available, help for --enable-install-cron
+ parameter updated, added parameter cron_interval.
+ * sa2 shell script can now compress sar data files using bzip2.
+ * Makefile updated: Now also remove sysstat.crond.sample.in.
+ Documentation is installed in $prefix/share/doc/ instead of
+ $prefix/doc/ directory.
+ * isag updated
+ * FAQ updated
+ * CREDITS file updated
+ * sysstat's URL updated
* Tue Oct 30 2007 - prusnak@suse.cz
- updated to 8.0.2
* option -w added to pidstat. pidstat can now display task
++++++ sysstat-8.0.2-clock.diff -> sysstat-8.0.3-clock.diff ++++++
++++++ sysstat-8.0.2-msg.diff -> sysstat-8.0.3-msg.diff ++++++
++++++ sysstat-8.0.2-pagesize.diff -> sysstat-8.0.3-pagesize.diff ++++++
++++++ sysstat-8.0.2-sa1sa2lock.diff -> sysstat-8.0.3-sa1sa2lock.diff ++++++
++++++ sysstat-8.0.2-sysconfdir.diff -> sysstat-8.0.3-sysconfdir.diff ++++++
++++++ sysstat-8.0.2.tar.bz2 -> sysstat-8.0.3.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/compressafter new/sysstat-8.0.3/build/compressafter
--- old/sysstat-8.0.2/build/compressafter 2007-02-10 15:52:55.000000000 +0100
+++ new/sysstat-8.0.3/build/compressafter 2007-11-12 18:55:54.000000000 +0100
@@ -1,7 +1,7 @@
To prevent sar daily datafiles from taking to much space on disk, you can
-ask the sa2 shell script to compress them (using gzip) after a certain
-amount of time.
+ask the sa2 shell script to compress them (using gzip or bzip2) after a
+certain amount of time.
Answer here the number of days after which datafiles are to be compressed
(default value is 10 days).
Note that this parameter is saved in the /etc/sysconfig/sysstat file.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/compress-man new/sysstat-8.0.3/build/compress-man
--- old/sysstat-8.0.2/build/compress-man 2007-03-22 15:46:27.000000000 +0100
+++ new/sysstat-8.0.3/build/compress-man 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-
-Answer y if you want sysstat manual pages to be compressed (using bzip2 or
-gzip) when they are installed.
-Default answer is n here.
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/compress-manpg new/sysstat-8.0.3/build/compress-manpg
--- old/sysstat-8.0.2/build/compress-manpg 1970-01-01 01:00:00.000000000 +0100
+++ new/sysstat-8.0.3/build/compress-manpg 2007-03-22 15:46:27.000000000 +0100
@@ -0,0 +1,5 @@
+
+Answer y if you want sysstat manual pages to be compressed (using bzip2 or
+gzip) when they are installed.
+Default answer is n here.
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/cron_interval new/sysstat-8.0.3/build/cron_interval
--- old/sysstat-8.0.2/build/cron_interval 1970-01-01 01:00:00.000000000 +0100
+++ new/sysstat-8.0.3/build/cron_interval 2007-11-04 18:28:15.000000000 +0100
@@ -0,0 +1,7 @@
+
+You may enter here the sampling interval (in minutes) that the configuration
+script will use to customize the crontab.
+Defaut value is 10. This means that sadc (the system activity data collector
+called by sar) will take a snapshot of the system counters every 10 minutes.
+Other reasonable values could be 5, 15 or 20 minutes.
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/ignore-man-group new/sysstat-8.0.3/build/ignore-man-group
--- old/sysstat-8.0.2/build/ignore-man-group 2007-02-10 11:17:53.000000000 +0100
+++ new/sysstat-8.0.3/build/ignore-man-group 2007-11-04 16:32:17.000000000 +0100
@@ -1,6 +1,6 @@
Here again, don't bother too much with that. When set, this parameter tells
-the configuration process to not take into account the contents of the
+the configuration process not to take into account the contents of the
man_group variable.
This parameter is only used by some distros to package sysstat.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/build/install-cron new/sysstat-8.0.3/build/install-cron
--- old/sysstat-8.0.2/build/install-cron 2007-02-10 11:22:48.000000000 +0100
+++ new/sysstat-8.0.3/build/install-cron 2007-11-04 18:00:32.000000000 +0100
@@ -2,7 +2,8 @@
Answer y if you want to automate sar reporting. In this case, a crontab will
be created to periodically start the data collector. System activity daily
data files will then be created in the /var/log/sa directory.
-The crontab template file is located in sysstat directory and is called
-crontab.sample.
+You can find various crontab templates in sysstat directory. By default
+sysstat will try to use sysstat.crond template and install it in the
+/etc/cron.d directory.
Default answer is n here.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/CHANGES new/sysstat-8.0.3/CHANGES
--- old/sysstat-8.0.2/CHANGES 2007-10-26 09:38:02.000000000 +0200
+++ new/sysstat-8.0.3/CHANGES 2007-11-17 11:21:22.000000000 +0100
@@ -1,5 +1,23 @@
Changes:
+2007/11/19: Version 8.0.3 - Sebastien Godard (sysstat <at> orange.fr)
+ * mpstat and sar didn't parse /proc/interrupts correctly when
+ some CPUs had been disabled. This is now fixed.
+ * Fixed a bug in pidstat where a confusion between PID and TID
+ could sometimes happen, resulting in erroneous statistics
+ values being displayed.
+ * iconfig script updated: Help for --enable-compress-manpg
+ parameter is now available, help for --enable-install-cron
+ parameter updated, added parameter cron_interval.
+ * sa2 shell script can now compress sar data files using bzip2.
+ * Makefile updated: Now also remove sysstat.crond.sample.in.
+ Documentation is installed in $prefix/share/doc/ instead of
+ $prefix/doc/ directory.
+ * isag updated.
+ * FAQ updated.
+ * CREDITS file updated.
+ * Sysstat's URL updated.
+
2007/10/26: Version 8.0.2 - Sebastien Godard (sysstat <at> orange.fr)
* Option -w added to pidstat. pidstat can now display task
switching activity.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/configure new/sysstat-8.0.3/configure
--- old/sysstat-8.0.2/configure 2007-10-21 15:08:49.000000000 +0200
+++ new/sysstat-8.0.3/configure 2007-11-17 11:28:10.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for sysstat 8.0.2.
+# Generated by GNU Autoconf 2.59 for sysstat 8.0.3.
#
# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
@@ -267,8 +267,8 @@
# Identity of this package.
PACKAGE_NAME='sysstat'
PACKAGE_TARNAME='sysstat'
-PACKAGE_VERSION='8.0.2'
-PACKAGE_STRING='sysstat 8.0.2'
+PACKAGE_VERSION='8.0.3'
+PACKAGE_STRING='sysstat 8.0.3'
PACKAGE_BUGREPORT=''
ac_unique_file="ioconf.h"
@@ -309,7 +309,7 @@
# include
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RC_DIR INIT_DIR INITD_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CHMOD CHOWN AR INSTALL MSGFMT ZIP INSTALL_DATA INSTALL_BIN PATH_CP PATH_CHKCONFIG CPP EGREP sa_lib_dir SA_LIB_DIR sa_dir SA_DIR conf_dir SYSCONFIG_DIR NLS DFLAGS YESTERDAY history HISTORY compressafter COMPRESSAFTER man_group MAN_GROUP IGNORE_MAN_GROUP COMPRESS_MANPG INSTALL_ISAG CLEAN_SA_DIR INSTALL_CRON cron_owner CRON_OWNER SU_C_OWNER QUOTE REM_CHOWN LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RC_DIR INIT_DIR INITD_DIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S CHMOD CHOWN AR INSTALL MSGFMT ZIP INSTALL_DATA INSTALL_BIN PATH_CP PATH_CHKCONFIG CPP EGREP sa_lib_dir SA_LIB_DIR sa_dir SA_DIR conf_dir SYSCONFIG_DIR NLS DFLAGS YESTERDAY history HISTORY compressafter COMPRESSAFTER man_group MAN_GROUP IGNORE_MAN_GROUP COMPRESS_MANPG INSTALL_ISAG CLEAN_SA_DIR INSTALL_CRON cron_owner cron_interval CRON_OWNER SU_C_OWNER CRON_INTERVAL CRON_INTERVAL_SEC CRON_COUNT QUOTE REM_CHOWN LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -798,6 +798,10 @@
ac_env_cron_owner_value=$cron_owner
ac_cv_env_cron_owner_set=${cron_owner+set}
ac_cv_env_cron_owner_value=$cron_owner
+ac_env_cron_interval_set=${cron_interval+set}
+ac_env_cron_interval_value=$cron_interval
+ac_cv_env_cron_interval_set=${cron_interval+set}
+ac_cv_env_cron_interval_value=$cron_interval
#
# Report the --help message.
@@ -806,7 +810,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sysstat 8.0.2 to adapt to many kinds of systems.
+\`configure' configures sysstat 8.0.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -863,7 +867,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sysstat 8.0.2:";;
+ short | recursive ) echo "Configuration of sysstat 8.0.3:";;
esac
cat <<\_ACEOF
@@ -897,6 +901,8 @@
value is 10)
man_group group for manual pages
cron_owner crontab owner
+ cron_interval
+ crontab interval
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
@@ -996,7 +1002,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-sysstat configure 8.0.2
+sysstat configure 8.0.3
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1010,7 +1016,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sysstat $as_me 8.0.2, which was
+It was created by sysstat $as_me 8.0.3, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -5980,6 +5986,7 @@
# compressafter number of days after which datafiles are compressed
# man_group group for man pages
# cron_owner crontab owner
+# cron_interval crontab sampling interval.
#
# Fine tuning the installation directories:
# --mandir=DIR man documentation directory [PREFIX/man]
@@ -6326,17 +6333,36 @@
# " (ignore this line)
REM_CHOWN=$CHOWN
fi
+
+ echo "$as_me:$LINENO: checking crontab interval" >&5
+echo $ECHO_N "checking crontab interval... $ECHO_C" >&6
+
+ if test x$cron_interval = x""; then
+ CRON_INTERVAL=10
+ else
+ CRON_INTERVAL=$cron_interval
+ fi
+ echo "$as_me:$LINENO: result: $CRON_INTERVAL" >&5
+echo "${ECHO_T}$CRON_INTERVAL" >&6
+ CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
+ CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
else
CRON_OWNER="root"
SU_C_OWNER=""
QUOTE=""
REM_CHOWN="# REM_CHOWN"
+ CRON_INTERVAL=10
+ CRON_INTERVAL_SEC=600
+ CRON_COUNT=6
fi
+
+
+
# Create files
echo .
echo Now create files:
@@ -6770,7 +6796,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by sysstat $as_me 8.0.2, which was
+This file was extended by sysstat $as_me 8.0.3, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6825,7 +6851,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-sysstat config.status 8.0.2
+sysstat config.status 8.0.3
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -7072,8 +7098,12 @@
s,@CLEAN_SA_DIR@,$CLEAN_SA_DIR,;t t
s,@INSTALL_CRON@,$INSTALL_CRON,;t t
s,@cron_owner@,$cron_owner,;t t
+s,@cron_interval@,$cron_interval,;t t
s,@CRON_OWNER@,$CRON_OWNER,;t t
s,@SU_C_OWNER@,$SU_C_OWNER,;t t
+s,@CRON_INTERVAL@,$CRON_INTERVAL,;t t
+s,@CRON_INTERVAL_SEC@,$CRON_INTERVAL_SEC,;t t
+s,@CRON_COUNT@,$CRON_COUNT,;t t
s,@QUOTE@,$QUOTE,;t t
s,@REM_CHOWN@,$REM_CHOWN,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
@@ -7358,6 +7388,5 @@
Configuration directory: ${SYSCONFIG_DIR}
Compiler: $CC
Compiler flags: $CFLAGS
-
"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/configure.in new/sysstat-8.0.3/configure.in
--- old/sysstat-8.0.2/configure.in 2007-09-29 13:29:41.000000000 +0200
+++ new/sysstat-8.0.3/configure.in 2007-11-10 14:05:37.000000000 +0100
@@ -4,7 +4,7 @@
# Modified by Sebastien Godard (sysstat <at> orange.fr)
# Initialization of $PACKAGE_VERSION and $PACKAGE_NAME variables
-AC_INIT(sysstat, 8.0.2)
+AC_INIT(sysstat, 8.0.3)
# Ensure that a recent enough version of Autoconf is being used
AC_PREREQ(2.53)
@@ -125,6 +125,7 @@
# compressafter number of days after which datafiles are compressed
# man_group group for man pages
# cron_owner crontab owner
+# cron_interval crontab sampling interval.
#
# Fine tuning the installation directories:
# --mandir=DIR man documentation directory [PREFIX/man]
@@ -412,14 +413,31 @@
# " (ignore this line)
REM_CHOWN=$CHOWN
fi
+
+ AC_MSG_CHECKING(crontab interval)
+ AC_ARG_VAR([cron_interval],[crontab interval])
+ if test x$cron_interval = x""; then
+ CRON_INTERVAL=10
+ else
+ CRON_INTERVAL=$cron_interval
+ fi
+ AC_MSG_RESULT($CRON_INTERVAL)
+ CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
+ CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
else
CRON_OWNER="root"
SU_C_OWNER=""
QUOTE=""
REM_CHOWN="# REM_CHOWN"
+ CRON_INTERVAL=10
+ CRON_INTERVAL_SEC=600
+ CRON_COUNT=6
fi
AC_SUBST(CRON_OWNER)
AC_SUBST(SU_C_OWNER)
+AC_SUBST(CRON_INTERVAL)
+AC_SUBST(CRON_INTERVAL_SEC)
+AC_SUBST(CRON_COUNT)
AC_SUBST(QUOTE)
AC_SUBST(REM_CHOWN)
@@ -455,6 +473,5 @@
Configuration directory: ${SYSCONFIG_DIR}
Compiler: $CC
Compiler flags: $CFLAGS
-
"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/contrib/isag/isag.in new/sysstat-8.0.3/contrib/isag/isag.in
--- old/sysstat-8.0.2/contrib/isag/isag.in 2007-10-21 15:06:18.000000000 +0200
+++ new/sysstat-8.0.3/contrib/isag/isag.in 2007-11-12 18:49:06.000000000 +0100
@@ -517,6 +517,7 @@
set files [glob -nocomplain -directory $directory -type f $sar_data_mask ]
# add compressed files too
set files [concat $files [glob -nocomplain -directory $directory -type f $sar_data_mask.gz ]]
+ set files [concat $files [glob -nocomplain -directory $directory -type f $sar_data_mask.bz2 ]]
if { 0 == [llength $files] } {
continue
@@ -564,6 +565,7 @@
set l [string last "/" $basefile]
set label [string range $basefile [expr $l + 1] end]
set label [string map { .gz "" } $label]
+ set label [string map { .bz2 "" } $label]
$menudir add command -label "$label" -command "set_file $basefile"
set timestamp [file mtime $file]
@@ -589,7 +591,12 @@
set sag_if_archive_uncompressed "$fngr_tmpdir/sa_data"
exec zcat "$sar_data_path/$sag_if_archive" > $sag_if_archive_uncompressed
} else {
- set sag_if_archive_uncompressed "$sar_data_path/$sag_if_archive"
+ if { [string range $sag_if_archive $l end] == ".bz2" } {
+ set sag_if_archive_uncompressed "$fngr_tmpdir/sa_data"
+ exec bzcat "$sar_data_path/$sag_if_archive" > $sag_if_archive_uncompressed
+ } else {
+ set sag_if_archive_uncompressed "$sar_data_path/$sag_if_archive"
+ }
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/CREDITS new/sysstat-8.0.3/CREDITS
--- old/sysstat-8.0.2/CREDITS 2007-10-26 09:39:32.000000000 +0200
+++ new/sysstat-8.0.3/CREDITS 2007-11-01 12:35:01.000000000 +0100
@@ -107,6 +107,10 @@
Jeroen Roovers sent me a patch to fix a rare
parallel make issue creating archive libsyscom.a.
+ Livio Soares sent me a patch to fix
+ a bug where mpstat didn't parse /proc/interrupts correctly when
+ some CPUs had been set offline.
+
I would also thank the following people for their hints or bug reports
(in alphabetical order):
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/crontab.sample new/sysstat-8.0.3/crontab.sample
--- old/sysstat-8.0.2/crontab.sample 2007-02-07 18:42:52.000000000 +0100
+++ new/sysstat-8.0.3/crontab.sample 2007-11-10 14:12:24.000000000 +0100
@@ -5,8 +5,8 @@
#
# 8am-7pm activity reports every 20 minutes during weekdays.
# 0 8-18 * * 1-5 @SA_LIB_DIR@/sa1 -d 1200 3 &
-# activity reports every 10 minutes everyday.
-0 * * * * @SA_LIB_DIR@/sa1 -d 600 6 &
+# activity reports every @CRON_INTERVAL@ minutes everyday.
+0 * * * * @SA_LIB_DIR@/sa1 -d @CRON_INTERVAL_SEC@ @CRON_COUNT@ &
#
# Activity reports every an hour on Saturday and Sunday.
# 0 * * * 0,6 @SA_LIB_DIR@/sa1 -d &
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/FAQ new/sysstat-8.0.3/FAQ
--- old/sysstat-8.0.2/FAQ 2007-08-12 14:10:04.000000000 +0200
+++ new/sysstat-8.0.3/FAQ 2007-11-02 18:22:53.000000000 +0100
@@ -70,6 +70,7 @@
4.1. pidstat -d doesn't report task I/O statistics...
4.2. The pidstat command complains with the following message:
"Requested activities not available".
+4.3. pidstat doesn't display statistics for process (task) xyz...
1. GENERAL QUESTIONS
@@ -601,6 +602,17 @@
pidstat don't necessarily work for child processes. Read the manual page
to know which statistics are available for child processes.
+~~~
+
+4.3. pidstat doesn't display statistics for process (task) xyz...
+
+This must be because pidstat only displays statistics for active tasks
+by default. If you don't use option -p on the command line, then pidstat
+will display only tasks with non-zero statistics. For example, "pidstat -u"
+will display only tasks that have actually used some CPU resources since
+system startup. You should enter "pidstat -u -p ALL" to make sure that all
+the processes are listed in the report.
+
--
Sebastien Godard (sysstat <at> orange.fr) is the author and the current
maintainer of this package.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/iconfig new/sysstat-8.0.3/iconfig
--- old/sysstat-8.0.2/iconfig 2007-09-08 14:17:08.000000000 +0200
+++ new/sysstat-8.0.3/iconfig 2007-11-10 14:18:41.000000000 +0100
@@ -5,7 +5,8 @@
ASK="sh build/Ask.sh"
echo ; echo
-echo This is the Interactive Configuration script...
+echo Welcome to sysstat\'s Interactive Configuration script!
+echo
echo This script enables you to set the parameters value used by ./configure.
echo Please enter the value for the parameters listed below.
echo Press Return to tell ./configure to use the default value or to try to guess the proper one.
@@ -120,6 +121,14 @@
fi
fi
+if [ "${CRON}" != "" ];
+then
+ CRON_INTERVAL=`${ASK} 'Crontab sampling interval (in minutes):' "cron_interval" "cron_interval"`
+ if [ "${CRON_INTERVAL}" != "" ]; then
+ CRON="${CRON}cron_interval=${CRON_INTERVAL} "
+ fi
+fi
+
# Compress manual pages
COMPRESSMANPG=`${ASK} 'Compress manual pages? (y/n)' "--enable-compress-manpg" "compress-manpg"`
if [ "${COMPRESSMANPG}" = "y" ]; then
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/Makefile.in new/sysstat-8.0.3/Makefile.in
--- old/sysstat-8.0.2/Makefile.in 2007-09-22 10:30:59.000000000 +0200
+++ new/sysstat-8.0.3/Makefile.in 2007-11-10 15:09:06.000000000 +0100
@@ -45,7 +45,7 @@
endif
MAN1_DIR = $(MAN_DIR)/man1
MAN8_DIR = $(MAN_DIR)/man8
-DOC_DIR = $(PREFIX)/doc/$(PACKAGE)-$(VERSION)
+DOC_DIR = @datadir@/doc/$(PACKAGE)-$(VERSION)
NLS_DIR = $(PREFIX)/share/locale
SYSCONFIG_DIR = @SYSCONFIG_DIR@
@@ -427,7 +427,7 @@
almost-distclean: clean
rm -f sa1 sa2 sysstat crontab version.h sysconfig.h
rm -f sysstat.sysconfig sysstat.crond sysstat.cron.daily
- rm -f sysstat.cron.hourly sysstat.crond.sample
+ rm -f sysstat.cron.hourly sysstat.crond.sample sysstat.crond.sample.in
rm -f contrib/isag/isag
rm -f man/sa1.8 man/sa2.8 man/sadc.8 man/sadf.1 man/sar.1
rm -f *.log config.status
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/iostat.1 new/sysstat-8.0.3/man/iostat.1
--- old/sysstat-8.0.2/man/iostat.1 2007-07-21 19:08:05.000000000 +0200
+++ new/sysstat-8.0.3/man/iostat.1 2007-11-10 14:41:02.000000000 +0100
@@ -526,4 +526,4 @@
.BR mpstat (1),
.BR vmstat (8)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/mpstat.1 new/sysstat-8.0.3/man/mpstat.1
--- old/sysstat-8.0.2/man/mpstat.1 2007-07-21 19:08:22.000000000 +0200
+++ new/sysstat-8.0.3/man/mpstat.1 2007-11-10 14:41:18.000000000 +0100
@@ -158,4 +158,4 @@
.BR iostat (1),
.BR vmstat (8)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/pidstat.1 new/sysstat-8.0.3/man/pidstat.1
--- old/sysstat-8.0.2/man/pidstat.1 2007-10-26 17:14:10.000000000 +0200
+++ new/sysstat-8.0.3/man/pidstat.1 2007-11-10 14:41:32.000000000 +0100
@@ -366,4 +366,4 @@
.BR iostat (1),
.BR vmstat (8)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/sa1.in new/sysstat-8.0.3/man/sa1.in
--- old/sysstat-8.0.2/man/sa1.in 2007-07-21 19:08:55.000000000 +0200
+++ new/sysstat-8.0.3/man/sa1.in 2007-11-10 14:41:48.000000000 +0100
@@ -51,4 +51,4 @@
.BR sadf (1),
.BR isag (1)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/sa2.in new/sysstat-8.0.3/man/sa2.in
--- old/sysstat-8.0.2/man/sa2.in 2007-07-21 19:09:07.000000000 +0200
+++ new/sysstat-8.0.3/man/sa2.in 2007-11-10 14:42:02.000000000 +0100
@@ -45,4 +45,4 @@
.BR sadf (1),
.BR isag (1)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/sadc.in new/sysstat-8.0.3/man/sadc.in
--- old/sysstat-8.0.2/man/sadc.in 2007-07-21 19:09:21.000000000 +0200
+++ new/sysstat-8.0.3/man/sadc.in 2007-11-10 14:42:30.000000000 +0100
@@ -164,4 +164,4 @@
.BR sadf (1),
.BR isag (1)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/sadf.in new/sysstat-8.0.3/man/sadf.in
--- old/sysstat-8.0.2/man/sadf.in 2007-07-21 19:09:36.000000000 +0200
+++ new/sysstat-8.0.3/man/sadf.in 2007-11-10 14:42:57.000000000 +0100
@@ -128,7 +128,7 @@
in local time. The corresponding
DTD (Document Type Definition) is included in the sysstat source package.
It is also available at
-.I http://perso.orange.fr/sebastien.godard/sysstat.dtd
+.I http://pagesperso-orange.fr/sebastien.godard/sysstat.dtd
.SH ENVIRONMENT
The
@@ -176,4 +176,4 @@
.BR sa2 (8),
.BR isag (1)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/man/sar.in new/sysstat-8.0.3/man/sar.in
--- old/sysstat-8.0.2/man/sar.in 2007-10-26 17:13:33.000000000 +0200
+++ new/sysstat-8.0.3/man/sar.in 2007-11-10 14:43:14.000000000 +0100
@@ -954,4 +954,4 @@
.BR iostat (1),
.BR vmstat (8)
-.I http://perso.orange.fr/sebastien.godard/
+.I http://pagesperso-orange.fr/sebastien.godard/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/mpstat.c new/sysstat-8.0.3/mpstat.c
--- old/sysstat-8.0.2/mpstat.c 2007-10-26 10:04:32.000000000 +0200
+++ new/sysstat-8.0.3/mpstat.c 2007-11-17 12:10:13.000000000 +0100
@@ -359,6 +359,7 @@
static char *line = NULL;
unsigned long irq = 0;
unsigned int cpu;
+ int cpu_index[cpu_nr], index = 0;
char *cp, *next;
for (cpu = 0; cpu < cpu_nr; cpu++) {
@@ -375,6 +376,20 @@
}
}
+ /*
+ * Parse header line to see which CPUs are online
+ */
+ while (fgets(line, INTERRUPTS_LINE + 11 * cpu_nr, fp) != NULL) {
+ next = line;
+ while (((cp = strstr(next, "CPU")) != NULL) && (index < cpu_nr)) {
+ cpu = strtol(cp + 3, &next, 10);
+ cpu_index[index++] = cpu;
+ }
+ if (index)
+ /* Header line found */
+ break;
+ }
+
while (fgets(line, INTERRUPTS_LINE + 11 * cpu_nr, fp) != NULL) {
if (isdigit(line[2])) {
@@ -384,8 +399,8 @@
continue;
cp++;
- for (cpu = 0; cpu < cpu_nr; cpu++) {
- st_mp_cpu_i = st_mp_cpu[curr] + cpu + 1;
+ for (cpu = 0; cpu < index; cpu++) {
+ st_mp_cpu_i = st_mp_cpu[curr] + cpu_index[cpu] + 1;
irq = strtol(cp, &next, 10);
st_mp_cpu_i->irq += irq;
cp = next;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/pidstat.c new/sysstat-8.0.3/pidstat.c
--- old/sysstat-8.0.2/pidstat.c 2007-10-26 10:04:32.000000000 +0200
+++ new/sysstat-8.0.3/pidstat.c 2007-11-17 12:10:13.000000000 +0100
@@ -272,7 +272,7 @@
/*
***************************************************************************
- * Read stats from /proc/<pid>/stat
+ * Read stats from /proc/#[/task/##]/stat
***************************************************************************
*/
int read_proc_pid_stat(unsigned int pid, struct pid_stats *pst,
@@ -323,7 +323,7 @@
/*
*****************************************************************************
- * Read stats from /proc/<pid>/status
+ * Read stats from /proc/#[/task/##]/status
*****************************************************************************
*/
int read_proc_pid_status(unsigned int pid, struct pid_stats *pst,
@@ -359,7 +359,7 @@
/*
***************************************************************************
- * Read stats from /proc/<pid>/io
+ * Read stats from /proc/#[/task/##]/io
***************************************************************************
*/
int read_proc_pid_io(unsigned int pid, struct pid_stats *pst,
@@ -679,7 +679,8 @@
do {
*pstj = st_pid_list[prev] + q;
- if ((*pstj)->pid == (*psti)->pid)
+ if (((*pstj)->pid == (*psti)->pid) &&
+ ((*pstj)->tgid == (*psti)->tgid))
break;
q++;
if (q >= pid_nr)
@@ -687,7 +688,8 @@
}
while (q != p);
- if ((*pstj)->pid != (*psti)->pid)
+ if (((*pstj)->pid != (*psti)->pid) ||
+ ((*pstj)->tgid != (*psti)->tgid))
/* PID not found (no data previously read) */
*pstj = &st_pid_null;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/README new/sysstat-8.0.3/README
--- old/sysstat-8.0.2/README 2007-07-21 18:59:32.000000000 +0200
+++ new/sysstat-8.0.3/README 2007-11-10 15:14:58.000000000 +0100
@@ -4,7 +4,7 @@
The latest version of sysstat can always be found on my web site at:
-http://perso.orange.fr/sebastien.godard/
+http://pagesperso-orange.fr/sebastien.godard/
sysstat package is also available at ibiblio's Linux archive
in the following directory:
@@ -94,7 +94,7 @@
${PREFIX}/share/locale/ru/LC_MESSAGES/sysstat.mo
${PREFIX}/share/locale/sk/LC_MESSAGES/sysstat.mo
${PREFIX}/share/locale/sv/LC_MESSAGES/sysstat.mo
-${PREFIX}/doc/sysstat-x.y.z/*
+${PREFIX}/share/doc/sysstat-x.y.z/*
/var/log/sa
${INIT_DIR}/sysstat
/etc/sysconfig/sysstat
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sa2.in new/sysstat-8.0.3/sa2.in
--- old/sysstat-8.0.2/sa2.in 2007-09-08 14:18:25.000000000 +0200
+++ new/sysstat-8.0.3/sa2.in 2007-11-12 19:00:06.000000000 +0100
@@ -17,6 +17,7 @@
CURRENTRPT=sar${DATE}
HISTORY=@HISTORY@
COMPRESSAFTER=@COMPRESSAFTER@
+ZIP=@ZIP@
[ -r ${SYSCONFIG_DIR}/sysstat ] && . ${SYSCONFIG_DIR}/sysstat
if [ ${HISTORY} -gt 28 ]
then
@@ -48,10 +49,10 @@
cd ${ENDIR}
[ -L ${RPT} ] && rm -f ${RPT}
${ENDIR}/sar $* -f ${DFILE} > ${RPT}
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' \) \
+find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' -o -name 'sar??.bz2' -o -name 'sa??.bz2' \) \
-mtime +"${HISTORY}" -exec rm -f {} \;
find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
- -exec gzip -9 {} \; > /dev/null 2>&1
+ -exec ${ZIP} {} \; > /dev/null 2>&1
# Remove broken links
for f in `find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type l`; do
[ -e $f ] || rm -f $f
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sadc.c new/sysstat-8.0.3/sadc.c
--- old/sysstat-8.0.2/sadc.c 2007-10-26 10:04:32.000000000 +0200
+++ new/sysstat-8.0.3/sadc.c 2007-11-17 12:10:13.000000000 +0100
@@ -1030,12 +1030,27 @@
static char *line;
unsigned int irq = 0, cpu;
struct stats_irq_cpu *p;
+ int cpu_index[cpu_nr], index = 0;
char *cp, *next;
if ((fp = fopen(INTERRUPTS, "r")) != NULL) {
SREALLOC(line, char, INTERRUPTS_LINE + 11 * cpu_nr);
+ /*
+ * Parse header line to see which CPUs are online
+ */
+ while (fgets(line, INTERRUPTS_LINE + 11 * cpu_nr, fp) != NULL) {
+ next = line;
+ while (((cp = strstr(next, "CPU")) != NULL) && (index < cpu_nr)) {
+ cpu = strtol(cp + 3, &next, 10);
+ cpu_index[index++] = cpu;
+ }
+ if (index)
+ /* Header line found */
+ break;
+ }
+
while ((fgets(line, INTERRUPTS_LINE + 11 * cpu_nr, fp) != NULL) &&
(irq < irqcpu_nr)) {
@@ -1048,8 +1063,8 @@
p = st_irq_cpu + irq;
p->irq = strtol(line, NULL, 10);
- for (cpu = 0; cpu < cpu_nr; cpu++) {
- p = st_irq_cpu + cpu * irqcpu_nr + irq;
+ for (cpu = 0; cpu < index; cpu++) {
+ p = st_irq_cpu + cpu_index[cpu] * irqcpu_nr + irq;
/*
* No need to set (st_irq_cpu + cpu * irqcpu_nr)->irq:
* same as st_irq_cpu->irq.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sadf.c new/sysstat-8.0.3/sadf.c
--- old/sysstat-8.0.2/sadf.c 2007-10-26 10:04:32.000000000 +0200
+++ new/sysstat-8.0.3/sadf.c 2007-11-17 12:10:13.000000000 +0100
@@ -1522,7 +1522,7 @@
{
printf("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
printf("<!DOCTYPE Configure PUBLIC \"DTD v%s sysstat //EN\"\n", XML_DTD_VERSION);
- printf("\"http://perso.orange.fr/sebastien.godard/sysstat.dtd\">\n");
+ printf("\"http://pagesperso-orange.fr/sebastien.godard/sysstat.dtd\">\n");
xprintf(*tab, "<sysstat>");
xprintf(++(*tab), "<sysdata-version>%s</sysdata-version>", XML_DTD_VERSION);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sar.c new/sysstat-8.0.3/sar.c
--- old/sysstat-8.0.2/sar.c 2007-10-26 10:04:32.000000000 +0200
+++ new/sysstat-8.0.3/sar.c 2007-11-17 12:10:13.000000000 +0100
@@ -654,6 +654,7 @@
((double) (sdi->nr_ios - sdj->nr_ios)) : 0.0;
dev_name = NULL;
+
if ((USE_PRETTY_OPTION(flags)) && (sdi->major == DEVMAP_MAJOR))
dev_name = transform_devmapname(sdi->major, sdi->minor);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat-8.0.2.lsm new/sysstat-8.0.3/sysstat-8.0.2.lsm
--- old/sysstat-8.0.2/sysstat-8.0.2.lsm 2007-10-21 15:47:52.000000000 +0200
+++ new/sysstat-8.0.3/sysstat-8.0.2.lsm 1970-01-01 01:00:00.000000000 +0100
@@ -1,35 +0,0 @@
-Begin4
-Title: sysstat - the sar, sadf, mpstat, iostat and pidstat commands for Linux
-Version: 8.0.2
-Entered-date: 2007-10-26
-Description: The sysstat package contains the sar, sadf, mpstat, iostat,
- pidstat and sa tools for Linux.
- The sar command collects and reports system activity
- information.
- The information collected by sar can be saved in a file
- in a binary format for future inspection.
- The statistics reported by sar concern I/O transfer rates,
- paging activity, process-related activities, interrupts,
- network activity, memory and swap space utilization, CPU
- utilization, kernel activities and TTY statistics, among
- others. Both UP and SMP machines are fully supported.
- The iostat command reports CPU utilization
- and I/O statistics for disks. The mpstat command reports
- global and per-processor statistics. The sadf command
- is used to display data collected by sar in various
- formats (XML, database-friendly, etc.).
- The pidstat command reports statistics for Linux tasks (processes).
- NB: Send bugs, patches, suggestions and/or questions to
- (sysstat [at] orange.fr) and not to the address below!
- URL: http://perso.orange.fr/sebastien.godard/
-Keywords: system administration, sar, sadf, iostat, mpstat, pidstat, system accounting, performance, tuning
-Author: sebastien.godard@orange.fr (Sebastien Godard)
-Maintained-by: sebastien.godard@orange.fr (Sebastien Godard)
-Primary-site: http://perso.orange.fr/sebastien.godard/
- 208kB sysstat-8.0.2.tar.gz
- 166kB sysstat-8.0.2.tar.bz2
- 211kB sysstat-8.0.2-1.src.rpm
- 166kB sysstat-8.0.2-1.i586.rpm
-Alternate-site: ibiblio.org /pub/linux/system/status
-Copying-policy: GPL
-End
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat-8.0.2.spec new/sysstat-8.0.3/sysstat-8.0.2.spec
--- old/sysstat-8.0.2/sysstat-8.0.2.spec 2007-10-21 15:43:12.000000000 +0200
+++ new/sysstat-8.0.3/sysstat-8.0.2.spec 1970-01-01 01:00:00.000000000 +0100
@@ -1,77 +0,0 @@
-Summary: SAR, SADF, MPSTAT, IOSTAT and PIDSTAT for Linux
-Name: sysstat
-Version: 8.0.2
-Release: 1
-License: GPL
-Group: Applications/System
-Source0: %{name}-%{version}.tar.gz
-URL: http://perso.orange.fr/sebastien.godard
-Packager: Damien Faure
-BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
-Requires: gettext
-
-%description
-The sysstat package contains the sar, sadf, mpstat, iostat, pidstat
-and sa tools for Linux.
-The sar command collects and reports system activity information.
-The information collected by sar can be saved in a file in a binary
-format for future inspection. The statistics reported by sar concern
-I/O transfer rates, paging activity, process-related activities,
-interrupts, network activity, memory and swap space utilization, CPU
-utilization, kernel activities and TTY statistics, among others. Both
-UP and SMP machines are fully supported.
-The sadf command may be used to display data collected by sar in
-various formats (CSV, XML, etc.).
-The iostat command reports CPU utilization and I/O statistics for disks.
-The mpstat command reports global and per-processor statistics.
-The pidstat command reports statistics for Linux tasks (processes).
-
-%prep
-%setup
-
-%build
-./configure --prefix=%{_prefix} \
- sa_lib_dir=%{_libdir}/sa \
- --mandir=%{_mandir} \
- DESTDIR=$RPM_BUILD_ROOT
-make
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/log/sa
-
-make install
-
-mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -m 755 sysstat $RPM_BUILD_ROOT/etc/rc.d/init.d/sysstat
-mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
-install -m 644 sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat
-install -m 644 sysstat.ioconf $RPM_BUILD_ROOT/etc/sysconfig/sysstat.ioconf
-mkdir -p $RPM_BUILD_ROOT/etc/cron.d
-install -m 644 sysstat.crond.sample $RPM_BUILD_ROOT/etc/cron.d/sysstat
-mkdir -p $RPM_BUILD_ROOT/etc/rc2.d
-cd $RPM_BUILD_ROOT/etc/rc2.d && ln -sf ../init.d/sysstat S03sysstat
-mkdir -p $RPM_BUILD_ROOT/etc/rc3.d
-cd $RPM_BUILD_ROOT/etc/rc3.d && ln -sf ../init.d/sysstat S03sysstat
-mkdir -p $RPM_BUILD_ROOT/etc/rc5.d
-cd $RPM_BUILD_ROOT/etc/rc5.d && ln -sf ../init.d/sysstat S03sysstat
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc %{_prefix}/doc/sysstat-%{version}/*
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/sa/*
-%attr(644,root,root) %{_mandir}/man*/*
-%attr(644,root,root) %{_datadir}/locale/*/LC_MESSAGES/sysstat.mo
-%attr(755,root,root) %dir /var/log/sa
-%attr(755,root,root) /etc/rc.d/init.d/sysstat
-%attr(644,root,root) /etc/sysconfig/sysstat
-%attr(644,root,root) /etc/sysconfig/sysstat.ioconf
-%attr(755,root,root) /etc/rc2.d/S03sysstat
-%attr(755,root,root) /etc/rc3.d/S03sysstat
-%attr(755,root,root) /etc/rc5.d/S03sysstat
-%config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat-8.0.3.lsm new/sysstat-8.0.3/sysstat-8.0.3.lsm
--- old/sysstat-8.0.2/sysstat-8.0.3.lsm 1970-01-01 01:00:00.000000000 +0100
+++ new/sysstat-8.0.3/sysstat-8.0.3.lsm 2007-11-17 12:04:11.000000000 +0100
@@ -0,0 +1,35 @@
+Begin4
+Title: sysstat - the sar, sadf, mpstat, iostat and pidstat commands for Linux
+Version: 8.0.3
+Entered-date: 2007-11-18
+Description: The sysstat package contains the sar, sadf, mpstat, iostat,
+ pidstat and sa tools for Linux.
+ The sar command collects and reports system activity
+ information.
+ The information collected by sar can be saved in a file
+ in a binary format for future inspection.
+ The statistics reported by sar concern I/O transfer rates,
+ paging activity, process-related activities, interrupts,
+ network activity, memory and swap space utilization, CPU
+ utilization, kernel activities and TTY statistics, among
+ others. Both UP and SMP machines are fully supported.
+ The iostat command reports CPU utilization
+ and I/O statistics for disks. The mpstat command reports
+ global and per-processor statistics. The sadf command
+ is used to display data collected by sar in various
+ formats (XML, database-friendly, etc.).
+ The pidstat command reports statistics for Linux tasks (processes).
+ NB: Send bugs, patches, suggestions and/or questions to
+ (sysstat [at] orange.fr) and not to the address below!
+ URL: http://pagesperso-orange.fr/sebastien.godard/
+Keywords: system administration, sar, sadf, iostat, mpstat, pidstat, system accounting, performance, tuning
+Author: sebastien.godard@orange.fr (Sebastien Godard)
+Maintained-by: sebastien.godard@orange.fr (Sebastien Godard)
+Primary-site: http://pagesperso-orange.fr/sebastien.godard/
+ 209kB sysstat-8.0.3.tar.gz
+ 167kB sysstat-8.0.3.tar.bz2
+ 212kB sysstat-8.0.3-1.src.rpm
+ 166kB sysstat-8.0.3-1.i586.rpm
+Alternate-site: ibiblio.org /pub/linux/system/status
+Copying-policy: GPL
+End
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat-8.0.3.spec new/sysstat-8.0.3/sysstat-8.0.3.spec
--- old/sysstat-8.0.2/sysstat-8.0.3.spec 1970-01-01 01:00:00.000000000 +0100
+++ new/sysstat-8.0.3/sysstat-8.0.3.spec 2007-11-17 11:58:43.000000000 +0100
@@ -0,0 +1,77 @@
+Summary: SAR, SADF, MPSTAT, IOSTAT and PIDSTAT for Linux
+Name: sysstat
+Version: 8.0.3
+Release: 1
+License: GPL
+Group: Applications/System
+Source0: %{name}-%{version}.tar.gz
+URL: http://pagesperso-orange.fr/sebastien.godard/
+Packager: Damien Faure
+BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
+Requires: gettext
+
+%description
+The sysstat package contains the sar, sadf, mpstat, iostat, pidstat
+and sa tools for Linux.
+The sar command collects and reports system activity information.
+The information collected by sar can be saved in a file in a binary
+format for future inspection. The statistics reported by sar concern
+I/O transfer rates, paging activity, process-related activities,
+interrupts, network activity, memory and swap space utilization, CPU
+utilization, kernel activities and TTY statistics, among others. Both
+UP and SMP machines are fully supported.
+The sadf command may be used to display data collected by sar in
+various formats (CSV, XML, etc.).
+The iostat command reports CPU utilization and I/O statistics for disks.
+The mpstat command reports global and per-processor statistics.
+The pidstat command reports statistics for Linux tasks (processes).
+
+%prep
+%setup
+
+%build
+./configure --prefix=%{_prefix} \
+ sa_lib_dir=%{_libdir}/sa \
+ --mandir=%{_mandir} \
+ DESTDIR=$RPM_BUILD_ROOT
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/var/log/sa
+
+make install
+
+mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
+install -m 755 sysstat $RPM_BUILD_ROOT/etc/rc.d/init.d/sysstat
+mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
+install -m 644 sysstat.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/sysstat
+install -m 644 sysstat.ioconf $RPM_BUILD_ROOT/etc/sysconfig/sysstat.ioconf
+mkdir -p $RPM_BUILD_ROOT/etc/cron.d
+install -m 644 sysstat.crond.sample $RPM_BUILD_ROOT/etc/cron.d/sysstat
+mkdir -p $RPM_BUILD_ROOT/etc/rc2.d
+cd $RPM_BUILD_ROOT/etc/rc2.d && ln -sf ../init.d/sysstat S03sysstat
+mkdir -p $RPM_BUILD_ROOT/etc/rc3.d
+cd $RPM_BUILD_ROOT/etc/rc3.d && ln -sf ../init.d/sysstat S03sysstat
+mkdir -p $RPM_BUILD_ROOT/etc/rc5.d
+cd $RPM_BUILD_ROOT/etc/rc5.d && ln -sf ../init.d/sysstat S03sysstat
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_datadir}/doc/sysstat-%{version}/*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/sa/*
+%attr(644,root,root) %{_mandir}/man*/*
+%attr(644,root,root) %{_datadir}/locale/*/LC_MESSAGES/sysstat.mo
+%attr(755,root,root) %dir /var/log/sa
+%attr(755,root,root) /etc/rc.d/init.d/sysstat
+%attr(644,root,root) /etc/sysconfig/sysstat
+%attr(644,root,root) /etc/sysconfig/sysstat.ioconf
+%attr(755,root,root) /etc/rc2.d/S03sysstat
+%attr(755,root,root) /etc/rc3.d/S03sysstat
+%attr(755,root,root) /etc/rc5.d/S03sysstat
+%config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat
+
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat.crond.in new/sysstat-8.0.3/sysstat.crond.in
--- old/sysstat-8.0.2/sysstat.crond.in 2007-02-07 20:49:17.000000000 +0100
+++ new/sysstat-8.0.3/sysstat.crond.in 2007-11-10 14:13:49.000000000 +0100
@@ -1,6 +1,6 @@
-# Run system activity accounting tool every 10 minutes
-*/10 * * * * @CRON_OWNER@ @SA_LIB_DIR@/sa1 -d 1 1
-# 0 * * * * @CRON_OWNER@ @SA_LIB_DIR@/sa1 -d 600 6 &
+# Run system activity accounting tool every @CRON_INTERVAL@ minutes
+*/@CRON_INTERVAL@ * * * * @CRON_OWNER@ @SA_LIB_DIR@/sa1 -d 1 1
+# 0 * * * * @CRON_OWNER@ @SA_LIB_DIR@/sa1 -d @CRON_INTERVAL_SEC@ @CRON_COUNT@ &
# Generate a daily summary of process accounting at 23:53
53 23 * * * @CRON_OWNER@ @SA_LIB_DIR@/sa2 -A
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat.crond.sample.in new/sysstat-8.0.3/sysstat.crond.sample.in
--- old/sysstat-8.0.2/sysstat.crond.sample.in 2007-10-26 17:14:27.000000000 +0200
+++ new/sysstat-8.0.3/sysstat.crond.sample.in 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-# Run system activity accounting tool every 10 minutes
-*/10 * * * * root /usr/local/lib/sa/sa1 -d 1 1
-# 0 * * * * root /usr/local/lib/sa/sa1 -d 600 6 &
-# Generate a daily summary of process accounting at 23:53
-53 23 * * * root /usr/local/lib/sa/sa2 -A
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sysstat-8.0.2/sysstat.cron.hourly.in new/sysstat-8.0.3/sysstat.cron.hourly.in
--- old/sysstat-8.0.2/sysstat.cron.hourly.in 2007-02-07 20:48:32.000000000 +0100
+++ new/sysstat-8.0.3/sysstat.cron.hourly.in 2007-11-10 14:13:11.000000000 +0100
@@ -1,3 +1,3 @@
#!/bin/sh
-# Run system activity accounting tool every 10 minutes
-@SA_LIB_DIR@/sa1 -d 600 6 &
+# Run system activity accounting tool every @CRON_INTERVAL@ minutes
+@SA_LIB_DIR@/sa1 -d @CRON_INTERVAL_SEC@ @CRON_COUNT@ &
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org