Line "Killed process" can contain the process UID
Newer Red Hat 7 releases changes the output of the OOM a little bit. The last output line "Killed process" contains the process UID now. Old: Killed process 6576 (java) total-vm:33914892kB, \ anon-rss:20629004kB, file-rss:0kB, shmem-rss:0kB New: Killed process 6576 (java), UID 12345, total-vm:33914892kB, \ anon-rss:20629004kB, file-rss:0kB, shmem-rss:0kB
This commit is contained in:
parent
cceb2fa21e
commit
674ea295a8
@ -791,6 +791,7 @@ function goBack() {
|
||||
<li>Add sorting process table</li>
|
||||
<li>Fix: Trigger process isn't part of process table</li>
|
||||
<li>Update to Transcrypt 3.7</li>
|
||||
<li>Line "Killed process" can contain the process UID</li>
|
||||
<li>...</li>
|
||||
</ol>
|
||||
|
||||
|
@ -420,7 +420,9 @@ class OOMAnalyser(object):
|
||||
)
|
||||
|
||||
REC_KILLED_PROCESS = re.compile(
|
||||
r'^Killed process \d+ \(.*\) total-vm:(?P<killed_proc_total_vm_kb>\d+)kB, anon-rss:(?P<killed_proc_anon_rss_kb>\d+)kB, '
|
||||
r'^Killed process \d+ \(.*\)'
|
||||
r'(, UID \d+,)?'
|
||||
r' total-vm:(?P<killed_proc_total_vm_kb>\d+)kB, anon-rss:(?P<killed_proc_anon_rss_kb>\d+)kB, '
|
||||
r'file-rss:(?P<killed_proc_file_rss_kb>\d+)kB, shmem-rss:(?P<killed_proc_shmem_rss_kb>\d+)kB.*',
|
||||
re.MULTILINE)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user