aptget php opcache,PHP: opcache_get_status - Manual

Example output from this function:

array(8) {

["opcache_enabled"]=>

bool(true)

["cache_full"]=>

bool(false)

["restart_pending"]=>

bool(false)

["restart_in_progress"]=>

bool(false)

["memory_usage"]=>

array(4) {

["used_memory"]=>

int(10936144)

["free_memory"]=>

int(123281584)

["wasted_memory"]=>

int(0)

["current_wasted_percentage"]=>

float(0)

}

["interned_strings_usage"]=>

array(4) {

["buffer_size"]=>

int(8388608)

["used_memory"]=>

int(458480)

["free_memory"]=>

int(7930128)

["number_of_strings"]=>

int(5056)

}

["opcache_statistics"]=>

array(13) {

["num_cached_scripts"]=>

int(1)

["num_cached_keys"]=>

int(2)

["max_cached_keys"]=>

int(7963)

["hits"]=>

int(0)

["start_time"]=>

int(1410858101)

["last_restart_time"]=>

int(0)

["oom_restarts"]=>

int(0)

["hash_restarts"]=>

int(0)

["manual_restarts"]=>

int(0)

["misses"]=>

int(1)

["blacklist_misses"]=>

int(0)

["blacklist_miss_ratio"]=>

float(0)

["opcache_hit_rate"]=>

float(0)

}

["scripts"]=>

array(1) {

["/var/www/opcache.php"]=>

array(6) {

["full_path"]=>

string(17) "/var/www/opcache.php"

["hits"]=>

int(0)

["memory_consumption"]=>

int(1064)

["last_used"]=>

string(24) "Tue Sep 16 09:01:41 2014"

["last_used_timestamp"]=>

int(1410858101)

["timestamp"]=>

int(1410858099)

}

}

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值