summaryrefslogtreecommitdiffstats
path: root/darwin
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-03-02 21:07:20 +0100
committerDaniel Lange <DLange@git.local>2021-03-03 08:43:45 +0100
commit4f9cf1490fc8a2635da07351f23795d15cbf5391 (patch)
treeaef8d9487d492f5c94dc0a925335b451c0d010aa /darwin
parent635d4cfe6098453b0b34a31af1b81fa3315a47b0 (diff)
Darwin: add normalized CPU percentage column
Missed in 15eab2012d21
Diffstat (limited to 'darwin')
-rw-r--r--darwin/DarwinProcess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/darwin/DarwinProcess.c b/darwin/DarwinProcess.c
index 9098d19a..dea7f904 100644
--- a/darwin/DarwinProcess.c
+++ b/darwin/DarwinProcess.c
@@ -39,6 +39,7 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
[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, },
[ST_UID] = { .name = "ST_UID", .title = " UID ", .description = "User ID of the process owner", .flags = 0, },
[PERCENT_CPU] = { .name = "PERCENT_CPU", .title = "CPU% ", .description = "Percentage of the CPU time the process used in the last sampling", .flags = 0, .defaultSortDesc = true, },
+ [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, .defaultSortDesc = true, },
[PERCENT_MEM] = { .name = "PERCENT_MEM", .title = "MEM% ", .description = "Percentage of the memory the process is using, based on resident memory size", .flags = 0, .defaultSortDesc = true, },
[USER] = { .name = "USER", .title = "USER ", .description = "Username of the process owner (or user ID if name cannot be determined)", .flags = 0, },
[TIME] = { .name = "TIME", .title = " TIME+ ", .description = "Total time the process has spent in user and system time", .flags = 0, .defaultSortDesc = true, },

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