Commit Graph

246 Commits

Author SHA1 Message Date
Carsten Grohmann
f304e205fb Add missing banner with copyright and license 2021-12-26 23:14:27 +01:00
Carsten Grohmann
ef045232d1 Move rollup.js configuration into own config file 2021-12-26 23:04:17 +01:00
Carsten Grohmann
ca2d1c899f Fix converting to Unix LF 2021-12-23 13:18:38 +01:00
Carsten Grohmann
569f422828 Add release target to Makefile to build packages 2021-12-23 13:07:36 +01:00
Carsten Grohmann
39e1287e33 Improved appearance of SVG diagrams
The chart was widened from 400 to 500 and the font was no longer bold.

Suggested-by: Mikko Rantalainen <mikko.rantalainen@gmail.com>
2021-12-21 20:56:56 +01:00
Carsten Grohmann
9404c87519 Add support for newer process table format 2021-12-21 20:32:49 +01:00
Carsten Grohmann
f657ac5816 Extend JS MOC objects 2021-12-21 17:25:37 +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
7038cced1f Fix finding line with "CPU:"
The line is used to calculate the number of leading columns to remove.
Depending on the OOM version the pattern is on second or third oom line.
2021-11-29 17:23:10 +01:00
Carsten Grohmann
b8895fe2d5 Convert http links to https links 2021-10-25 22:11:47 +02:00
Carsten Grohmann
b8a858dba3 Remove obsolete comment lines 2021-10-25 22:06:41 +02:00
Carsten Grohmann
aa28e0bb7c Hide "OOM Score" if not available 2021-10-25 22:06:17 +02:00
Carsten Grohmann
f95899d7d5 Fix detecting Ubuntu 2021-10-23 20:43:12 +02:00
Carsten Grohmann
6d13cf0446 Add type attribute to button elements 2021-10-23 20:30:14 +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
fd3372b54b Filter out non-existent elements from SVG making 2021-10-20 21:32:57 +02:00
Carsten Grohmann
f52b3e5f46 Fix HTML error 2021-10-16 10:00:27 +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
cce4d65c4f Escape special characters in notification box 2021-09-14 20:23:56 +02:00
Carsten Grohmann
6528b96adb Restructure regex for better error messages 2021-09-14 20:19:32 +02:00
Carsten Grohmann
dd8b806bd3 Use different color set for swap usage diagram 2021-09-12 13:37:54 +02:00
Carsten Grohmann
0473dbcc7d Convert OOM URL to clickable link 2021-09-04 23:24:52 +02:00
Carsten Grohmann
f088d861e2 Fix wrong domain in email address 2021-09-04 22:49:48 +02:00
Carsten Grohmann
dd2efedc55 Add a border around both memory diagrams 2021-08-04 18:19:39 +02:00
Carsten Grohmann
022a5977fc Use SVG <use/> to show small triangular icons 2021-07-29 02:39:59 +02:00
Carsten Grohmann
9a5dbbc255 Fix the order of processing #012/LF
Remove unnecessary columns first and unwind #012 (octal replacement of
LF) second. Otherwise, important content would be lost.
2021-07-29 02:28:16 +02:00
Carsten Grohmann
08f7669654 Simplify code to unwind #012/LF 2021-07-29 02:28:00 +02:00
Carsten Grohmann
7fbbeace61 Remove overseen debug code 2021-07-28 21:00:14 +02:00
Carsten Grohmann
cd832461b6 Add tooltips to memory SVGs 2021-07-25 08:42:39 +02:00
Carsten Grohmann
2c111144cc Report uncaught errors to the user 2021-07-24 11:50:22 +02:00
Carsten Grohmann
f53e8c6b55 Add dependencies to Makefile 2021-07-24 08:43:48 +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
c9b665b464 Rework extracting a block from the OOM 2021-07-21 21:43:16 +02:00
Carsten Grohmann
db64b42393 Extend unit tests 2021-07-21 21:31:18 +02:00
Carsten Grohmann
e859317685 Show a warning if a RE finds nothing 2021-07-21 21:06:20 +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
1f087b7cd9 Change killed process from java to mysqld
The process has been renamed to use a one-to-one name. This makes it
easier to change the name in a test case.
2021-07-18 14:17:07 +02:00
Carsten Grohmann
04002ab6e6 Extent unit tests 2021-07-17 22:36:04 +02:00
Carsten Grohmann
bddbb3b149 Remove unnecessary semicolons in JS code 2021-07-15 20:34:13 +02:00
Carsten Grohmann
d5f07c92ad Using yay to install packages for test setup 2021-07-15 19:47:36 +02:00
Carsten Grohmann
ecf9ba11fd Add selenium based unit tests 2021-07-15 06:51:17 +02:00
Carsten Grohmann
6858d09eda Rename two variables to prevent shadowing
Shadowing isn't the problem here, but IDEs checker is complaining ...
2021-07-12 20:56:14 +02:00
Carsten Grohmann
e4629bf97b Disable optimizations to speedup build process 2021-07-12 20:49:27 +02:00
Carsten Grohmann
204c60e118 Pin transcrypt to version 3.7.16
The current version transcrypt version 3.9.0 is broken.
2021-07-12 20:16:10 +02:00