Carsten Grohmann
13afe5247b
Rollback changed interpretation of last OOM line
...
This is a logical rollback because I was wrong about the
interpretation of this line.
2020-01-08 20:59:20 +01:00
Carsten Grohmann
3dc965e8ff
Set a single value to several places
...
Prior this change items are set to html elements with id of the same
name. Now OOMDisplay._set_item() searches for elements with same-named
id or with item name listed in class attribute.
This allows to set one value to several places to once.
Additional suffixes for pages and kbytes are added in the singular or
plural automatically.
2020-01-06 22:11:51 +01:00
Carsten Grohmann
fe3aed9815
Fix calculation of requested memory in kBytes
2020-01-05 01:12:58 +01:00
Carsten Grohmann
cd00996583
Rename item according to the naming convention
2020-01-05 01:10:35 +01:00
Carsten Grohmann
374cc2e910
Fix interpretation of the last OOM line
...
The memory statistics in the last OOM line (total-vm, anon-rss,
file-rss, shmem-rss) are overall and not related to the killed process.
2020-01-05 01:00:02 +01:00
Carsten Grohmann
85308f6d03
Typos
2020-01-05 00:52:13 +01:00
Carsten Grohmann
5b384a4d8f
Add a textual summary of the analysis
2020-01-04 14:25:41 +01:00
Carsten Grohmann
a8344d3656
Update copyright years
2020-01-02 20:58:01 +01:00
Carsten Grohmann
783ed0ad9e
Use a CSS class to format sub sections
...
instead of specifying the style directly.
2019-12-20 18:21:59 +01:00
Carsten Grohmann
99257ddd79
Updated introductory description
2019-12-05 06:44:20 +01:00
Carsten Grohmann
606d0d6769
Use negative slicing with operator overloading
...
Positive numbers in slices works well, but for negative numbers you
have to activate operator overloading. This has a (unknown) speed
penalty.
2019-12-03 06:54:27 +01:00
Carsten Grohmann
dfcbe56fa6
Start new development cycle
2019-12-03 06:49:44 +01:00
Carsten Grohmann
281d7f4258
Bump version number to 0.3.0
2019-11-24 11:00:08 +01:00
Carsten Grohmann
c5698c304d
Update documenation
2019-11-24 10:52:21 +01:00
Carsten Grohmann
0d0fe27fca
Prefix CSS classes text--default* with js-
...
These classes are used within JS code to control the visibility during
the web page will set to the default.
2019-11-24 10:23:57 +01:00
Carsten Grohmann
6f1245bd15
Show h2 headline in TOC only if id attr is set
...
There are two conditions to show a h2 headline in TOC:
* the headline is visible
* the id attribute is set
Thereby the css style js-flag-hide-from-toc won't be used anymore.
2019-11-21 08:14:12 +01:00
Carsten Grohmann
6dbe7511c6
Separate headline and link to toggle visibility
...
of the following container
2019-11-21 07:50:01 +01:00
Carsten Grohmann
9d9e1d9d6e
Add to the right an automatically generated TOC
2019-11-16 10:53:07 +01:00
Carsten Grohmann
9e35bf8596
Use a better describung name for class OOMState
...
and rename it to OOMEntityState
2019-11-14 06:31:00 +01:00
Carsten Grohmann
99ba5fbbe9
Add a changelog to the end of the HTML document
2019-11-13 21:12:29 +01:00
Carsten Grohmann
58f06caede
Use return value from OOMAnalyser.analyse() directly
2019-11-13 20:57:25 +01:00
Carsten Grohmann
b0abc7f3c0
Empty results for new extract run
2019-11-13 20:52:12 +01:00
Carsten Grohmann
138022beae
Use CSS to show/hide elements in default view
2019-11-13 20:48:44 +01:00
Carsten Grohmann
824e8365e6
Clarify comment in OOMDisplay.analyse_and_show()
2019-11-13 06:39:37 +01:00
Carsten Grohmann
5305326069
Use a better describing name for OOMAnalyser.oom
2019-11-12 21:05:42 +01:00
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