Commit Graph

165 Commits

Author SHA1 Message Date
Carsten Grohmann
adeaef5161 Use a better describing name for class OOM 2019-11-12 21:02:30 +01:00
Carsten Grohmann
6a8b484006 Add check/state for empty an OOM block 2019-11-12 20:50:07 +01:00
Carsten Grohmann
1c2290b371 Add an enum to track the completeness of an OOM 2019-11-12 20:42:06 +01:00
Carsten Grohmann
217a0f9ee4 Clear the OOM textarea if it gets the focus
Clear the area onfocusin only if this just contains the usage hint.
2019-11-05 20:45:55 +01:00
Carsten Grohmann
f8cc21809b Eliminate duplicate statement to hide notifications 2019-11-05 20:31:18 +01:00
Carsten Grohmann
9fc006e227 Eliminate duplicate code to show the notification box 2019-11-05 20:29:02 +01:00
Carsten Grohmann
0fc9bdabf1 Don't hide the notify box permanently 2019-11-05 17:20:08 +01:00
Carsten Grohmann
6ce2c490f7 Add description to OOM Score 2019-11-04 21:17:37 +01:00
Carsten Grohmann
de03a58d22 Add punctuation characters 2019-11-04 21:14:06 +01:00
Carsten Grohmann
5140713c99 Unescape line feeds escaped by rsyslog 2019-11-04 21:04:23 +01:00
Carsten Grohmann
c2199bc029 Ignore elements w/o values in SVG generation
If the OOM format has changed and the regular expression doesn't match,
the values are None (js: undefined). Ignore such values now.
2019-11-02 21:19:04 +01:00
Carsten Grohmann
23b33e3763 Strip columns left to the message automatically
Just count the columns leftside of the OOM message instead of defining
their format/content and position.

This is more flexible.
2019-11-01 21:38:34 +01:00
Carsten Grohmann
7e637aa3f8 Update date format regex
This regex will be used to cut off the leading timestamp.
2019-10-30 21:46:26 +01:00
Carsten Grohmann
486bb0292e Fix broken link to run a new analysis 2019-10-30 21:20:31 +01:00
Carsten Grohmann
6b2947ca0f Extend documentation especially the README.md file 2019-02-10 18:15:02 +01:00
Carsten Grohmann
ea2e674998 Update copyright years 2019-02-07 20:52:37 +01:00
Carsten Grohmann
dd75da31c0 Move distribution guessing into own function 2018-11-08 20:53:52 +01:00
Carsten Grohmann
b7ca1fdec5 Add kernel signature for Oracle Linux 7 UEK 2018-11-08 20:46:05 +01:00
Carsten Grohmann
01a311f1f4 Removing the closing tag that matches nothing 2018-11-08 18:24:45 +01:00
Carsten Grohmann
9b2efcf69e Remove useless h1 CSS style 2018-11-08 18:10:25 +01:00
Carsten Grohmann
aea2ea1506 Remove not needed type attribute for the style element 2018-11-08 18:09:00 +01:00
Carsten Grohmann
f1591ed8f9 Don't add suffixes "kBytes" and "pages" twice 2018-10-16 19:59:46 +02:00
Carsten Grohmann
a83e2d0794 Fix typo in power of two statement 2018-10-16 19:57:29 +02:00
Carsten Grohmann
5a89d46034 Use CSS classes to control the visibility 2018-10-16 19:50:33 +02:00
Carsten Grohmann
5d83eeccbb Typo in CSS style 2018-10-13 19:20:34 +02:00
Carsten Grohmann
a07c745fe0 Use CSS instead of HTML tag <sup></sup> 2018-10-13 19:17:57 +02:00
Carsten Grohmann
32126bf735 Use better names for CSS selectors 2018-10-13 19:00:09 +02:00
Carsten Grohmann
eb579c01a7 Pin to the latest Transcrypt 3.6 version 2018-09-30 22:37:35 +02:00
Carsten Grohmann
2dac4e2c48 Rename OOMAnalyser.details to OOMAnalyser.results 2018-09-11 19:55:29 +02:00
Carsten Grohmann
c6c2361310 Remove redundant character escape in RE 2018-09-11 19:51:01 +02:00
Carsten Grohmann
85a82a4770 Separate analysis and visualisation
Extract code to display details from code to analyse/split the OOM.
This should simplify later extensions as well as later written unit
tests.
2018-09-11 19:49:39 +02:00
Carsten Grohmann
ffd77573d6 Use a more speaking name for the index in OOM class 2018-08-27 20:02:06 +02:00
Carsten Grohmann
8764399e2b Update docstrings 2018-08-27 19:58:43 +02:00
Carsten Grohmann
d03db8f8ad Bump version number to 0.2.0 2018-08-12 14:22:55 +02:00
Carsten Grohmann
e34c5ab909 Show the requested memory additionally in kBytes
Till now the requested memory has been shown in pages only.
2018-08-12 14:18:09 +02:00
Carsten Grohmann
d7456383a2 Hide full OOM message at and of the table
Since all elements are extracted and shown already. The original OOM
text is faded out. Click to notice next by the head line to expand
the full message again.
2018-08-12 13:34:24 +02:00
Carsten Grohmann
9f7a419e2a Fix bad CSS indentation 2018-08-12 10:42:26 +02:00
Carsten Grohmann
ae7ace8798 Use pragma 'jsiter' to write more pythonic code 2018-08-10 21:03:30 +02:00
Carsten Grohmann
08fa63010c Analyse the complete line "invoked oom-killer"
Analyse and show the GFP mask, the nodemask (is available), the
number of requested pages (order) and the adjusted OOM score.
2018-08-08 20:41:26 +02:00
Carsten Grohmann
2cdd3a98ed Change handling of not found elements 2018-05-06 11:01:40 +02:00
Carsten Grohmann
b9af8bba10 Align left aligned cells to right 2018-04-16 21:40:52 +02:00
Carsten Grohmann
e3558a911f Hide table rows w/o values instead of showing "<not found>" 2018-04-16 21:06:20 +02:00
Carsten Grohmann
0b3beb07c6 Merge handling of regular expressions using the same pattern 2018-04-15 21:07:14 +02:00
Carsten Grohmann
3e6d4c8662 Display "<not found>" for all values that are not part of the OOM 2018-04-15 20:54:24 +02:00
Carsten Grohmann
e29bf05efd Integrate memory page details 2018-04-15 20:14:29 +02:00
Carsten Grohmann
b94be9836e Improve headlines in analysis output 2018-04-11 20:26:02 +02:00
Carsten Grohmann
51ca9b8347 Change distribution labels 2018-04-10 18:08:39 +02:00
Carsten Grohmann
a5de90ca2a Rotate colours if more elements in SVG diagram than colours 2018-04-06 22:20:26 +02:00
Carsten Grohmann
e1c0d9b714 Use better arranged colors for SVG graphics
The colours are from Sasha Trubetskoy
https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
2018-04-06 22:18:12 +02:00
Carsten Grohmann
9e8181225c Update copyright years 2018-04-06 21:56:29 +02:00