summaryrefslogtreecommitdiffstats
path: root/contrib/top/machine.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-07-17 23:56:40 +0000
committerjulian <julian@FreeBSD.org>2003-07-17 23:56:40 +0000
commit788547d4cf2856cc0d849f205d6384723345026b (patch)
treeae7325b9fe8cfe61e176452c39b5dd2b7846c026 /contrib/top/machine.h
parentab57004058eee4b698f7d9cece99440ad9b49bbb (diff)
downloadFreeBSD-src-788547d4cf2856cc0d849f205d6384723345026b.zip
FreeBSD-src-788547d4cf2856cc0d849f205d6384723345026b.tar.gz
Changes to allow top to decide whether or not to show multiple threads per
process. Option -H enables it and it is toggled at the interactive screen by 'H'. Submitted by: Jung-uk Kim <jkim@niksun.com>
Diffstat (limited to 'contrib/top/machine.h')
-rw-r--r--contrib/top/machine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/top/machine.h b/contrib/top/machine.h
index 4f4f6af..62b321c 100644
--- a/contrib/top/machine.h
+++ b/contrib/top/machine.h
@@ -59,6 +59,7 @@ struct process_select
int idle; /* show idle processes */
int self; /* show self */
int system; /* show system processes */
+ int thread; /* show threads */
int uid; /* only this uid (unless uid == -1) */
char *command; /* only this command (unless == NULL) */
};
OpenPOWER on IntegriCloud