« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 6 of about 6 for rrdFile (0.001 sec.)
Procedural PECL/rrd example 10620
« 例 OOP PECL/rrd example » PHP Manual 例 Procedural PECL/rrd example 検索 Procedural PECL/rrd example 例1 Procedural usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; //create rrd file rrd_create ( $rrdFile , array( "--st ... art" , 920804400 , "DS:speed:COUNTER:600:U:U" , "RRA:AVERAGE:0.5:1:24" , "RRA:AVERAGE:0.5:6:10" ) ); //update rrd file rrd_update ( $rrdFile , array( "920804700:12345" , "920805000:12357" ) ); //graph output rrd_graph ( dirname ( __FILE__ ) ... . "/speed.png" , array( "--start" , "920804400" , "--end" , "920808000" , "--vertical-label" , "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); ?> 関連キーワード: rrd Procedural exampl ... e rrdFile speed array dirname create file start update graph myspeed realspeed Search usage php output png end ...
https://man.mtool.work/php/8.3/rrd.examples-procedural.html
Procedural PECL/rrd example 10620
« 例 OOP PECL/rrd example » PHP Manual 例 Procedural PECL/rrd example 検索 Procedural PECL/rrd example 例1 Procedural usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; //create rrd file rrd_create ( $rrdFile , array( "--st ... art" , 920804400 , "DS:speed:COUNTER:600:U:U" , "RRA:AVERAGE:0.5:1:24" , "RRA:AVERAGE:0.5:6:10" ) ); //update rrd file rrd_update ( $rrdFile , array( "920804700:12345" , "920805000:12357" ) ); //graph output rrd_graph ( dirname ( __FILE__ ) ... . "/speed.png" , array( "--start" , "920804400" , "--end" , "920808000" , "--vertical-label" , "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); ?> 関連キーワード: Procedural example rr ...
https://man.mtool.work/php/8.3/rrd.examples-procedural.html
OOP PECL/rrd example 10218
« Procedural PECL/rrd example RRD 関数 » PHP Manual 例 OOP PECL/rrd example 検索 OOP PECL/rrd example 例1 OO usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; $outputPngFile = dirname ( __FILE__ ) . "/speed.png" ; $creator ... = new RRDCreator ( $rrdFile , "now -10d" , 500 ); $creator -> addDataSource ( "speed:COUNTER:600:U:U" ); $creator -> addArchive ( "AVERAGE:0.5:1:24" ) ... ; $creator -> addArchive ( "AVERAGE:0.5:6:10" ); $creator -> save (); $updater = new RRDUpdater ( $rrdFile ); $updater -> update (array( "speed" => "12345" ), "920804700" ); $updater -> update (array( "speed" => "12357" ), "92080 ... hObj -> setOptions ( array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); $graphObj -> save (); ?> 関連キーワード: ...
https://man.mtool.work/php/8.3/rrd.examples-oop.html
OOP PECL/rrd example 10108
« Procedural PECL/rrd example RRD 関数 » PHP Manual 例 OOP PECL/rrd example 検索 OOP PECL/rrd example 例1 OO usage of rrd <?php $rrdFile = dirname ( __FILE__ ) . "/speed.rrd" ; $outputPngFile = dirname ( __FILE__ ) . "/speed.png" ; $creator ... = new RRDCreator ( $rrdFile , "now -10d" , 500 ); $creator -> addDataSource ( "speed:COUNTER:600:U:U" ); $creator -> addArchive ( "AVERAGE:0.5:1:24" ) ... ; $creator -> addArchive ( "AVERAGE:0.5:6:10" ); $creator -> save (); $updater = new RRDUpdater ( $rrdFile ); $updater -> update (array( "speed" => "12345" ), "920804700" ); $updater -> update (array( "speed" => "12357" ), "92080 ... hObj -> setOptions ( array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" ) ); $graphObj -> save (); ?> 関連キーワード: ...
https://man.mtool.work/php/8.3/rrd.examples-oop.html
Sets the options for rrd graph export 7183
« RRDGraph::saveVerbose RRDUpdater » PHP Manual RRDGraph Sets the options for rrd graph export 検索 RRDGraph::setOptions (PECL rrd >= 0.9.0) RRDGraph::setOptions — Sets the options for rrd graph export 説明 public function RRDGraph::setOpti ... phObj -> setOptions (array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" )); ?> 例2 Set multiple color options <?php $ ... --vertical-label" => "m/s" , "--color=BACK#00000000" , "--color=GRID#00000000" , "--color=MGRID#00000000" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" )); ?> Don't use key value syntax for same rr ... ワード: options setOptions color RRDGraph graph graphObj myspeed realspeed Sets export list strings start vertical label m/s rrdFile speed saveVerbose RRDUpdater List image generation database keys ...
https://man.mtool.work/php/8.3/rrdgraph.setoptions.html
Sets the options for rrd graph export 6032
« RRDGraph::saveVerbose RRDUpdater » PHP Manual RRDGraph Sets the options for rrd graph export 検索 RRDGraph::setOptions (PECL rrd >= 0.9.0) RRDGraph::setOptions — Sets the options for rrd graph export 説明 public function RRDGraph::setOpti ... phObj -> setOptions (array( "--start" => "920804400" , "--end" => 920808000 , "--vertical-label" => "m/s" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" )); ?> 例2 Set multiple color options <?php $ ... --vertical-label" => "m/s" , "--color=BACK#00000000" , "--color=GRID#00000000" , "--color=MGRID#00000000" , "DEF:myspeed= $rrdFile :speed:AVERAGE" , "CDEF:realspeed=myspeed,1000,*" , "LINE2:realspeed#FF0000" )); ?> Don't use key value syntax for same rr ...
https://man.mtool.work/php/8.3/rrdgraph.setoptions.html
PREV 1 NEXT