diff --git a/OOMAnalyser.html b/OOMAnalyser.html index cbb40b5..c530720 100644 --- a/OOMAnalyser.html +++ b/OOMAnalyser.html @@ -81,25 +81,31 @@ function goBack() {

Analyse and visualise Linux OOM output

- This web page splits the content of a Linux Out Of Memory message into - smaller pieces, aggregates these and presents them in a more human friendly - format. + This web page analyses Linux Out Of Memory (OOM) messages and shows these + information in a human friendly presentation. +

+

+ Your input will be analysed locally - in your browser - by an integrated + JavaScript script without transferring your data to foreign servers.

-

+

+

Step 1 - Enter your OOM message


- + - -

+ +
-

Analysis results

+ +

Step 2 - Results

+

+ Go back to + "Step 1 - Enter your OOM message" + to run a new analysis. +

+ + + + + + + +
Entire OOM Message
+

+            
+

+ Go back to + "Step 1 - Enter your OOM message" + to run a new analysis. +

+

Footnotes

  1. diff --git a/OOMAnalyser.py b/OOMAnalyser.py index 3c22a84..a7954fd 100644 --- a/OOMAnalyser.py +++ b/OOMAnalyser.py @@ -426,6 +426,8 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k document.getElementById('textarea_oom').textContent = "" hide_element("analysis") + show_element("input") + self.lines = [] self.details = {} for item in self.mem_modinfo_entries: @@ -647,6 +649,7 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k if DEBUG: print(self.details) + hide_element("input") show_element("analysis") for item in self.details.keys(): @@ -684,6 +687,8 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k elem_svg_ram = document.getElementById('svg_ram') elem_svg_ram.appendChild(svg_ram) + element = document.getElementById('oom') + element.textContent = self.oom.text def analyse(self): # reset the output elements to default