diff options
author | jhb <jhb@FreeBSD.org> | 2015-10-01 17:09:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-10-01 17:09:20 +0000 |
commit | 050b8bd1a6760e3984b56e6e86f69833e278a2f5 (patch) | |
tree | d51ef83dac802ba5109caf38842021b5429ea691 /lib/libutil/libutil.h | |
parent | a79133b7d5ec07ca7b6f15d7f4704957b3bb25a9 (diff) | |
download | FreeBSD-src-050b8bd1a6760e3984b56e6e86f69833e278a2f5.zip FreeBSD-src-050b8bd1a6760e3984b56e6e86f69833e278a2f5.tar.gz |
MFC 283624,283630:
Export a list of VM objects in the system via a sysctl. The list can be
examined via 'vmstat -o'. It can be used to determine which files are
using physical pages of memory and how much each is using.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r-- | lib/libutil/libutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h index b8b9836..b20ffa2 100644 --- a/lib/libutil/libutil.h +++ b/lib/libutil/libutil.h @@ -102,6 +102,8 @@ struct kinfo_file * kinfo_getfile(pid_t _pid, int *_cntp); struct kinfo_vmentry * kinfo_getvmmap(pid_t _pid, int *_cntp); +struct kinfo_vmobject * + kinfo_getvmobject(int *_cntp); struct kinfo_proc * kinfo_getallproc(int *_cntp); struct kinfo_proc * |