freebsd swap metrics

This commit is contained in:
Doug MacEachern committed 2005-02-09 03:36:54 +00:00
1 parent f2b66f82cb
commit ac37c62faa
2 files changed
+23 -4

No files matched your search

+4
View File
@@ -4,6 +4,8 @@
#ifdef DARWIN
#include <mach/port.h>
#include <mach/host_info.h>
#else
#include <kvm.h>
#endif
#include <sys/sysctl.h>
@@ -16,6 +18,8 @@ struct sigar_t {
struct kinfo_proc *pinfo;
#ifdef DARWIN
mach_port_t mach_port;
#else
kvm_t *kp;
#endif
};