summaryrefslogtreecommitdiffstats
path: root/darwin
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-05-02 13:29:39 +0200
committercgzones <cgzones@googlemail.com>2021-05-23 15:43:23 +0200
commit550a1418606f487941b3dddbf81de17c459db66c (patch)
tree7e0b902b406d7858772dc8b14d65fb4cc72b8de9 /darwin
parent3d5b6d9282e584557999772d3cedd7e8ceddabbd (diff)
Add ELAPSED process column
Add process columns showing the elapsed time since the process was started. Similar to STARTTIME, but shows the time passed since the process start instead of the fixed start time of the process. Closes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782636
Diffstat (limited to 'darwin')
-rw-r--r--darwin/DarwinProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin/DarwinProcess.c b/darwin/DarwinProcess.c
index 49265d6f..7aaee110 100644
--- a/darwin/DarwinProcess.c
+++ b/darwin/DarwinProcess.c
@@ -33,7 +33,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
[PRIORITY] = { .name = "PRIORITY", .title = "PRI ", .description = "Kernel's internal priority for the process", .flags = 0, },
[NICE] = { .name = "NICE", .title = " NI ", .description = "Nice value (the higher the value, the more it lets other processes take priority)", .flags = 0, },
[STARTTIME] = { .name = "STARTTIME", .title = "START ", .description = "Time the process was started", .flags = 0, },
-
+ [ELAPSED] = { .name = "ELAPSED", .title = "ELAPSED ", .description = "Time since the process was started", .flags = 0, },
[PROCESSOR] = { .name = "PROCESSOR", .title = "CPU ", .description = "Id of the CPU the process last executed on", .flags = 0, },
[M_VIRT] = { .name = "M_VIRT", .title = " VIRT ", .description = "Total program size in virtual memory", .flags = 0, .defaultSortDesc = true, },
[M_RESIDENT] = { .name = "M_RESIDENT", .title = " RES ", .description = "Resident set size, size of the text and data sections, plus stack usage", .flags = 0, .defaultSortDesc = true, },

© 2014-2024 Faster IT GmbH | imprint | privacy policy