Add process column for normalized CPU usage

Shows the process CPU usage divided by the number of CPU cores
This commit is contained in:
Christian Göttsche
2020-10-30 17:02:20 +01:00
committed by BenBE
parent a8a723ffe9
commit 15eab2012d
7 changed files with 23 additions and 6 deletions

View File

@ -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% ",