How to monitor eaccelerator

允我心安 提交于 2019-12-11 09:44:02

问题


I installed eAccelerator. I can see the cache folder. And there are more or less 300MB space under it.

But how do I know that it's caching data and working well?

Any script to monitor?


回答1:


There are a few ways to verify that eAccelerator is working. If the command line php binary uses the same configuration file as the php-fastcgi version and/or the mod_php version, you can check it by executing:

#php -v

When eAccelerator is loaded successfully you will see something like:

Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with eAccelerator v0.9.5-beta2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

If you create a phpinfo() file you can monitor the memory usage, number of cached scripts and number of stored keys.



来源:https://stackoverflow.com/questions/9273599/how-to-monitor-eaccelerator

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!