diff options
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/machine.c | 3 | ||||
-rw-r--r-- | usr.bin/top/top.local.1 | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index fd5a993..c998081 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -414,7 +414,8 @@ int (*compare)(); int show_command; - pbase = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc); + pbase = kvm_getprocs(kd, sel->thread ? KERN_PROC_ALL : KERN_PROC_PROC, + 0, &nproc); if (nproc > onproc) pref = (struct kinfo_proc **) realloc(pref, sizeof(struct kinfo_proc *) * (onproc = nproc)); diff --git a/usr.bin/top/top.local.1 b/usr.bin/top/top.local.1 index 6033b29..75489b7 100644 --- a/usr.bin/top/top.local.1 +++ b/usr.bin/top/top.local.1 @@ -1,5 +1,10 @@ +.\" $FreeBSD$ .SH "FreeBSD NOTES" +.SH DISPLAY OF THREADS +The '-H' option will toggle the display of kernel visible thread contexts. +At runtime the 'H' key will toggle this mode. The default is OFF. + .SH DESCRIPTION OF MEMORY Mem: 9220K Active, 1032K Inact, 3284K Wired, 1MB Cache, 2M Buf, 1320K Free Swap: 91M Total, 79M Free, 13% Inuse, 80K In, 104 K Out |