Attachment '605serverstats.diff'

Download

   1 diff --git a/cron.d/serverstats b/cron.d/serverstats
   2 index a6cb8db..b5bf0fc 100644
   3 --- a/cron.d/serverstats
   4 +++ b/cron.d/serverstats
   5 @@ -1,2 +1,2 @@
   6  # Update the serverstatistic every minute.
   7 -*/5 * * * * root if [ -x /usr/bin/php5 ] && [ -f /usr/share/serverstats/update.php ]; then /usr/bin/php5 /usr/share/serverstats/update.php > /dev/null; fi
   8 +*/2 * * * * root if [ -x /usr/bin/php5 ] && [ -f /usr/share/serverstats/update.php ]; then /usr/bin/php5 /usr/share/serverstats/update.php > /dev/null; fi
   9 diff --git a/serverstats/graph.php b/serverstats/graph.php
  10 index 3c720c2..43081c6 100644
  11 --- a/serverstats/graph.php
  12 +++ b/serverstats/graph.php
  13 @@ -511,10 +511,12 @@ $config['list'][] = array(
  14  // Define what Graphes we want in the detail view (detail.php)
  15  $config['types'] = array(
  16  //	array('title' => 'Hour', 'period' => 3600), // only useful if you have a small step
  17 -	array('title' => 'Day', 'period' => 86400),
  18 -	array('title' => 'Week', 'period' => 604800),
  19 -	array('title' => 'Month', 'period' => 2678400),
  20 -	array('title' => 'Year', 'period' => 31536000)
  21 +	array('title' => '4 heures', 'period' => 14400),
  22 +	array('title' => '10 heures', 'period' => 36000),
  23 +	array('title' => 'Un jour', 'period' => 86400),
  24 +	array('title' => 'Une semaine', 'period' => 604800),
  25 +	array('title' => 'Un mois', 'period' => 2678400),
  26 +	array('title' => 'Une annee', 'period' => 31536000)
  27  );
  28  // The period uses in the graph overview (index.php)
  29  $config['defaultperiod'] = 86400;
  30 diff --git a/serverstats/main.php b/serverstats/main.php
  31 index 8f18fa9..f32b64c 100644
  32 --- a/serverstats/main.php
  33 +++ b/serverstats/main.php
  34 @@ -29,7 +29,7 @@ $config = array(
  35  	// Where to find the rrdtool binary
  36  	'rrdtool' => '/usr/bin/rrdtool',
  37  	// step for rrd-files, read 'man rrdcreate'
  38 -	'step' => 300
  39 +	'step' => 120
  40  );
  41  
  42  ?>
  43 diff --git a/serverstats/simple.php b/serverstats/simple.php
  44 index 0a8bea7..fc65d86 100644
  45 --- a/serverstats/simple.php
  46 +++ b/serverstats/simple.php
  47 @@ -39,8 +39,8 @@ $config['modules'] = array(
  48  		)
  49  	),
  50  	'disk' => array(
  51 -		'used' => false,
  52 -		'disks' => array('hda'),
  53 +		'used' => true,
  54 +		'disks' => array('mmcblk0', 'sda', 'dm-0'),
  55  		'graphs' => array(
  56  			'iorate' => array('used' => true, 'title' => 'IO-Rate (%s)')
  57  		)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2016-01-28 10:19:50, 6.0 KB) [[attachment:604je.txt]]
  • [get | view] (2016-02-01 08:06:36, 13.9 KB) [[attachment:605RAM-luMatin.png]]
  • [get | view] (2016-02-04 08:40:55, 18.4 KB) [[attachment:605je-transmission.png]]
  • [get | view] (2016-02-01 16:30:33, 13.2 KB) [[attachment:605luSeeding_tails-2.0-debian-8.3.0.png]]
  • [get | view] (2016-02-06 11:42:25, 3.2 KB) [[attachment:605sa-matin-tôt.txt]]
  • [get | view] (2016-02-01 10:45:31, 2.2 KB) [[attachment:605serverstats.diff]]
  • [get | view] (2016-02-05 12:24:33, 1.6 KB) [[attachment:605ve-AQ-testing-vs-sig.txt]]
  • [get | view] (2016-02-05 12:15:16, 0.7 KB) [[attachment:605ve-apt-testing.diff]]
  • [get | view] (2016-02-05 15:46:57, 1.1 KB) [[attachment:605ve-dig-DNS.txt]]
  • [get | view] (2016-05-05 07:17:56, 3.3 KB) [[attachment:618apache2_error.log.1.txt]]
  • [get | view] (2018-12-15 12:54:53, 88.7 KB) [[attachment:850satisfaction.png]]
  • [get | view] (2019-11-25 13:23:02, 24.8 KB) [[attachment:948onion-share-link.png]]
  • [get | view] (2016-03-07 12:13:33, 12.5 KB) [[attachment:CPU_606-609.png]]
  • [get | view] (2016-02-19 15:00:46, 12.0 KB) [[attachment:CPUoverLoad-Feb-19.png]]
  • [get | view] (2016-06-12 11:44:42, 12.4 KB) [[attachment:fév_mi-juin_DiscontinuitéS.png]]
  • [get | view] (2016-03-12 10:51:28, 0.2 KB) [[attachment:reboot0248.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.