diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-30 17:02:20 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-11-16 18:14:06 +0100 |
commit | 15eab2012d2100e1ddd20c186db23a8172b5858d (patch) | |
tree | abb5c7cbe6c3c097ba05a1c7c4504f12910d342a /openbsd | |
parent | a8a723ffe919cc3e8e3ef7ad6c07adb0ee0f715b (diff) |
Add process column for normalized CPU usage
Shows the process CPU usage divided by the number of CPU cores
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/OpenBSDProcess.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c index 1013d3b4..de823ce4 100644 --- a/openbsd/OpenBSDProcess.c +++ b/openbsd/OpenBSDProcess.c @@ -142,6 +142,12 @@ ProcessFieldData Process_fields[] = { .description = "Percentage of the CPU time the process used in the last sampling", .flags = 0, }, + [PERCENT_NORM_CPU] = { + .name = "PERCENT_NORM_CPU", + .title = "NCPU%", + .description = "Normalized percentage of the CPU time the process used in the last sampling (normalized by cpu count)", + .flags = 0, + }, [PERCENT_MEM] = { .name = "PERCENT_MEM", .title = "MEM% ", |