summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config-jarmon.js (renamed from jarmon-config.js)5
-rwxr-xr-xindex.html.gen2
2 files changed, 4 insertions, 3 deletions
diff --git a/jarmon-config.js b/config-jarmon.js
index bbf452a..2159221 100644
--- a/jarmon-config.js
+++ b/config-jarmon.js
@@ -136,8 +136,9 @@ $(function() {
'swap-io': {
title: 'Swap IO',
data: [
- [proton+'swap/swap_io-in.rrd', 0, 'In', 'B'],
- [proton+'swap/swap_io-out.rrd', 0, 'Out', 'B']
+ /* In pages unless the Swap.ReportBytes option is set */
+ [proton+'swap/swap_io-in.rrd', 0, 'In', 'page'],
+ [proton+'swap/swap_io-out.rrd', 0, 'Out', 'page']
],
options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS)
}
diff --git a/index.html.gen b/index.html.gen
index 58be895..da0eae2 100755
--- a/index.html.gen
+++ b/index.html.gen
@@ -14,7 +14,7 @@ echo '<!DOCTYPE html>
<script type="text/javascript" src="jarmon-dependencies.js"></script>
<script type="text/javascript" src="jarmon.js"></script>
- <script type="text/javascript" src="jarmon-config.js"></script>
+ <script type="text/javascript" src="config-jarmon.js"></script>
</head>
<body>'
cat jarmon.html.part tls.html.part crtsh.html.part diff.html.part