Commit Graph

26 Commits

Author SHA1 Message Date
Carsten Grohmann
6d8851b1d6 Blackify source
Use Black "The uncompromising code formatter" to automatically format
the source code in a consistent manner.
2022-06-27 21:19:21 +02:00
Carsten Grohmann
20df3fa4f9 Add test for memory allocation flags 2022-06-17 21:26:36 +02:00
Carsten Grohmann
dcd8055258 Fix memory calculation in summary section 2022-03-26 12:26:52 +01:00
Carsten Grohmann
c9c36ce9e4 Fix type hint in docstring 2022-01-12 20:04:31 +01:00
Carsten Grohmann
a549a76fa2 Adapt tests to modified Selenium API 2022-01-04 17:26:23 +01:00
Carsten Grohmann
e320fa56a0 Update copyright years 2022-01-02 13:35:09 +01:00
Carsten Grohmann
7d6ba199b7 Unify naming 2021-12-26 23:33:07 +01:00
Carsten Grohmann
9404c87519 Add support for newer process table format 2021-12-21 20:32:49 +01:00
Carsten Grohmann
a7e1e4cc64 Add support for journalctl output
The lines in the "Mem-Info:" block start with spaces instead of date /
time / hostname. As a result, removing the needless columns no longer
works correctly.

Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-11-29 20:59:14 +01:00
Carsten Grohmann
aa28e0bb7c Hide "OOM Score" if not available 2021-10-25 22:06:17 +02:00
Carsten Grohmann
5b9a4712e2 Add support for newer kernels
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-23 20:29:49 +02:00
Carsten Grohmann
c8a6f74d03 Move more configuration to class BaseKernelConfig 2021-10-09 23:22:12 +02:00
Carsten Grohmann
c1a5ed3420 Add support for systems w/o swap
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-09 22:06:16 +02:00
Carsten Grohmann
8ed7678a74 Add support for manually triggered OOM
Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-10-04 20:46:43 +02:00
Carsten Grohmann
7af0c1d7e8 Restructure code to analyse OOM
This code changes should simplify future extension of the analysis and
calculation code.
2021-09-27 21:06:47 +02:00
Carsten Grohmann
f0b4ac895c Extend JS MOC objects 2021-09-20 20:21:39 +02:00
Carsten Grohmann
6528b96adb Restructure regex for better error messages 2021-09-14 20:19:32 +02:00
Carsten Grohmann
f088d861e2 Fix wrong domain in email address 2021-09-04 22:49:48 +02:00
Carsten Grohmann
7fbbeace61 Remove overseen debug code 2021-07-28 21:00:14 +02:00
Carsten Grohmann
41a51a7e2a Rework removal of unused information
The columns left to the oom are not used. With this change, the
algorithm becomes more robust and can better handle known special
cases like "kernel:<processname>".
2021-07-24 00:28:38 +02:00
Carsten Grohmann
1abf455711 Use Webdriver Manager for browser compatibility
Version mismatch between browser and selenium driver breaks the tests.
The Webdriver manager automatically ensures the compatibility by
downloading the right driver for the installed browser.
2021-07-21 22:40:41 +02:00
Carsten Grohmann
db64b42393 Extend unit tests 2021-07-21 21:31:18 +02:00
Carsten Grohmann
000b6635ec Typos 2021-07-21 21:04:11 +02:00
Carsten Grohmann
e283ff2019 Fix to allow process names with spaces 2021-07-18 14:29:40 +02:00
Carsten Grohmann
04002ab6e6 Extent unit tests 2021-07-17 22:36:04 +02:00
Carsten Grohmann
ecf9ba11fd Add selenium based unit tests 2021-07-15 06:51:17 +02:00