diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-05-14 20:18:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-05-14 20:18:53 +0000 |
commit | 0c45d19de6e3cafe15db0a1b915f351ed0cf8dda (patch) | |
tree | 506fc8f72d30d9664b64b9a533d884700b40fb4f /usr.sbin | |
parent | d30e33b1f3d6a0b9752bd9b8560c91f5e4970e2f (diff) |
Don't bother printing vm_swrss of a process, the current uvm accounting
logic never sets this value.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/procmap/procmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/procmap/procmap.c b/usr.sbin/procmap/procmap.c index 1eac37c10b6..852c1c74d88 100644 --- a/usr.sbin/procmap/procmap.c +++ b/usr.sbin/procmap/procmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procmap.c,v 1.48 2013/04/24 14:29:00 deraadt Exp $ */ +/* $OpenBSD: procmap.c,v 1.49 2013/05/14 20:18:52 miod Exp $ */ /* $NetBSD: pmap.c,v 1.1 2002/09/01 20:32:44 atatat Exp $ */ /* @@ -399,7 +399,9 @@ process_map(kvm_t *kd, pid_t pid, struct kinfo_proc *proc, struct sum *sum) printf(" vm_refcnt = %d,", D(vmspace, vmspace)->vm_refcnt); printf(" vm_shm = %p,\n", D(vmspace, vmspace)->vm_shm); printf(" vm_rssize = %d,", D(vmspace, vmspace)->vm_rssize); +#if 0 printf(" vm_swrss = %d,", D(vmspace, vmspace)->vm_swrss); +#endif printf(" vm_tsize = %d,", D(vmspace, vmspace)->vm_tsize); printf(" vm_dsize = %d,\n", D(vmspace, vmspace)->vm_dsize); printf(" vm_ssize = %d,", D(vmspace, vmspace)->vm_ssize); |