From c53918d6e2767e61c0ba5c2766deae3a1104ccc2 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Tue, 13 Dec 2016 14:04:40 +0000 Subject: html elements git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1774018 13f79535-47bb-0310-9956-ffa450edef68 --- modules/cache/mod_socache_memcache.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'modules') diff --git a/modules/cache/mod_socache_memcache.c b/modules/cache/mod_socache_memcache.c index 28f981377a..0b884e407f 100644 --- a/modules/cache/mod_socache_memcache.c +++ b/modules/cache/mod_socache_memcache.c @@ -303,7 +303,7 @@ static void socache_mc_status(ap_socache_instance_t *ctx, request_rec *r, int fl apr_memcache_server_t *ms; apr_memcache_stats_t *stats; apr_status_t rv; - char *br = (!(flags & AP_STATUS_SHORT) ? "
" : ""); + char *br = (!(flags & AP_STATUS_SHORT) ? "
" : ""); ms = rc->live_servers[i]; @@ -314,21 +314,21 @@ static void socache_mc_status(ap_socache_instance_t *ctx, request_rec *r, int fl if (rv != APR_SUCCESS) continue; if (!(flags & AP_STATUS_SHORT)) { - ap_rprintf(r, "Version: %s [%u bits], PID: %u, Uptime: %u hrs
\n", + ap_rprintf(r, "Version: %s [%u bits], PID: %u, Uptime: %u hrs
\n", stats->version , stats->pointer_size, stats->pid, stats->uptime/3600); - ap_rprintf(r, "Clients:: Structures: %u, Total: %u, Current: %u
\n", + ap_rprintf(r, "Clients:: Structures: %u, Total: %u, Current: %u
\n", stats->connection_structures, stats->total_connections, stats->curr_connections); - ap_rprintf(r, "Storage:: Total Items: %u, Current Items: %u, Bytes: %lu
\n", + ap_rprintf(r, "Storage:: Total Items: %u, Current Items: %u, Bytes: %lu
\n", stats->total_items, stats->curr_items, stats->bytes); - ap_rprintf(r, "CPU:: System: %u, User: %u
\n", + ap_rprintf(r, "CPU:: System: %u, User: %u
\n", (unsigned)stats->rusage_system, (unsigned)stats->rusage_user ); - ap_rprintf(r, "Cache:: Gets: %u, Sets: %u, Hits: %u, Misses: %u
\n", + ap_rprintf(r, "Cache:: Gets: %u, Sets: %u, Hits: %u, Misses: %u
\n", stats->cmd_get, stats->cmd_set, stats->get_hits, stats->get_misses); - ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu
\n", + ap_rprintf(r, "Net:: Input bytes: %lu, Output bytes: %lu
\n", stats->bytes_read, stats->bytes_written); - ap_rprintf(r, "Misc:: Evictions: %lu, MaxMem: %u, Threads: %u
\n", + ap_rprintf(r, "Misc:: Evictions: %lu, MaxMem: %u, Threads: %u
\n", stats->evictions, stats->limit_maxbytes, stats->threads); - ap_rputs("

\n", r); + ap_rputs("

\n", r); } else { ap_rprintf(r, "Version: %s [%u bits], PID: %u, Uptime: %u hrs %s\n", -- cgit v1.2.3