downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<apc_load_constantsapc_store>
Last updated: Thu, 26 Jun 2008

apc_sma_info

(PECL apc:2.0-3.0.9)

apc_sma_info — Retrieves APC's Shared Memory Allocation information

Description

array apc_sma_info ([ bool $limited ] )

Retrieves APC's Shared Memory Allocation information.

Parameters

limited

When set to FALSE (default) apc_sma_info() will return a detailed information about each segment.

Return Values

Array of Shared Memory Allocation data; FALSE on failure.

Examples

Example #1 A apc_sma_info() example

<?php
print_r
(apc_sma_info());
?>

The above example will output something similar to:

Array
(
    [num_seg] => 1
    [seg_size] => 31457280
    [avail_mem] => 31448408
    [block_lists] => Array
        (
            [0] => Array
                (
                    [0] => Array
                        (
                            [size] => 31448408
                            [offset] => 8864
                        )

                )

        )

)



add a noteadd a note User Contributed Notes
Retrieves APC's Shared Memory Allocation information
There are no user contributed notes for this page.




<apc_load_constantsapc_store>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs