0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Hypertable::FsStat Struct Reference

A structure to retrieve Filesystem statistics (total size, free size, used size etc) More...

#include <SystemInfo.h>

Collaboration diagram for Hypertable::FsStat:
Collaboration graph
[legend]

Public Member Functions

 FsStat ()
 
FsStatrefresh (const char *prefix="/")
 
bool operator== (const FsStat &other) const
 
bool operator!= (const FsStat &other) const
 

Public Attributes

String prefix
 
double use_pct
 
uint64_t total
 
uint64_t free
 
uint64_t used
 
uint64_t avail
 
uint64_t files
 
uint64_t free_files
 

Detailed Description

A structure to retrieve Filesystem statistics (total size, free size, used size etc)

Definition at line 299 of file SystemInfo.h.

Constructor & Destructor Documentation

Hypertable::FsStat::FsStat ( )
inline

Definition at line 300 of file SystemInfo.h.

Member Function Documentation

bool Hypertable::FsStat::operator!= ( const FsStat other) const
inline

Definition at line 305 of file SystemInfo.h.

bool FsStat::operator== ( const FsStat other) const

Definition at line 186 of file SystemInfo.cc.

FsStat & Hypertable::FsStat::refresh ( const char *  prefix = "/")

Definition at line 782 of file SystemInfo.cc.

Member Data Documentation

uint64_t Hypertable::FsStat::avail

Definition at line 315 of file SystemInfo.h.

uint64_t Hypertable::FsStat::files

Definition at line 318 of file SystemInfo.h.

uint64_t Hypertable::FsStat::free

Definition at line 313 of file SystemInfo.h.

uint64_t Hypertable::FsStat::free_files

Definition at line 319 of file SystemInfo.h.

String Hypertable::FsStat::prefix

Definition at line 310 of file SystemInfo.h.

uint64_t Hypertable::FsStat::total

Definition at line 312 of file SystemInfo.h.

double Hypertable::FsStat::use_pct

Definition at line 311 of file SystemInfo.h.

uint64_t Hypertable::FsStat::used

Definition at line 314 of file SystemInfo.h.


The documentation for this struct was generated from the following files: