Commit Graph

136 Commits

Author SHA1 Message Date
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
Carsten Grohmann
3887d12ee7 Rework the README 2017-12-21 22:00:34 +01:00
Carsten Grohmann
5407030a89 Extend description by OOM identifiers in brackets
Additionally a short description of the three columns are added.
2017-12-20 20:26:36 +01:00
Carsten Grohmann
e579e0ebd3 Remove "Call Trace" line of kernel stack trace
The kernel stack trace started with a line "Call Trace:". This line
will be removed from the output. Leading spaces are stripped to adjust
the output.
2017-12-19 07:35:49 +01:00
Carsten Grohmann
823aa48a08 Add references to other pages about OOM decoding 2017-12-14 07:35:52 +01:00
Carsten Grohmann
82249e7440 Pep8 2017-12-13 07:31:39 +01:00
Carsten Grohmann
91b32d63d7 Improve check for entered OOM
The user input will be checked more detailed. Based on that a warning
or an error message will be shown.
2017-12-12 19:36:14 +01:00
Carsten Grohmann
0b28630248 Use .value instead .textContent for <textarea>
This change solves a bug where the content of the OOM input field has
been accessed in a wrong way.
2017-12-11 21:20:01 +01:00
Carsten Grohmann
d8116cfee8 Website appearance improved 2017-12-04 19:44:48 +01:00
Carsten Grohmann
be59fb39a3 Add autogenerated JavaScript code to .gitignore 2017-11-30 07:06:52 +01:00
Carsten Grohmann
04a202d999 Remove the RAM usage SVG during reset the web page
Handle the RAM usage SVG like the SWAP usage SVG.
2017-11-29 20:34:00 +01:00
Carsten Grohmann
b8ec3c720e Add a rule to start a web server for serving the current directory 2017-11-29 20:10:25 +01:00
Carsten Grohmann
044a152f28 Add version number to the footer and set the version to "0.1.0" 2017-11-27 21:11:09 +01:00
Carsten Grohmann
007f425267 Hide footnotes section if no analysis is shown 2017-11-27 20:51:36 +01:00
Carsten Grohmann
0592c33b66 Add reference to the public OOM web page 2017-11-25 13:14:54 +01:00
Carsten Grohmann
18e8a3eb56 Initial commit 2017-11-25 12:52:55 +01:00