aboutsummaryrefslogtreecommitdiffstats
path: root/unsupported/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Platform.c')
-rw-r--r--unsupported/Platform.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c
index e55de4a..33d7c41 100644
--- a/unsupported/Platform.c
+++ b/unsupported/Platform.c
@@ -27,14 +27,22 @@ in the source distribution for its full text.
#include "UptimeMeter.h"
+const ScreenDefaults Platform_defaultScreens[] = {
+ {
+ .name = "Main",
+ .columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command",
+ .sortKey = "PERCENT_CPU",
+ },
+};
+
+const unsigned int Platform_numberOfDefaultScreens = ARRAYSIZE(Platform_defaultScreens);
+
const SignalItem Platform_signals[] = {
{ .name = " 0 Cancel", .number = 0 },
};
const unsigned int Platform_numberOfSignals = ARRAYSIZE(Platform_signals);
-const ProcessField Platform_defaultFields[] = { PID, USER, PRIORITY, NICE, M_VIRT, M_RESIDENT, STATE, PERCENT_CPU, PERCENT_MEM, TIME, COMM, 0 };
-
const MeterClass* const Platform_meterTypes[] = {
&CPUMeter_class,
&ClockMeter_class,

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