aboutsummaryrefslogtreecommitdiffstats
path: root/solaris/Platform.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2022-05-02 16:04:22 +0200
committerDaniel Lange <DLange@git.local>2022-05-02 16:04:22 +0200
commit2f0332b75397ad5240a429d72203f0531011b6a9 (patch)
tree4782d4b8d0c43f3e6faa1bbbe95816a09e815e67 /solaris/Platform.c
parent93c96b12c9cb349b762d38d69568d65cd3e4fbfd (diff)
parent1b805a31720727008b32b1129a167758519fd4db (diff)
downloaddebian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.tar.gz
debian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.tar.bz2
debian_htop-2f0332b75397ad5240a429d72203f0531011b6a9.zip
Update upstream source from tag 'upstream/3.2.0'
Update to upstream version '3.2.0' with Debian dir 5ce130e9471b77941bbd217b5ea8b7b3419a91c6
Diffstat (limited to 'solaris/Platform.c')
-rw-r--r--solaris/Platform.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index cdc79ae..20b4d13 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -40,6 +40,16 @@ in the source distribution for its full text.
#include "SolarisProcessList.h"
+const ScreenDefaults Platform_defaultScreens[] = {
+ {
+ .name = "Default",
+ .columns = "PID LWPID 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 },
{ .name = " 1 SIGHUP", .number = 1 },
@@ -87,8 +97,6 @@ const SignalItem Platform_signals[] = {
const unsigned int Platform_numberOfSignals = ARRAYSIZE(Platform_signals);
-const ProcessField Platform_defaultFields[] = { PID, LWPID, 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