aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/apache.php
diff options
context:
space:
mode:
authorPim van den Berg2010-09-17 21:24:35 +0200
committerPim van den Berg2010-09-17 21:24:35 +0200
commit10ad741a22797b6710be1091d9e502e71929f255 (patch)
treeedb5d5046eba5de647f12e8c9480faa054dd09f7 /plugin/apache.php
parentplugin/nfs: clean up some duplicate code (diff)
downloadapt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.zip
apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.gz
apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.bz2
apt-panopticon_cgp-10ad741a22797b6710be1091d9e502e71929f255.tar.xz
automatic alignment of graph legend
Function fill_ds_names is renamed to parse_ds_names and now also appends spaces to ds_names to make them equal of lenght.
Diffstat (limited to 'plugin/apache.php')
-rw-r--r--plugin/apache.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugin/apache.php b/plugin/apache.php
index 1dc3540..7153662 100644
--- a/plugin/apache.php
+++ b/plugin/apache.php
@@ -13,17 +13,17 @@ $obj = new Type_GenericStacked($CONFIG);
13$obj->data_sources = array('count'); 13$obj->data_sources = array('count');
14$obj->order = array('open', 'idle_cleanup', 'finishing', 'logging', 'closing', 'dnslookup', 'keepalive', 'sending', 'reading', 'starting', 'waiting'); 14$obj->order = array('open', 'idle_cleanup', 'finishing', 'logging', 'closing', 'dnslookup', 'keepalive', 'sending', 'reading', 'starting', 'waiting');
15$obj->ds_names = array( 15$obj->ds_names = array(
16 'open' => 'Open (empty) ', 16 'open' => 'Open (empty)',
17 'waiting' => 'Waiting ', 17 'waiting' => 'Waiting',
18 'starting' => 'Starting up ', 18 'starting' => 'Starting up',
19 'reading' => 'Reading request', 19 'reading' => 'Reading request',
20 'sending' => 'Sending reply ', 20 'sending' => 'Sending reply',
21 'keepalive' => 'Keepalive ', 21 'keepalive' => 'Keepalive',
22 'dnslookup' => 'DNS Lookup ', 22 'dnslookup' => 'DNS Lookup',
23 'closing' => 'Closing ', 23 'closing' => 'Closing',
24 'logging' => 'Logging ', 24 'logging' => 'Logging',
25 'finishing' => 'Finishing ', 25 'finishing' => 'Finishing',
26 'idle_cleanup' => 'Idle cleanup ', 26 'idle_cleanup' => 'Idle cleanup',
27); 27);
28$obj->colors = array( 28$obj->colors = array(
29 'open' => 'e0e0e0', 29 'open' => 'e0e0e0',