You are here

function _memcache_admin_stats_connections in Memcache API and Integration 7

Same name and namespace in other branches
  1. 6 memcache_admin/memcache_admin.module \_memcache_admin_stats_connections()

Statistics report: format total and open connections.

1 call to _memcache_admin_stats_connections()
memcache_admin_stats in memcache_admin/memcache_admin.module
Callback for the Memcache Stats page.

File

memcache_admin/memcache_admin.module, line 138
For the collection and display of memcache stats.

Code

function _memcache_admin_stats_connections($stats) {
  return t('!current open of !total total', array(
    '!current' => number_format($stats['curr_connections']),
    '!total' => number_format($stats['total_connections']),
  ));
}