linux:serverstats_howto
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
serverstats_howto [2012/03/07 12:31] – dodger | linux:serverstats_howto [2022/02/11 11:36] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== [HOWTO] Serverstats ====== | ||
+ | |||
====== Descripción ====== | ====== Descripción ====== | ||
Como poner a trabajar la herramienta [[http:// | Como poner a trabajar la herramienta [[http:// | ||
Line 7: | Line 9: | ||
He modificado el plugin ya que tenía alguna función deprecated en php y fallaba al situar los parámetros devueltos por "'' | He modificado el plugin ya que tenía alguna función deprecated en php y fallaba al situar los parámetros devueltos por "'' | ||
==== Instalación ==== | ==== Instalación ==== | ||
+ | * Copiar el php del plugin a '' | ||
+ | * Editar el fichero '' | ||
+ | <code php> | ||
+ | * Editar el fichero '' | ||
+ | * Para una gráfica porcentual: | ||
+ | <code php> | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | array( | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ) | ||
+ | ) | ||
+ | ); | ||
+ | </ | ||
+ | * Para una gráfica con datos reales: | ||
+ | <code php> | ||
+ | $config[' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | array( | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ), | ||
+ | array( | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ) | ||
+ | ) | ||
+ | ); | ||
+ | </ | ||
+ | |||
+ | |||
+ | graph.php | ||
+ | simple.php | ||
+ | |||
+ | |||
Line 44: | Line 100: | ||
private $availablespace; | private $availablespace; | ||
- | public function __construct($disk = '/ | + | public function __construct($disk = '/ |
{ | { | ||
$this-> | $this-> |
linux/serverstats_howto.txt · Last modified: 2022/02/11 11:36 by 127.0.0.1