diff options
author | stas <stas@FreeBSD.org> | 2007-04-14 10:16:52 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2007-04-14 10:16:52 +0000 |
commit | b2e4c77a02a90972acaa19099d19be9f1dffa3a3 (patch) | |
tree | 27e5b3664f0b327277d5e828d295b654d2d94fb5 /contrib/top/top.h | |
parent | fb6f6fd9a183da8573afa302e42cdf7684785a7d (diff) | |
download | FreeBSD-src-b2e4c77a02a90972acaa19099d19be9f1dffa3a3.zip FreeBSD-src-b2e4c77a02a90972acaa19099d19be9f1dffa3a3.tar.gz |
- Add new 'a' switch and runtime option that allows 'top' to display process
titles extracted from argv vector instead of the real executable names.
This is useful when you want to watch applications that set their status
information via setproctitle(3).
Approved by: alfred
MFC after: 2 weeks
Diffstat (limited to 'contrib/top/top.h')
-rw-r--r-- | contrib/top/top.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/top/top.h b/contrib/top/top.h index 59cdeed..2b32d10 100644 --- a/contrib/top/top.h +++ b/contrib/top/top.h @@ -39,4 +39,9 @@ char *version_string(); enum displaymodes { DISP_CPU = 0, DISP_IO, DISP_MAX }; +/* + * Format modifiers + */ +#define FMT_SHOWARGS 0x00000001 + extern enum displaymodes displaymode; |