summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-30 17:02:20 +0100
committerBenBE <BenBE@geshi.org>2020-11-16 18:14:06 +0100
commit15eab2012d2100e1ddd20c186db23a8172b5858d (patch)
treeabb5c7cbe6c3c097ba05a1c7c4504f12910d342a /solaris
parenta8a723ffe919cc3e8e3ef7ad6c07adb0ee0f715b (diff)
Add process column for normalized CPU usage
Shows the process CPU usage divided by the number of CPU cores
Diffstat (limited to 'solaris')
-rw-r--r--solaris/SolarisProcess.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/solaris/SolarisProcess.c b/solaris/SolarisProcess.c
index 7d833fe9..c11c6de8 100644
--- a/solaris/SolarisProcess.c
+++ b/solaris/SolarisProcess.c
@@ -48,6 +48,7 @@ ProcessFieldData Process_fields[] = {
[M_RESIDENT] = { .name = "M_RESIDENT", .title = " RES ", .description = "Resident set size, size of the text and data sections, plus stack usage", .flags = 0, },
[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, },
+ [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% ", .description = "Percentage of the memory the process is using, based on resident memory size", .flags = 0, },
[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, },

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