3 * Header file for vmstat_hpux module for UCD-SNMP
4 * Gary Edwards <garye@cadence.com>
9 * Prevent accidental double inclusions
11 #ifndef _MIBGROUP_VMSTAT_HPUX_H
12 #define _MIBGROUP_VMSTAT_HPUX_H
15 * Directive to include utility module
17 config_require(util_funcs)
20 * Make 64-bit pstat calls
24 * MIB wants CPU_SYSTEM which is CP_SYS + CP_WAIT (see sys/dk.h)
28 * Time interval to gather system data
31 * Lower value -> more accurate data, higher value -> less CPU usage
36 #define POLL_INTERVAL 60
38 * How many snapshots of system data to keep. Values returned are over
41 * time difference between first and last snapshot
44 * Using POLL_INTERVAL 60 and POLL_VALUES 5 we get the values
47 * over five minutes, which is a reasonable figure
51 * Declared in vmstat_hpux.c, from prototype
53 void init_vmstat_hpux(void);
55 #endif /* _MIBGROUP_VMSTAT_HPUX_H */