$v) { if($debug && in_array($k,$debug_vars)) $v = 'on'; if($log_errors && in_array($k,$log_vars)) { $v = 'on'; $out .= 'ini_set(\'error_log\',\''.GV_RootPath.'logs/php_error.log\');'.$EOL; } $out .= 'ini_set(\''.$k.'\',\''.$v.'\');'.$EOL; $out .= $extra_conf; } if($error === false) { if(file_put_contents(dirname( __FILE__ ) . "/../../config/_GV.php", $out) === false) { return false; } else return true; } return false; } function check_binaries() { $binaries = array( 'PHP CLI'=> GV_cli, 'ImageMagick (convert)'=> GV_imagick, 'PDF 2 SWF'=> GV_pdf2swf, 'Unoconv'=> GV_unoconv, 'SWFextract'=> GV_swf_extract, 'SWFrender'=> GV_swf_render, 'MP4Box'=> GV_mp4box, 'xpdf (pdf2text)'=>GV_pdftotext, 'ImageMagick (composite)'=> GV_pathcomposite, 'Exiftool'=> GV_exiftool, 'FFmpeg'=> GV_ffmpeg, 'MPlayer'=> GV_mplayer ); echo '
Memcache Server version: | ".$stats ["version"]." |
Process id of this server process | ".$stats ["pid"]." |
Number of seconds this server has been running | ".$stats ["uptime"]." |
Accumulated user time for this process | ".$stats ["rusage_user"]." seconds |
Accumulated system time for this process | ".$stats ["rusage_system"]." seconds |
Total number of items stored by this server ever since it started | ".$stats ["total_items"]." |
Number of open connections | ".$stats ["curr_connections"]." |
Total number of connections opened since the server started running | ".$stats ["total_connections"]." |
Number of connection structures allocated by the server | ".$stats ["connection_structures"]." |
Cumulative number of retrieval requests | ".$stats ["cmd_get"]." |
Cumulative number of storage requests | ".$stats ["cmd_set"]." |
Number of keys that have been requested and found present | ".$stats ["get_hits"]." ($percCacheHit%) |
Number of items that have been requested and not found | ".$stats ["get_misses"]."($percCacheMiss%) |
Total number of bytes read by this server from network | ".round($MBRead,1)." MB |
Total number of bytes sent by this server to network | ".round($MBWrite,1)." MB |
Number of bytes this server is allowed to use for storage. | ".round($MBSize,1)." MB |
Number of valid items removed from cache to free memory for new items. | ".$stats ["evictions"]." |