Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/php/eaccelerator | ||
|---|---|---|
| 18 | 18 |
# - php file placed on web server , paste there below code (strip hash files first) |
| 19 | 19 |
# |
| 20 | 20 |
# <?php |
| 21 |
# $error_reporting(E_NONE);
|
|
| 22 |
# // notice keys orders is very important
|
|
| 21 |
# $error_reporting(E_NONE); |
|
| 22 |
# // notice keys orders is very important |
|
| 23 | 23 |
# $keys = array("memorySize"=>0,"memoryAvailable"=>0,"memoryAllocated"=>0,"cachedScripts"=>0,"removedScripts"=>0,"cachedKeys"=>0);
|
| 24 | 24 |
# if(!function_exists("eaccelerator_info"))
|
| 25 | 25 |
# $info = $keys; |
| ... | ... | |
| 35 | 35 |
# http://localhost/eaccelerator_status.php |
| 36 | 36 |
# if you see the plain text with values then its working ok! |
| 37 | 37 |
# if you see the plain text and all values are zero then probalby eaccelerator is not enabled. |
| 38 |
# - installed wget
|
|
| 38 |
# - installed wget |
|
| 39 | 39 |
# |
| 40 | 40 |
################################################################# |
| 41 | 41 |
# |
| ... | ... | |
| 53 | 53 |
# Changelog |
| 54 | 54 |
# |
| 55 | 55 |
# Revision 0.1 Tue 03 Feb 2009 02:16:02 PM CET _KaszpiR_ |
| 56 |
# - initial release,
|
|
| 57 |
#
|
|
| 56 |
# - initial release, |
|
| 57 |
# |
|
| 58 | 58 |
################################################################# |
| 59 | 59 |
|
| 60 | 60 |
|
| ... | ... | |
| 79 | 79 |
echo 'graph_args -l 0' |
| 80 | 80 |
echo 'graph_category webserver' |
| 81 | 81 |
echo 'graph_info This graph shows performance of the eaccelerator module on WWW server.' |
| 82 |
|
|
| 82 |
|
|
| 83 | 83 |
echo 'memorysize.label total' |
| 84 | 84 |
echo 'memorysize.draw AREA' |
| 85 | 85 |
echo 'memorysize.min 0' |
| ... | ... | |
| 91 | 91 |
# echo "memoryallocated.warning 92" |
| 92 | 92 |
# echo "memoryallocated.critical 98" |
| 93 | 93 |
echo 'memoryallocated.info Memory allocated .' |
| 94 |
|
|
| 94 |
|
|
| 95 | 95 |
echo 'memoryavailable.label available' |
| 96 | 96 |
echo 'memoryavailable.min 0' |
| 97 | 97 |
echo 'memoryavailable.info Memory available .' |
Formats disponibles : Unified diff