Package: sysstat / 11.4.3-2

02-sargraph.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
From: Robert Luberda <robert@debian.org>
Date: Tue, 23 Mar 2010 22:04:47 +0100
Subject: 02-sargraph

Fix paths in sargraph script
---
 contrib/sargraph/sargraph  | 2 +-
 contrib/sargraph/sargraph2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/sargraph/sargraph b/contrib/sargraph/sargraph
index 22ee46e..b1aab52 100755
--- a/contrib/sargraph/sargraph
+++ b/contrib/sargraph/sargraph
@@ -17,7 +17,7 @@ GZIP=`which gzip`
 set +e
 
 # Default for --sa-dir
-SA_DIR="/var/log/sa"
+SA_DIR="/var/log/sysstat"
 
 SA_REGEX='/sa[0-9][0-9]+(\.(gz|bz2|xz|lz|lzo))?$'
 
diff --git a/contrib/sargraph/sargraph2 b/contrib/sargraph/sargraph2
index 7eaa5a8..c8c95b6 100755
--- a/contrib/sargraph/sargraph2
+++ b/contrib/sargraph/sargraph2
@@ -14,7 +14,7 @@ GNUPLOT=`which gnuplot`
 SA_FILE=""
 
 # Default for --sa-dir
-SA_DIR="/var/log/sa"
+SA_DIR="/var/log/sysstat"
 
 # Default for --type
 GRAPH_TYPE=CPU