and added files
[bcm963xx.git] / userapps / opensource / net-snmp / agent / mibgroup / ucd-snmp / vmstat_solaris2.h
1 /*
2  *  vmstat_solaris2.h
3  *  Header file for vmstat_solaris2 module for UCD-SNMP
4  *  Jochen Kmietsch <kmietsch@jochen.de>
5  *  see vmstat_solaris2.c for revision history and additional comments
6  *
7  */
8
9 /*
10  * Prevent accidental double inclusions 
11  */
12 #ifndef _MIBGROUP_VMSTAT_SOLARIS2_H
13 #define _MIBGROUP_VMSTAT_SOLARIS2_H
14
15 /*
16  * The following statements are used by the configure script 
17  */
18 /*
19  * Dependency requirements 
20  */
21 config_arch_require(solaris2, kernel_sunos5)
22
23     /*
24      * Directive to include utility module 
25      */
26 config_require(util_funcs)
27
28     /*
29      * MIB wants CPU_SYSTEM which is sysinfo CPU_KERNEL + CPU_WAIT 
30      */
31 #define CPU_SYSTEM 4
32     /*
33      * Time interval to gather system data 
34      */
35     /*
36      * Lower value -> more accurate data, higher value -> less CPU usage 
37      */
38     /*
39      * Value is in seconds 
40      */
41 #define POLL_INTERVAL 60
42     /*
43      * How many snapshots of system data to keep.  Values returned are over 
44      */
45     /*
46      * time difference between first and last snapshot 
47      */
48     /*
49      * Using POLL_INTERVAL 60 and POLL_VALUES 5 we get the values 
50      */
51     /*
52      * over five minutes, which is a reasonable figure 
53      */
54 #define POLL_VALUES    5
55     /*
56      * Declared in vmstat_solaris2.c, from prototype 
57      */
58      void            init_vmstat_solaris2(void);
59
60 #endif                          /* _MIBGROUP_VMSTAT_SOLARIS2_H */