Package: sysstat / 12.0.3-2

01-isag.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Robert Luberda <robert@debian.org>
Date: Tue, 23 Mar 2010 22:04:47 +0100
Subject: Fix paths in isag script

---
 contrib/isag/README-isag | 2 +-
 contrib/isag/isag        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/isag/README-isag b/contrib/isag/README-isag
index 4f69727..e169815 100644
--- a/contrib/isag/README-isag
+++ b/contrib/isag/README-isag
@@ -9,7 +9,7 @@ isag is (C) 2000,2001 by David Doubrava <linux_monitor@volny.cz>.
 Send bug reports to <linux_monitor@volny.cz>.
 
 Note that the path to daily data files is hard coded in isag and
-its value is "/var/log/sa".
+its value is "/var/log/sysstat".
 Also isag assumes that sar is installed in /usr/bin directory.
 Update isag script if sar is located elsewhere.
 
diff --git a/contrib/isag/isag b/contrib/isag/isag
index 026d2bc..d61d6a5 100755
--- a/contrib/isag/isag
+++ b/contrib/isag/isag
@@ -272,11 +272,11 @@ proc out_msg {title text} {
 # $Source: /var/CVSROOT/cvs/i-sag/isag/msg_box.m4,v $
 
 # specific paths and programs
-set sar_data_path "/var/log/sa"
+set sar_data_path "/var/log/sysstat"
 set sar_data_mask "sa\[0-9\]{\[0-9\],\[0-9\]\[0-9\]\[0-9\]\[0-9\]\[0-9\]\[0-9\]\[0-9\]}"
 set prefix "/usr"
 set exec_prefix "${prefix}"
-set sar "${exec_prefix}/bin/sar"
+set sar "${exec_prefix}/bin/sar.sysstat"
 
 # following check added: Thu Mar 18 21:44:52 GMT+1 2004
 if { 1 != [file executable $sar]} {