prod_check.opcache.data_sample.inc 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. <?php
  2. function opcache_get_status() {
  3. return array (
  4. 'opcache_enabled' => true,
  5. 'cache_full' => false,
  6. 'memory_usage' =>
  7. array (
  8. 'used_memory' => 12028872,
  9. 'free_memory' => 4235696,
  10. 'wasted_memory' => 512648,
  11. 'current_wasted_percentage' => 3.0556201934814,
  12. ),
  13. 'opcache_statistics' =>
  14. array (
  15. 'num_cached_scripts' => 59,
  16. 'num_cached_keys' => 78,
  17. 'max_cached_keys' => 223,
  18. 'hits' => 66817,
  19. 'last_restart_time' => 0,
  20. 'misses' => 126,
  21. 'blacklist_misses' => 0,
  22. 'blacklist_miss_ratio' => 0,
  23. 'opcache_hit_rate' => 99.81178017119,
  24. 'oom_restarts' => 0,
  25. 'manual_restarts' => 0,
  26. 'hash_restarts' => 0,
  27. ),
  28. 'scripts' =>
  29. array (
  30. '/var/www/phpweb/manual/en/toc/faq.inc' =>
  31. array (
  32. 'full_path' => '/var/www/phpweb/manual/en/toc/faq.inc',
  33. 'hits' => 9,
  34. 'memory_consumption' => 5680,
  35. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  36. 'last_used_timestamp' => 1363461391,
  37. 'timestamp' => 1363345905,
  38. ),
  39. '/var/www/phpweb/downloads.php' =>
  40. array (
  41. 'full_path' => '/var/www/phpweb/downloads.php',
  42. 'hits' => 86,
  43. 'memory_consumption' => 9488,
  44. 'last_used' => 'Sat Mar 16 12:03:47 2013',
  45. 'last_used_timestamp' => 1363460627,
  46. 'timestamp' => 1355102402,
  47. ),
  48. '/var/www/phpweb/include/languages.inc' =>
  49. array (
  50. 'full_path' => '/var/www/phpweb/include/languages.inc',
  51. 'hits' => 5605,
  52. 'memory_consumption' => 16984,
  53. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  54. 'last_used_timestamp' => 1363461391,
  55. 'timestamp' => 1362994804,
  56. ),
  57. '/var/www/phpweb/include/header.inc' =>
  58. array (
  59. 'full_path' => '/var/www/phpweb/include/header.inc',
  60. 'hits' => 9,
  61. 'memory_consumption' => 20352,
  62. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  63. 'last_used_timestamp' => 1363461391,
  64. 'timestamp' => 1357938001,
  65. ),
  66. '/var/www/phpweb/manual/en/toc/getting-started.inc' =>
  67. array (
  68. 'full_path' => '/var/www/phpweb/manual/en/toc/getting-started.inc',
  69. 'hits' => 9,
  70. 'memory_consumption' => 1936,
  71. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  72. 'last_used_timestamp' => 1363461391,
  73. 'timestamp' => 1363345409,
  74. ),
  75. '/var/www/phpweb/manual/en/faq.php' =>
  76. array (
  77. 'full_path' => '/var/www/phpweb/manual/en/faq.php',
  78. 'hits' => 122,
  79. 'memory_consumption' => 5152,
  80. 'last_used' => 'Sat Mar 16 12:06:15 2013',
  81. 'last_used_timestamp' => 1363460775,
  82. 'timestamp' => 1363345906,
  83. ),
  84. '/var/www/phpweb/include/footer.inc' =>
  85. array (
  86. 'full_path' => '/var/www/phpweb/include/footer.inc',
  87. 'hits' => 9,
  88. 'memory_consumption' => 1976,
  89. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  90. 'last_used_timestamp' => 1363461391,
  91. 'timestamp' => 1347648001,
  92. ),
  93. '/var/www/phpweb/include/site.inc' =>
  94. array (
  95. 'full_path' => '/var/www/phpweb/include/site.inc',
  96. 'hits' => 5605,
  97. 'memory_consumption' => 63488,
  98. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  99. 'last_used_timestamp' => 1363461391,
  100. 'timestamp' => 1354724402,
  101. ),
  102. '/var/www/phpweb/include/mirrors.inc' =>
  103. array (
  104. 'full_path' => '/var/www/phpweb/include/mirrors.inc',
  105. 'hits' => 5605,
  106. 'memory_consumption' => 96160,
  107. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  108. 'last_used_timestamp' => 1363461391,
  109. 'timestamp' => 1363419613,
  110. ),
  111. '/var/www/phpweb/manual/en/toc/refs.basic.vartype.inc' =>
  112. array (
  113. 'full_path' => '/var/www/phpweb/manual/en/toc/refs.basic.vartype.inc',
  114. 'hits' => 9,
  115. 'memory_consumption' => 5032,
  116. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  117. 'last_used_timestamp' => 1363461391,
  118. 'timestamp' => 1363345844,
  119. ),
  120. '/var/www/phpweb/include/layout.inc' =>
  121. array (
  122. 'full_path' => '/var/www/phpweb/include/layout.inc',
  123. 'hits' => 5605,
  124. 'memory_consumption' => 145704,
  125. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  126. 'last_used_timestamp' => 1363461391,
  127. 'timestamp' => 1356610801,
  128. ),
  129. '/var/www/phpweb/sites.php' =>
  130. array (
  131. 'full_path' => '/var/www/phpweb/sites.php',
  132. 'hits' => 73,
  133. 'memory_consumption' => 2024,
  134. 'last_used' => 'Sat Mar 16 12:10:10 2013',
  135. 'last_used_timestamp' => 1363461010,
  136. 'timestamp' => 1354724402,
  137. ),
  138. '/var/www/phpweb/search.php' =>
  139. array (
  140. 'full_path' => '/var/www/phpweb/search.php',
  141. 'hits' => 3083,
  142. 'memory_consumption' => 19728,
  143. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  144. 'last_used_timestamp' => 1363461391,
  145. 'timestamp' => 1347648005,
  146. ),
  147. '/var/www/phpweb/manual/en/toc/langref.inc' =>
  148. array (
  149. 'full_path' => '/var/www/phpweb/manual/en/toc/langref.inc',
  150. 'hits' => 49,
  151. 'memory_consumption' => 7416,
  152. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  153. 'last_used_timestamp' => 1363461391,
  154. 'timestamp' => 1363345411,
  155. ),
  156. '/var/www/phpweb/manual/en/toc/index.inc' =>
  157. array (
  158. 'full_path' => '/var/www/phpweb/manual/en/toc/index.inc',
  159. 'hits' => 132,
  160. 'memory_consumption' => 4680,
  161. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  162. 'last_used_timestamp' => 1363461391,
  163. 'timestamp' => 1363345409,
  164. ),
  165. '/var/www/phpweb/docs.php' =>
  166. array (
  167. 'full_path' => '/var/www/phpweb/docs.php',
  168. 'hits' => 73,
  169. 'memory_consumption' => 4536,
  170. 'last_used' => 'Sat Mar 16 12:04:36 2013',
  171. 'last_used_timestamp' => 1363460676,
  172. 'timestamp' => 1347648000,
  173. ),
  174. '/var/www/phpweb/include/shared-manual.inc' =>
  175. array (
  176. 'full_path' => '/var/www/phpweb/include/shared-manual.inc',
  177. 'hits' => 122,
  178. 'memory_consumption' => 107688,
  179. 'last_used' => 'Sat Mar 16 12:06:15 2013',
  180. 'last_used_timestamp' => 1363460775,
  181. 'timestamp' => 1357938001,
  182. ),
  183. '/var/www/phpweb/include/mozopensearch.inc' =>
  184. array (
  185. 'full_path' => '/var/www/phpweb/include/mozopensearch.inc',
  186. 'hits' => 14,
  187. 'memory_consumption' => 1232,
  188. 'last_used' => 'Sat Mar 16 12:00:34 2013',
  189. 'last_used_timestamp' => 1363460434,
  190. 'timestamp' => 1347648001,
  191. ),
  192. '/var/www/phpweb/include/ip-to-country.inc' =>
  193. array (
  194. 'full_path' => '/var/www/phpweb/include/ip-to-country.inc',
  195. 'hits' => 5605,
  196. 'memory_consumption' => 21840,
  197. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  198. 'last_used_timestamp' => 1363461391,
  199. 'timestamp' => 1347648001,
  200. ),
  201. '/var/www/phpweb/include/version.inc' =>
  202. array (
  203. 'full_path' => '/var/www/phpweb/include/version.inc',
  204. 'hits' => 775,
  205. 'memory_consumption' => 7880,
  206. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  207. 'last_used_timestamp' => 1363461391,
  208. 'timestamp' => 1363321202,
  209. ),
  210. '/var/www/phpweb/include/errors.inc' =>
  211. array (
  212. 'full_path' => '/var/www/phpweb/include/errors.inc',
  213. 'hits' => 691,
  214. 'memory_consumption' => 59888,
  215. 'last_used' => 'Sat Mar 16 12:10:33 2013',
  216. 'last_used_timestamp' => 1363461033,
  217. 'timestamp' => 1347648001,
  218. ),
  219. '/var/www/phpweb/include/countries.inc' =>
  220. array (
  221. 'full_path' => '/var/www/phpweb/include/countries.inc',
  222. 'hits' => 5605,
  223. 'memory_consumption' => 31184,
  224. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  225. 'last_used_timestamp' => 1363461391,
  226. 'timestamp' => 1363419614,
  227. ),
  228. '/var/www/phpweb/error.php' =>
  229. array (
  230. 'full_path' => '/var/www/phpweb/error.php',
  231. 'hits' => 691,
  232. 'memory_consumption' => 61952,
  233. 'last_used' => 'Sat Mar 16 12:10:33 2013',
  234. 'last_used_timestamp' => 1363461033,
  235. 'timestamp' => 1347648000,
  236. ),
  237. '/var/www/phpweb/manual/en/toc/refs.basic.text.inc' =>
  238. array (
  239. 'full_path' => '/var/www/phpweb/manual/en/toc/refs.basic.text.inc',
  240. 'hits' => 9,
  241. 'memory_consumption' => 3312,
  242. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  243. 'last_used_timestamp' => 1363461391,
  244. 'timestamp' => 1363345831,
  245. ),
  246. '/var/www/phpweb/include/loadavg.inc' =>
  247. array (
  248. 'full_path' => '/var/www/phpweb/include/loadavg.inc',
  249. 'hits' => 3775,
  250. 'memory_consumption' => 12184,
  251. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  252. 'last_used_timestamp' => 1363461391,
  253. 'timestamp' => 1354738801,
  254. ),
  255. '/var/www/phpweb/include/prepend.inc' =>
  256. array (
  257. 'full_path' => '/var/www/phpweb/include/prepend.inc',
  258. 'hits' => 5605,
  259. 'memory_consumption' => 23432,
  260. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  261. 'last_used_timestamp' => 1363461391,
  262. 'timestamp' => 1347648001,
  263. ),
  264. '/var/www/phpweb/o.php' =>
  265. array (
  266. 'full_path' => '/var/www/phpweb/o.php',
  267. 'hits' => 1,
  268. 'memory_consumption' => 13424,
  269. 'last_used' => 'Sat Mar 16 18:11:21 2013',
  270. 'last_used_timestamp' => 1363482681,
  271. 'timestamp' => 1363482654,
  272. ),
  273. '/var/www/phpweb/include/pregen-events.inc' =>
  274. array (
  275. 'full_path' => '/var/www/phpweb/include/pregen-events.inc',
  276. 'hits' => 1141,
  277. 'memory_consumption' => 840,
  278. 'last_used' => 'Sat Mar 16 12:15:07 2013',
  279. 'last_used_timestamp' => 1363461307,
  280. 'timestamp' => 1363419615,
  281. ),
  282. '/var/www/phpweb/opcache.php' =>
  283. array (
  284. 'full_path' => '/var/www/phpweb/opcache.php',
  285. 'hits' => 0,
  286. 'memory_consumption' => 13944,
  287. 'last_used' => 'Sun Mar 17 01:22:31 2013',
  288. 'last_used_timestamp' => 1363508551,
  289. 'timestamp' => 1363508542,
  290. ),
  291. '/var/www/phpweb/manual/en/toc/refs.calendar.inc' =>
  292. array (
  293. 'full_path' => '/var/www/phpweb/manual/en/toc/refs.calendar.inc',
  294. 'hits' => 9,
  295. 'memory_consumption' => 2264,
  296. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  297. 'last_used_timestamp' => 1363461391,
  298. 'timestamp' => 1363345437,
  299. ),
  300. '/var/www/phpweb/manual/en/toc/security.inc' =>
  301. array (
  302. 'full_path' => '/var/www/phpweb/manual/en/toc/security.inc',
  303. 'hits' => 19,
  304. 'memory_consumption' => 5352,
  305. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  306. 'last_used_timestamp' => 1363461391,
  307. 'timestamp' => 1363345419,
  308. ),
  309. '/var/www/phpweb/include/pregen-news.inc' =>
  310. array (
  311. 'full_path' => '/var/www/phpweb/include/pregen-news.inc',
  312. 'hits' => 1161,
  313. 'memory_consumption' => 57896,
  314. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  315. 'last_used_timestamp' => 1363461391,
  316. 'timestamp' => 1363419615,
  317. ),
  318. '/var/www/phpweb/my.php' =>
  319. array (
  320. 'full_path' => '/var/www/phpweb/my.php',
  321. 'hits' => 34,
  322. 'memory_consumption' => 22640,
  323. 'last_used' => 'Sat Mar 16 12:15:15 2013',
  324. 'last_used_timestamp' => 1363461315,
  325. 'timestamp' => 1354724402,
  326. ),
  327. '/var/www/phpweb/include/pregen-confs.inc' =>
  328. array (
  329. 'full_path' => '/var/www/phpweb/include/pregen-confs.inc',
  330. 'hits' => 678,
  331. 'memory_consumption' => 1400,
  332. 'last_used' => 'Sat Mar 16 12:02:49 2013',
  333. 'last_used_timestamp' => 1363460569,
  334. 'timestamp' => 1363419615,
  335. ),
  336. '/var/www/index.php' =>
  337. array (
  338. 'full_path' => '/var/www/index.php',
  339. 'hits' => 1,
  340. 'memory_consumption' => 744,
  341. 'last_used' => 'Sat Mar 16 12:01:20 2013',
  342. 'last_used_timestamp' => 1363460480,
  343. 'timestamp' => 1358644238,
  344. ),
  345. '/var/www/phpweb/index-stable.php' =>
  346. array (
  347. 'full_path' => '/var/www/phpweb/index-stable.php',
  348. 'hits' => 679,
  349. 'memory_consumption' => 22208,
  350. 'last_used' => 'Sat Mar 16 12:02:49 2013',
  351. 'last_used_timestamp' => 1363460569,
  352. 'timestamp' => 1347648003,
  353. ),
  354. '/var/www/phpweb/conferences/index.php' =>
  355. array (
  356. 'full_path' => '/var/www/phpweb/conferences/index.php',
  357. 'hits' => 462,
  358. 'memory_consumption' => 3872,
  359. 'last_used' => 'Sat Mar 16 12:15:07 2013',
  360. 'last_used_timestamp' => 1363461307,
  361. 'timestamp' => 1347648000,
  362. ),
  363. '/var/www/phpweb/support.php' =>
  364. array (
  365. 'full_path' => '/var/www/phpweb/support.php',
  366. 'hits' => 73,
  367. 'memory_consumption' => 1912,
  368. 'last_used' => 'Sat Mar 16 12:06:40 2013',
  369. 'last_used_timestamp' => 1363460800,
  370. 'timestamp' => 1347648005,
  371. ),
  372. '/var/www/phpweb/op.php' =>
  373. array (
  374. 'full_path' => '/var/www/phpweb/op.php',
  375. 'hits' => 0,
  376. 'memory_consumption' => 1448,
  377. 'last_used' => 'Sun Mar 17 01:34:33 2013',
  378. 'last_used_timestamp' => 1363509273,
  379. 'timestamp' => 1363509263,
  380. ),
  381. '/var/www/phpweb/include/posttohost.inc' =>
  382. array (
  383. 'full_path' => '/var/www/phpweb/include/posttohost.inc',
  384. 'hits' => 342,
  385. 'memory_consumption' => 3824,
  386. 'last_used' => 'Sat Mar 16 12:09:18 2013',
  387. 'last_used_timestamp' => 1363460958,
  388. 'timestamp' => 1347648001,
  389. ),
  390. '/var/www/phpweb/include/langchooser.inc' =>
  391. array (
  392. 'full_path' => '/var/www/phpweb/include/langchooser.inc',
  393. 'hits' => 5605,
  394. 'memory_consumption' => 23784,
  395. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  396. 'last_used_timestamp' => 1363461391,
  397. 'timestamp' => 1347648001,
  398. ),
  399. '/var/www/phpweb/include/manual-lookup.inc' =>
  400. array (
  401. 'full_path' => '/var/www/phpweb/include/manual-lookup.inc',
  402. 'hits' => 624,
  403. 'memory_consumption' => 26648,
  404. 'last_used' => 'Sat Mar 16 12:10:33 2013',
  405. 'last_used_timestamp' => 1363461033,
  406. 'timestamp' => 1354750802,
  407. ),
  408. '/var/www/phpweb/mailing-lists.php' =>
  409. array (
  410. 'full_path' => '/var/www/phpweb/mailing-lists.php',
  411. 'hits' => 342,
  412. 'memory_consumption' => 31576,
  413. 'last_used' => 'Sat Mar 16 12:09:18 2013',
  414. 'last_used_timestamp' => 1363460958,
  415. 'timestamp' => 1361200802,
  416. ),
  417. '/var/www/phpweb/include/last_updated.inc' =>
  418. array (
  419. 'full_path' => '/var/www/phpweb/include/last_updated.inc',
  420. 'hits' => 5605,
  421. 'memory_consumption' => 840,
  422. 'last_used' => 'Sat Mar 16 12:16:31 2013',
  423. 'last_used_timestamp' => 1363461391,
  424. 'timestamp' => 1363419675,
  425. ),
  426. '/var/www/phpweb/include/email-validation.inc' =>
  427. array (
  428. 'full_path' => '/var/www/phpweb/include/email-validation.inc',
  429. 'hits' => 342,
  430. 'memory_consumption' => 9168,
  431. 'last_used' => 'Sat Mar 16 12:09:18 2013',
  432. 'last_used_timestamp' => 1363460958,
  433. 'timestamp' => 1362175205,
  434. ),
  435. '/var/www/phpweb/index.php' =>
  436. array (
  437. 'full_path' => '/var/www/phpweb/index.php',
  438. 'hits' => 679,
  439. 'memory_consumption' => 1840,
  440. 'last_used' => 'Sat Mar 16 12:02:49 2013',
  441. 'last_used_timestamp' => 1363460569,
  442. 'timestamp' => 1347648003,
  443. ),
  444. ),
  445. );
  446. }
  447. function opcache_get_configuration() {
  448. return array (
  449. 'directives' =>
  450. array (
  451. 'opcache.enable' => true,
  452. 'opcache.enable_cli' => false,
  453. 'opcache.use_cwd' => true,
  454. 'opcache.validate_timestamps' => true,
  455. 'opcache.inherited_hack' => true,
  456. 'opcache.dups_fix' => false,
  457. 'opcache.revalidate_path' => false,
  458. 'opcache.log_verbosity_level' => 4,
  459. 'opcache.memory_consumption' => 16777216,
  460. 'opcache.interned_strings_buffer' => 8,
  461. 'opcache.max_accelerated_files' => 200,
  462. 'opcache.max_wasted_percentage' => 0.05,
  463. 'opcache.consistency_checks' => 0,
  464. 'opcache.force_restart_timeout' => 180,
  465. 'opcache.revalidate_freq' => 0,
  466. 'opcache.preferred_memory_model' => '',
  467. 'opcache.blacklist_filename' => '/etc/zo_blacklist.txt',
  468. 'opcache.max_file_size' => 0,
  469. 'opcache.error_log' => '',
  470. 'opcache.protect_memory' => false,
  471. 'opcache.save_comments' => true,
  472. 'opcache.load_comments' => true,
  473. 'opcache.fast_shutdown' => true,
  474. 'opcache.enable_file_override' => false,
  475. 'opcache.optimization_level' => 4294967295,
  476. ),
  477. 'version' =>
  478. array (
  479. 'version' => '7.0.1-dev',
  480. 'opcache_product_name' => 'Zend Optimizer+',
  481. ),
  482. 'blacklist' =>
  483. array (
  484. 0 => '/var/www/www.php.net/manual/es',
  485. 1 => '/var/www/www.php.net/manual/it',
  486. 2 => '/var/www/www.php.net/manual/bg',
  487. 3 => '/var/www/www.php.net/manual/fa',
  488. 4 => '/var/www/www.php.net/manual/fr',
  489. 5 => '/var/www/www.php.net/manual/kr',
  490. 6 => '/var/www/www.php.net/manual/pt_BR',
  491. 7 => '/var/www/www.php.net/manual/tr',
  492. 8 => '/var/www/www.php.net/manual/de',
  493. 9 => '/var/www/www.php.net/manual/ro',
  494. 10 => '/var/www/www.php.net/manual/ru',
  495. 11 => '/var/www/www.php.net/manual/zh',
  496. 12 => '/var/www/www.php.net/manual/ja',
  497. 13 => '/var/www/www.php.net/manual/pl',
  498. 14 => '/var/www/www.php.net/manual/sr',
  499. ),
  500. );
  501. }