xosview
1.23
About: xosview is an X Windows based system monitor (cpu, memory, swap and network usage; interrupt and serial activities; load average).
![]() ![]() |
#include <kstats.h>
Public Types | |
enum | module { CPU_STAT , CPU_INFO , CPU_SYS , DISKS , NETS } |
Public Member Functions | |
kstat_t * | operator[] (size_t i) |
size_t | count (void) |
void | update (kstat_ctl_t *kcp) |
Static Public Member Functions | |
static KStatList * | getList (kstat_ctl_t *kcp, module m) |
Private Member Functions | |
KStatList (const KStatList &) | |
~KStatList (void) | |
KStatList & | operator= (const KStatList &) |
KStatList (kstat_ctl_t *kcp, module m) | |
void | getstats (kstat_ctl_t *kcp) |
Private Attributes | |
kid_t | _chain |
module | _m |
std::vector< kstat_t * > | _stats |
enum KStatList::module |
|
private |
|
inlineprivate |
Definition at line 60 of file kstats.h.
References _chain, _m, and getstats().
|
inline |
Definition at line 47 of file kstats.h.
References _stats.
Referenced by CPUMeter::CPUMeter(), and NetMeter::getnetstats().
Definition at line 23 of file kstats.h.
References CPU_INFO, CPU_STAT, CPU_SYS, DISKS, and NETS.
Referenced by CPUMeter::CPUMeter(), DiskMeter::DiskMeter(), IrqRateMeter::IrqRateMeter(), LoadMeter::LoadMeter(), NetMeter::NetMeter(), and PageMeter::PageMeter().
|
inlineprivate |
|
inline |
|
inline |
Definition at line 48 of file kstats.h.
References _chain, _stats, getstats(), and XOSDEBUG.
Referenced by NetMeter::getnetstats().
|
private |
Definition at line 85 of file kstats.h.
Referenced by KStatList(), and update().
|
private |
Definition at line 86 of file kstats.h.
Referenced by getstats(), and KStatList().
|
private |
Definition at line 87 of file kstats.h.
Referenced by count(), getstats(), operator[](), and update().