xosview  1.23
About: xosview is an X Windows based system monitor (cpu, memory, swap and network usage; interrupt and serial activities; load average).
  Fossies Dox: xosview-1.23.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

swapmeter.h
Go to the documentation of this file.
1 //
2 // Initial port performed by Greg Onufer (exodus@cheers.bungi.com)
3 //
4 #ifndef _SWAPMETER_H_
5 #define _SWAPMETER_H_
6 
7 #include "fieldmetergraph.h"
8 #include "xosview.h"
9 #include <kstat.h>
10 
11 
12 class SwapMeter : public FieldMeterGraph {
13  public:
14  SwapMeter(XOSView *parent, kstat_ctl_t *kcp);
15  ~SwapMeter(void);
16 
17  const char *name(void) const { return "SwapMeter"; }
18  void checkevent(void);
19  void checkResources(void);
20 
21  protected:
22  void getswapinfo(void);
23 
24  private:
25  size_t pagesize;
26 };
27 
28 
29 #endif
void checkResources(void)
size_t pagesize
Definition: swapmeter.h:25
void checkevent(void)
void getswapinfo(void)
SwapMeter(XOSView *parent)
Definition: swapmeter.cc:21
const char * name(void) const
Definition: swapmeter.h:17
~SwapMeter(void)