diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-05-18 22:30:56 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | 4da618030c5551f60a115e759709797ad6afe000 (patch) | |
tree | b9e4d152e7df7c342c549eb81402297a305cbfe5 /freebsd/FreeBSDProcess.c | |
parent | 8ff4eb72acab360e1f5d790fa7277584ef0eae97 (diff) |
FreeBSD: add EXE and COMM columns and use merged command line helpers
Diffstat (limited to 'freebsd/FreeBSDProcess.c')
-rw-r--r-- | freebsd/FreeBSDProcess.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/FreeBSDProcess.c b/freebsd/FreeBSDProcess.c index 2370b9f0..4fd02a9b 100644 --- a/freebsd/FreeBSDProcess.c +++ b/freebsd/FreeBSDProcess.c @@ -44,6 +44,8 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = { [TIME] = { .name = "TIME", .title = " TIME+ ", .description = "Total time the process has spent in user and system time", .flags = 0, .defaultSortDesc = true, }, [NLWP] = { .name = "NLWP", .title = "NLWP ", .description = "Number of threads in the process", .flags = 0, .defaultSortDesc = true, }, [TGID] = { .name = "TGID", .title = "TGID", .description = "Thread group ID (i.e. process ID)", .flags = 0, .pidColumn = true, }, + [PROC_COMM] = { .name = "COMM", .title = "COMM ", .description = "comm string of the process", .flags = 0, }, + [PROC_EXE] = { .name = "EXE", .title = "EXE ", .description = "Basename of exe of the process", .flags = 0, }, [JID] = { .name = "JID", .title = "JID", .description = "Jail prison ID", .flags = 0, .pidColumn = true, }, [JAIL] = { .name = "JAIL", .title = "JAIL ", .description = "Jail prison name", .flags = 0, }, }; |