Browse Source

Sebastian Jaenicke <tsa@jaenicke.org>:

add new package sysstat


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1878 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Sebastian Jaenicke 21 years ago
parent
commit
1d133a876e
3 changed files with 102 additions and 1 deletions
  1. +1
    -1
      Documentation/Developers/CHANGELOG-RENE
  2. +53
    -0
      package/tsa/sysstat/prefix.patch
  3. +48
    -0
      package/tsa/sysstat/sysstat.desc

+ 1
- 1
Documentation/Developers/CHANGELOG-RENE

@ -10,7 +10,7 @@
uudeview, whois and zlib
- Sebastian Jaenicke: fixed screen security issue
updated postgresql
added ypserv .init script
added ypserv .init script and sysstat
*) 2003-11-27 (2.0.0-rc3 - 2.0.0-rc4)

+ 53
- 0
package/tsa/sysstat/prefix.patch

@ -0,0 +1,53 @@
diff -Nur sysstat-5.0.0.orig/build/CONFIG sysstat-5.0.0/build/CONFIG
--- sysstat-5.0.0.orig/build/CONFIG 2003-11-05 20:45:35.000000000 +0100
+++ sysstat-5.0.0/build/CONFIG 2003-11-29 02:34:02.000000000 +0100
@@ -2,7 +2,7 @@
# (C) 2000 Sebastien GODARD <sebastien.godard@wanadoo.fr>
# Directories
-PREFIX = /usr/local
+PREFIX = /usr
SA_DIR = /var/log/sa
MAN_DIR = ${PREFIX}/man
CLEAN_SA_DIR = n
diff -Nur sysstat-5.0.0.orig/build/CONFIG.def sysstat-5.0.0/build/CONFIG.def
--- sysstat-5.0.0.orig/build/CONFIG.def 2002-05-05 18:54:39.000000000 +0200
+++ sysstat-5.0.0/build/CONFIG.def 2003-11-29 02:33:43.000000000 +0100
@@ -2,7 +2,7 @@
# (C) 2000 Sebastien GODARD <sebastien.godard@wanadoo.fr>
# Directories
-PREFIX = /usr/local
+PREFIX = /usr
SA_DIR = /var/log/sa
MAN_DIR = ${PREFIX}/man
CLEAN_SA_DIR = n
diff -Nur sysstat-5.0.0.orig/build/Configure.sh sysstat-5.0.0/build/Configure.sh
--- sysstat-5.0.0.orig/build/Configure.sh 2003-01-02 21:32:11.000000000 +0100
+++ sysstat-5.0.0/build/Configure.sh 2003-11-29 02:34:30.000000000 +0100
@@ -10,10 +10,10 @@
# Installation directory
-PREFIX=`${ASK} 'Installation directory:' "/usr/local" "prefix"`
+PREFIX=`${ASK} 'Installation directory:' "/usr" "prefix"`
if [ ! -d ${PREFIX} ]; then
- echo "WARNING: Directory ${PREFIX} not found: Using default (/usr/local)."
- PREFIX=/usr/local
+ echo "WARNING: Directory ${PREFIX} not found: Using default (/usr)."
+ PREFIX=/usr
fi
# System Activity directory
diff -Nur sysstat-5.0.0.orig/sa.h sysstat-5.0.0/sa.h
--- sysstat-5.0.0.orig/sa.h 2003-11-05 20:42:36.000000000 +0100
+++ sysstat-5.0.0/sa.h 2003-11-29 02:31:58.000000000 +0100
@@ -118,7 +118,7 @@
#define NET_SOCKSTAT "/proc/net/sockstat"
#define SADC "sadc"
#define SADC_PATH "/usr/lib/sa/sadc"
-#define SADC_LOCAL_PATH "/usr/local/lib/sa/sadc"
+#define SADC_LOCAL_PATH "/usr/lib/sa/sadc"
#define LOADAVG "/proc/loadavg"
#define VMSTAT "/proc/vmstat"

+ 48
- 0
package/tsa/sysstat/sysstat.desc

@ -0,0 +1,48 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/tsa/sysstat/sysstat.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] The sar and iostat commands for Linux
[T] The sysstat package contains the sar, mpstat, and iostat commands for
[T] Linux. The sar command collects and reports system activity information.
[T] This information can also be saved in a system activity file for future
[T] inspection. The iostat command reports CPU statistics and I/O statistics
[T] for tty devices and disks. The statistics reported by sar concern I/O
[T] transfer rates, paging activity, process-related activites, interrupts,
[T] network activity, memory and swap space utilization, CPU utilization,
[T] kernel activities, and TTY statistics, among others. Both UP and SMP
[T] machines are fully supported.
[U] http://perso.wanadoo.fr/sebastien.godard/
[A] Sébastien Godard: <sebastien.godard@wanadoo.fr>
[M] Sebastian Jaenicke <tsa@jaenicke.org>
[C] extra/tool
[L] GPL
[S] Stable
[V] 5.0.0
[P] X -----5---9 800.000
[D] 0 sysstat-5.0.0.tar.bz2 http://www.ibiblio.org/pub/Linux/system/status/

Loading…
Cancel
Save