From d872e363081a892d65dede6a90721d3a2e8b0ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 15 Dec 2020 19:44:46 +0100 Subject: LinuxProcess: drop dead Process columns --- linux/LinuxProcess.c | 18 ------------------ linux/LinuxProcess.h | 20 -------------------- 2 files changed, 38 deletions(-) (limited to 'linux') diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index 72955c8f..24d735e1 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -40,7 +40,6 @@ ProcessFieldData Process_fields[] = { [SESSION] = { .name = "SESSION", .title = " SID ", .description = "Process's session ID", .flags = 0, }, [TTY_NR] = { .name = "TTY_NR", .title = "TTY ", .description = "Controlling terminal", .flags = 0, }, [TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, }, - [FLAGS] = { .name = "FLAGS", .title = NULL, .description = NULL, .flags = 0, }, [MINFLT] = { .name = "MINFLT", .title = " MINFLT ", .description = "Number of minor faults which have not required loading a memory page from disk", .flags = 0, }, [CMINFLT] = { .name = "CMINFLT", .title = " CMINFLT ", .description = "Children processes' minor faults", .flags = 0, }, [MAJFLT] = { .name = "MAJFLT", .title = " MAJFLT ", .description = "Number of major faults which have required loading a memory page from disk", .flags = 0, }, @@ -51,24 +50,7 @@ ProcessFieldData Process_fields[] = { [CSTIME] = { .name = "CSTIME", .title = " CSTIME+ ", .description = "Children processes' system CPU time", .flags = 0, }, [PRIORITY] = { .name = "PRIORITY", .title = "PRI ", .description = "Kernel's internal priority for the process", .flags = 0, }, [NICE] = { .name = "NICE", .title = " NI ", .description = "Nice value (the higher the value, the more it lets other processes take priority)", .flags = 0, }, - [ITREALVALUE] = { .name = "ITREALVALUE", .title = NULL, .description = NULL, .flags = 0, }, [STARTTIME] = { .name = "STARTTIME", .title = "START ", .description = "Time the process was started", .flags = 0, }, - [VSIZE] = { .name = "VSIZE", .title = NULL, .description = NULL, .flags = 0, }, - [RSS] = { .name = "RSS", .title = NULL, .description = NULL, .flags = 0, }, - [RLIM] = { .name = "RLIM", .title = NULL, .description = NULL, .flags = 0, }, - [STARTCODE] = { .name = "STARTCODE", .title = NULL, .description = NULL, .flags = 0, }, - [ENDCODE] = { .name = "ENDCODE", .title = NULL, .description = NULL, .flags = 0, }, - [STARTSTACK] = { .name = "STARTSTACK", .title = NULL, .description = NULL, .flags = 0, }, - [KSTKESP] = { .name = "KSTKESP", .title = NULL, .description = NULL, .flags = 0, }, - [KSTKEIP] = { .name = "KSTKEIP", .title = NULL, .description = NULL, .flags = 0, }, - [SIGNAL] = { .name = "SIGNAL", .title = NULL, .description = NULL, .flags = 0, }, - [BLOCKED] = { .name = "BLOCKED", .title = NULL, .description = NULL, .flags = 0, }, - [SSIGIGNORE] = { .name = "SIGIGNORE", .title = NULL, .description = NULL, .flags = 0, }, - [SIGCATCH] = { .name = "SIGCATCH", .title = NULL, .description = NULL, .flags = 0, }, - [WCHAN] = { .name = "WCHAN", .title = NULL, .description = NULL, .flags = 0, }, - [NSWAP] = { .name = "NSWAP", .title = NULL, .description = NULL, .flags = 0, }, - [CNSWAP] = { .name = "CNSWAP", .title = NULL, .description = NULL, .flags = 0, }, - [EXIT_SIGNAL] = { .name = "EXIT_SIGNAL", .title = NULL, .description = NULL, .flags = 0, }, [PROCESSOR] = { .name = "PROCESSOR", .title = "CPU ", .description = "Id of the CPU the process last executed on", .flags = 0, }, [M_VIRT] = { .name = "M_VIRT", .title = " VIRT ", .description = "Total program size in virtual memory", .flags = 0, }, [M_RESIDENT] = { .name = "M_RESIDENT", .title = " RES ", .description = "Resident set size, size of the text and data sections, plus stack usage", .flags = 0, }, diff --git a/linux/LinuxProcess.h b/linux/LinuxProcess.h index b12bf456..992e548d 100644 --- a/linux/LinuxProcess.h +++ b/linux/LinuxProcess.h @@ -29,26 +29,6 @@ in the source distribution for its full text. #define PROCESS_FLAG_LINUX_LRS_FIX 0x00010000 #define PROCESS_FLAG_LINUX_CWD 0x00020000 -typedef enum UnsupportedProcessField_ { - FLAGS = 9, - ITREALVALUE = 20, - VSIZE = 22, - RSS = 23, - RLIM = 24, - STARTCODE = 25, - ENDCODE = 26, - STARTSTACK = 27, - KSTKESP = 28, - KSTKEIP = 29, - SIGNAL = 30, - BLOCKED = 31, - SSIGIGNORE = 32, - SIGCATCH = 33, - WCHAN = 34, - NSWAP = 35, - CNSWAP = 36, - EXIT_SIGNAL = 37, -} UnsupportedProcessField; typedef enum LinuxProcessField_ { CMINFLT = 11, -- cgit v1.2.3