InfoAction.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "comm/Connection.h"
#include "globals.h"
#include "HttpReply.h"
#include "ipc/Messages.h"
#include "ipc/TypedMsgHdr.h"
#include "ipc/UdsOp.h"
#include "mgr/Filler.h"
#include "mgr/InfoAction.h"
#include "mgr/Request.h"
#include "mgr/Response.h"
#include "SquidTime.h"
#include "Store.h"
#include "tools.h"
Include dependency graph for InfoAction.cc:

Go to the source code of this file.

Functions

void GetInfo (Mgr::InfoActionData &stats)
 
void DumpInfo (Mgr::InfoActionData &stats, StoreEntry *sentry)
 
void DumpMallocStatistics (StoreEntry *sentry)
 

Function Documentation

void DumpInfo ( Mgr::InfoActionData stats,
StoreEntry sentry 
)

Definition at line 585 of file stat.cc.

References APP_SHORTNAME, StoreEntry::append(), StoreInfoStats::Part::available(), Mgr::InfoActionData::avg_client_http_requests, Mgr::InfoActionData::avg_icp_messages, Mgr::InfoActionData::avg_loop_time, Mgr::InfoActionData::biggest_fd, Mgr::InfoActionData::byte_hit_ratio5, Mgr::InfoActionData::byte_hit_ratio60, Mgr::InfoActionData::cache_hits5, Mgr::InfoActionData::cache_hits60, Mgr::InfoActionData::cache_misses5, Mgr::InfoActionData::cache_misses60, StoreInfoStats::Part::capacity, SquidConfig::client_db, Mgr::InfoActionData::client_http_clients, Mgr::InfoActionData::client_http_requests, Config, StoreInfoStats::Part::count, Mgr::InfoActionData::count, Mgr::InfoActionData::cpu_time, Mgr::InfoActionData::cpu_usage, Mgr::InfoActionData::cpu_usage5, Mgr::InfoActionData::cpu_usage60, Mgr::InfoActionData::current_time, Mgr::InfoActionData::dns_lookups5, Mgr::InfoActionData::dns_lookups60, Math::doublePercent(), Mgr::InfoActionData::gb_freed_count, Mgr::InfoActionData::gb_saved_count, Mgr::InfoActionData::htcp_pkts_recv, Mgr::InfoActionData::htcp_pkts_sent, Mgr::InfoActionData::http_requests5, Mgr::InfoActionData::http_requests60, Mgr::InfoActionData::icp_pkts_recv, Mgr::InfoActionData::icp_pkts_sent, Mgr::InfoActionData::icp_queries5, Mgr::InfoActionData::icp_queries60, Mgr::InfoActionData::icp_replies_queued, Mgr::InfoActionData::max_fd, Mgr::InfoActionData::maxrss, StoreInfoStats::Part::meanObjectSize(), StoreInfoStats::mem, StoreInfoStats::mem_object_count, memPoolGetGlobalStats(), mkrfc1123(), Mgr::InfoActionData::near_hits5, Mgr::InfoActionData::near_hits60, Mgr::InfoActionData::not_modified_replies5, Mgr::InfoActionData::not_modified_replies60, Mgr::InfoActionData::num_fd_free, Mgr::InfoActionData::number_fd, SquidConfig::onoff, StoreInfoStats::Swap::open_disk_fd, Mgr::InfoActionData::opening_fd, Mgr::InfoActionData::page_faults, Mgr::InfoActionData::request_failure_ratio, Mgr::InfoActionData::request_hit_disk_ratio5, Mgr::InfoActionData::request_hit_disk_ratio60, Mgr::InfoActionData::request_hit_mem_ratio5, Mgr::InfoActionData::request_hit_mem_ratio60, Mgr::InfoActionData::request_hit_ratio5, Mgr::InfoActionData::request_hit_ratio60, Mgr::InfoActionData::reserved_fd, Mgr::InfoActionData::select_loops, service_name, StoreInfoStats::Part::size, Mgr::InfoActionData::squid_start, SQUIDSBUFPH, SQUIDSBUFPRINT, Mgr::InfoActionData::store, StoreInfoStats::store_entry_count, storeAppendPrintf(), StoreInfoStats::swap, Mgr::InfoActionData::total_accounted, Mgr::InfoActionData::unlink_requests, Mgr::InfoActionData::up_time, and version_string.

Referenced by Mgr::InfoAction::dump().

void DumpMallocStatistics ( StoreEntry sentry)

Definition at line 795 of file stat.cc.

References current_dtime, storeAppendPrintf(), xm_deltat, and xm_time.

Referenced by Mgr::InfoAction::dump().

void GetInfo ( Mgr::InfoActionData stats)

Definition at line 461 of file stat.cc.

References Mgr::InfoActionData::avg_client_http_requests, Mgr::InfoActionData::avg_icp_messages, Mgr::InfoActionData::avg_loop_time, Biggest_FD, Mgr::InfoActionData::biggest_fd, Mgr::InfoActionData::byte_hit_ratio5, Mgr::InfoActionData::byte_hit_ratio60, Mgr::InfoActionData::cache_hits5, Mgr::InfoActionData::cache_hits60, Mgr::InfoActionData::cache_misses5, Mgr::InfoActionData::cache_misses60, StatCounters::client_http, Mgr::InfoActionData::client_http_clients, Mgr::InfoActionData::client_http_requests, StatCounters::clients, mgb_t::count, Mgr::InfoActionData::cpu_time, Mgr::InfoActionData::cpu_usage, Mgr::InfoActionData::cpu_usage5, Mgr::InfoActionData::cpu_usage60, current_time, Mgr::InfoActionData::current_time, Mgr::InfoActionData::dns_lookups5, Mgr::InfoActionData::dns_lookups60, Math::doublePercent(), fdNFree(), MemPoolMeter::gb_freed, Mgr::InfoActionData::gb_freed_count, MemPoolMeter::gb_saved, Mgr::InfoActionData::gb_saved_count, Store::Controller::getStats(), StatCounters::htcp, Mgr::InfoActionData::htcp_pkts_recv, Mgr::InfoActionData::htcp_pkts_sent, Mgr::InfoActionData::http_requests5, Mgr::InfoActionData::http_requests60, StatCounters::icp, Mgr::InfoActionData::icp_pkts_recv, Mgr::InfoActionData::icp_pkts_sent, Mgr::InfoActionData::icp_queries5, Mgr::InfoActionData::icp_queries60, Mgr::InfoActionData::icp_replies_queued, Mgr::InfoActionData::max_fd, Mgr::InfoActionData::maxrss, memPoolGetGlobalStats(), Mgr::InfoActionData::near_hits5, Mgr::InfoActionData::near_hits60, Mgr::InfoActionData::not_modified_replies5, Mgr::InfoActionData::not_modified_replies60, Mgr::InfoActionData::num_fd_free, Number_FD, Mgr::InfoActionData::number_fd, Opening_FD, Mgr::InfoActionData::opening_fd, Mgr::InfoActionData::page_faults, PCTILE_DNS, PCTILE_HIT, PCTILE_HTTP, PCTILE_ICP_QUERY, PCTILE_MISS, PCTILE_NH, PCTILE_NM, StatCounters::pkts_recv, StatCounters::pkts_sent, StatCounters::replies_queued, Mgr::InfoActionData::request_failure_ratio, request_failure_ratio, Mgr::InfoActionData::request_hit_disk_ratio5, Mgr::InfoActionData::request_hit_disk_ratio60, Mgr::InfoActionData::request_hit_mem_ratio5, Mgr::InfoActionData::request_hit_mem_ratio60, Mgr::InfoActionData::request_hit_ratio5, Mgr::InfoActionData::request_hit_ratio60, StatCounters::requests, RESERVED_FD, Mgr::InfoActionData::reserved_fd, Store::Root(), rusage_cputime(), rusage_maxrss(), rusage_pagefaults(), Mgr::InfoActionData::select_loops, StatCounters::select_loops, squid_getrusage(), Squid_MaxFD, Mgr::InfoActionData::squid_start, squid_start, statByteHitRatio(), statCounter, statCPUUsage(), statMemoryAccounted(), statPctileSvc(), statRequestHitDiskRatio(), statRequestHitMemoryRatio(), statRequestHitRatio(), Mgr::InfoActionData::store, _MemPoolGlobalStats::TheMeter, Mgr::InfoActionData::total_accounted, tvSubDsec(), StatCounters::unlink, Mgr::InfoActionData::unlink_requests, and Mgr::InfoActionData::up_time.

Referenced by Mgr::InfoAction::collect().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors