20 |
|
|
21 |
#include <config.h> |
#include <config.h> |
22 |
|
|
23 |
|
#ifdef HAVE_STDIO_H |
24 |
|
#include <stdio.h> |
25 |
|
#endif |
26 |
|
|
27 |
#ifdef HAVE_SYS_TYPES_H |
#ifdef HAVE_SYS_TYPES_H |
28 |
#include <sys/types.h> |
#include <sys/types.h> |
29 |
#endif |
#endif |
30 |
|
|
31 |
|
#ifdef HAVE_UNISTD_H |
32 |
#include <unistd.h> |
#include <unistd.h> |
33 |
|
#endif |
34 |
|
|
35 |
#ifdef HAVE_SYS_STAT_H |
#ifdef HAVE_SYS_STAT_H |
36 |
#include <sys/stat.h> |
#include <sys/stat.h> |
58 |
#include <string.h> |
#include <string.h> |
59 |
#endif |
#endif |
60 |
|
|
61 |
#include <stdio.h> |
#ifdef HAVE_KVM_H |
62 |
#include <kvm.h> |
#include <kvm.h> |
63 |
|
#endif |
64 |
|
|
65 |
|
#ifdef HAVE_SYS_PARAM_H |
66 |
#include <sys/param.h> |
#include <sys/param.h> |
67 |
|
#endif |
68 |
|
|
69 |
|
#ifdef HAVE_SYS_PROC_H |
70 |
#include <sys/proc.h> |
#include <sys/proc.h> |
71 |
|
#endif |
72 |
|
|
73 |
|
#ifdef HAVE_SYS_RESOURCE_H |
74 |
#include <sys/resource.h> |
#include <sys/resource.h> |
75 |
|
#endif |
76 |
|
|
77 |
|
#ifdef HAVE_SYS_RESOURCEVAR_H |
78 |
#include <sys/resourcevar.h> |
#include <sys/resourcevar.h> |
79 |
|
#endif |
80 |
|
|
81 |
|
#ifdef HAVE_SYS_LOCK_H |
82 |
#include <sys/lock.h> |
#include <sys/lock.h> |
83 |
|
#endif |
84 |
|
|
85 |
|
#ifdef HAVE_SYS_USER_H |
86 |
#include <sys/user.h> |
#include <sys/user.h> |
87 |
|
#endif |
88 |
|
|
89 |
|
#ifdef HAVE_MACHINE_VMPARAM_H |
90 |
#include <machine/vmparam.h> |
#include <machine/vmparam.h> |
91 |
|
#endif |
92 |
|
|
93 |
|
#ifdef HAVE_SYS_VMMETER_H |
94 |
#include <sys/vmmeter.h> |
#include <sys/vmmeter.h> |
95 |
|
#endif |
96 |
|
|
97 |
|
#ifdef HAVE_SYS_SYSCTL_H |
98 |
#include <sys/sysctl.h> |
#include <sys/sysctl.h> |
99 |
|
#endif |
100 |
|
|
101 |
#include "process.h" |
#include "process.h" |
102 |
#include "sysdep.h" |
#include "sysdep.h" |