26 #ifndef Common_SystemInfo_h
27 #define Common_SystemInfo_h
50 return !(*
this == other);
70 return !(*
this == other);
93 return !(*
this == other);
107 return !(*
this == other);
136 return !(*
this == other);
169 return !(*
this == other);
191 return !(*
this == other);
208 return !(*
this == other);
230 return !(*
this == other);
256 return !(*
this == other);
275 return !(*
this == other);
306 return !(*
this == other);
329 return !(*
this == other);
380 #endif // Common_SystemInfo_h
Retrieves system information (hardware, installation directory, etc)
void swap(SwapStat &other)
bool operator==(const ProcStat &other) const
bool operator!=(const DiskStat &other) const
bool operator==(const MemStat &other) const
A structure to retrieve Swapping statistics (pages swapped in/out, aggregate total numbers etc) ...
bool operator==(const ProcInfo &other) const
void swap(DiskStat &other)
std::string String
A String is simply a typedef to std::string.
The Stopwatch measures elapsed time.
bool operator==(const NetInfo &other) const
bool operator==(const OsInfo &other) const
bool operator!=(const CpuInfo &other) const
A structure to retrieve CPU statistics (system wide cpu times, idle time etc).
bool operator!=(const LoadAvgStat &other) const
bool operator==(const CpuInfo &other) const
DiskStat & operator=(const DiskStat &other)
A structure to retrieve disk statistics (read/write IOPS, transfer rates etc)
bool operator!=(const ProcStat &other) const
bool operator==(const LoadAvgStat &other) const
bool operator!=(const OsInfo &other) const
bool operator!=(const MemStat &other) const
A structure to retrieve terminal information (lines, columns etc)
bool operator!=(const FsStat &other) const
FsStat & refresh(const char *prefix="/")
bool operator==(const NetStat &other) const
A structure to retrieve CPU information (vendor, model, speed, number of cores etc.)
std::ostream & operator<<(std::ostream &os, const crontab_entry &entry)
Helper function to write crontab_entry to an ostream.
bool operator==(const DiskStat &other) const
DiskStat & refresh(const char *dir_prefix="/")
A structure to receive process statistics (CPU user time, system time, virtmal machine sizes etc) ...
bool operator!=(const NetStat &other) const
A structure to retrieve memory statistics (RAM size, used size, free size etc)
SwapStat & operator=(const SwapStat &other)
std::vector< String > args
bool operator!=(const TermInfo &other) const
A structure to retrieve network information (host name, primary interface, primary address...
bool operator==(const CpuStat &other) const
A structure to retrieve Filesystem statistics (total size, free size, used size etc) ...
A structure to retrieve load average-statistics.
bool operator!=(const NetInfo &other) const
bool operator==(const TermInfo &other) const
const char * system_info_lib_version()
Returns a descriptive string of the libsigar version.
Internet address wrapper classes and utility functions.
bool operator!=(const ProcInfo &other) const
The Stopwatch class measures elapsed time between instantiation (or a call to start) and a call to st...
bool operator==(const SwapStat &other) const
bool operator!=(const CpuStat &other) const
A structure to receive process information (pid, user name, exe name, working directory, program arguments etc)
bool operator==(const FsStat &other) const
A structure to retrieve operating system information (name, version, vendor, architecture) ...
bool operator!=(const SwapStat &other) const
A structure to retrieve network statistics (receiving rate, transmitting rate etc) ...