#include "squid.h"
#include "base/TextException.h"
#include "comm/Connection.h"
#include "globals.h"
#include "HttpReply.h"
#include "ipc/Messages.h"
#include "ipc/RequestId.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 "Store.h"
#include "tools.h"
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
◆ DumpInfo()
void DumpInfo | ( | Mgr::InfoActionData & | stats, |
StoreEntry * | sentry | ||
) |
Definition at line 554 of file stat.cc.
References APP_SHORTNAME, StoreEntry::append(), SquidConfig::client_db, Config, Math::doublePercent(), Time::FormatRfc1123(), Mem::GlobalStats(), SquidConfig::onoff, service_name, SQUIDSBUFPH, SQUIDSBUFPRINT, Ping::stats, storeAppendPrintf(), and version_string.
Referenced by Mgr::InfoAction::dump().
◆ DumpMallocStatistics()
void DumpMallocStatistics | ( | StoreEntry * | sentry | ) |
Definition at line 764 of file stat.cc.
References current_dtime, storeAppendPrintf(), xm_deltat, and xm_time.
Referenced by Mgr::InfoAction::dump().
◆ GetInfo()
void GetInfo | ( | Mgr::InfoActionData & | stats | ) |
Definition at line 431 of file stat.cc.
References Mem::PoolMeter::alloc, Biggest_FD, StatCounters::client_http, StatCounters::clients, Mem::PoolMeter::mgb_t::count, current_time, Mem::Meter::currentLevel(), Math::doublePercent(), fdNFree(), Mem::PoolMeter::gb_freed, Mem::PoolMeter::gb_saved, Store::Controller::getStats(), Mem::GlobalStats(), StatCounters::htcp, StatCounters::icp, Mem::PoolStats::meter, Number_FD, Opening_FD, PCTILE_DNS, PCTILE_HIT, PCTILE_HTTP, PCTILE_ICP_QUERY, PCTILE_MISS, PCTILE_NH, PCTILE_NM, StatCounters::pkts_recv, StatCounters::pkts_sent, StatCounters::replies_queued, request_failure_ratio, StatCounters::requests, RESERVED_FD, Store::Root(), rusage_cputime(), rusage_maxrss(), rusage_pagefaults(), StatCounters::select_loops, squid_getrusage(), Squid_MaxFD, squid_start, statByteHitRatio(), statCounter, statCPUUsage(), statPctileSvc(), statRequestHitDiskRatio(), statRequestHitMemoryRatio(), statRequestHitRatio(), Ping::stats, tvSubDsec(), and StatCounters::unlink.
Referenced by Mgr::InfoAction::collect().