summaryrefslogtreecommitdiffstats
path: root/openbsd
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 /openbsd
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 'openbsd')
-rw-r--r--openbsd/OpenBSDProcess.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c
index b518da24..58e2d52b 100644
--- a/openbsd/OpenBSDProcess.c
+++ b/openbsd/OpenBSDProcess.c
@@ -108,6 +108,12 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
.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 ",

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