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)  

loadmeter.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 1994, 1995, 1997 by Mike Romberg ( romberg@fsl.noaa.gov )
3 //
4 // This file may be distributed under terms of the GPL
5 //
6 
7 #ifndef _LOADMETER_H_
8 #define _LOADMETER_H_
9 
10 
11 #include "fieldmeterdecay.h"
12 
13 class LoadMeter : public FieldMeterDecay {
14 public:
15  LoadMeter( XOSView *parent );
16  ~LoadMeter( void );
17 
18  const char *name( void ) const { return "LoadMeter"; }
19  void checkevent( void );
20 
21  void checkResources( void );
22 protected:
23 
24  void getloadinfo( void );
25  unsigned long procloadcol_, warnloadcol_;
26 private:
28 };
29 
30 
31 #endif
const char * name(void) const
Definition: loadmeter.h:18
unsigned long warnloadcol_
Definition: loadmeter.h:36
LoadMeter(XOSView *parent)
void getloadinfo(void)
void checkevent(void)
void checkResources(void)
int alarmThreshold
Definition: loadmeter.h:27
unsigned long procloadcol_
Definition: loadmeter.h:36
~LoadMeter(void)