Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
7be15492
Commit
7be15492
authored
Dec 25, 2013
by
godog
Committed by
agata
Oct 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove apc stats reporting, not used anymore
parent
29d8ef73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
apc_stats_r2mon.php
apc_stats_r2mon.php
+0
-29
No files found.
apc_stats_r2mon.php
deleted
100644 → 0
View file @
29d8ef73
<?php
function
print_stat
(
$key
,
$value
)
{
echo
"
$key
:
$value
\n
"
;
}
$cache
=
apc_cache_info
(
''
,
true
);
foreach
(
$cache
as
$key
=>
$value
)
{
if
(
$key
===
"memory_type"
or
$key
===
"locking_type"
)
continue
;
print_stat
(
$key
,
$value
);
}
$mem
=
apc_sma_info
(
true
);
foreach
(
$mem
as
$key
=>
$value
)
{
print_stat
(
$key
,
$value
);
}
/*
* Significant data:
* $cache['num_entries'] => number files
* $cache['mem_size'] => size cached files
* $cache['num_hits'] => hits
* $cache['num_misses'] => misses
* $cache['expunges'] => cache full count
*
* $mem['num_seg'] * $mem['seg_size'] => memory size
* $mem['avail_mem'] => free memory
*/
?>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment