Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

vreposmonitor.C File Reference

#include <math.h>
#include <Basics.H>
#include <SRPC.H>
#include <ReposStatsSRPC.H>
#include <VDirSurrogate.H>

Go to the source code of this file.

Functions

ReposStats::StatsResultoperator- (const ReposStats::StatsResult &lhs, const ReposStats::StatsResult &rhs) throw ()
bool operator< (const ReposStats::StatsResult &lhs, const ReposStats::StatsResult &rhs) throw ()
void freeStatsResult (ReposStats::StatsResult *trash) throw ()
Text TextStartTime (time_t when) throw ()
Text TextUptime (Basics::uint32 uptime) throw ()
int main (int argc, char *argv[])

Variables

Text program_name
Text time_format
Text repos_host
Text repos_port
ReposStats::StatsRequest statsRequest


Function Documentation

void freeStatsResult ReposStats::StatsResult trash  )  throw ()
 

Definition at line 190 of file vreposmonitor.C.

References Table< K, V >::Iterator::Next().

int main int  argc,
char *  argv[]
 

Definition at line 671 of file vreposmonitor.C.

References Sequence< Elem, elem_ptrfree >::addhi(), check(), VDirSurrogate::defaultHost(), VDirSurrogate::defaultPort(), ReposStats::dupeTotal, Error(), ReposStats::fdCache, Text::FindCharR(), VestaConfig::get_Text(), ReposStats::memUsage, SRPC::failure::msg, VestaConfig::failure::msg, ReposStats::nfsTotal, SRPC::failure::r, ReposStats::srpcTotal, and Text::Sub().

ReposStats::StatsResult* operator- const ReposStats::StatsResult lhs,
const ReposStats::StatsResult rhs
throw ()
 

Definition at line 46 of file vreposmonitor.C.

References ReposStats::dupeTotal, ReposStats::fdCache, ReposStats::memUsage, NEW, NEW_CONSTR, Table< K, V >::Iterator::Next(), ReposStats::nfsTotal, Table< K, V >::Default::Put(), and ReposStats::srpcTotal.

bool operator< const ReposStats::StatsResult lhs,
const ReposStats::StatsResult rhs
throw ()
 

Definition at line 117 of file vreposmonitor.C.

References ReposStats::TimedCalls::call_count, ReposStats::DupeStats::completed, ReposStats::dupeTotal, ReposStats::TimedCalls::elapsed_secs, ReposStats::TimedCalls::elapsed_usecs, ReposStats::FdCacheStats::evictions, ReposStats::FdCacheStats::expirations, ReposStats::fdCache, ReposStats::FdCacheStats::hits, ReposStats::DupeStats::inProcess, Table< K, V >::Iterator::Next(), ReposStats::nfsTotal, ReposStats::DupeStats::non, ReposStats::FdCacheStats::open_misses, ReposStats::srpcTotal, and ReposStats::FdCacheStats::try_misses.

Text TextStartTime time_t  when  )  throw ()
 

Definition at line 377 of file vreposmonitor.C.

References Text::cchars().

Text TextUptime Basics::uint32  uptime  )  throw ()
 

Definition at line 386 of file vreposmonitor.C.

References Text::Empty().


Variable Documentation

Text program_name
 

Definition at line 38 of file vreposmonitor.C.

Text repos_host
 

Definition at line 44 of file vreposmonitor.C.

Text repos_port
 

Definition at line 44 of file vreposmonitor.C.

ReposStats::StatsRequest statsRequest
 

Definition at line 215 of file vreposmonitor.C.

Text time_format
 

Definition at line 41 of file vreposmonitor.C.


Generated on Mon May 8 00:49:04 2006 for Vesta by  doxygen 1.4.2