Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1713359 Details for
Bug 1861333
Backport: BIND unresponsive during large IXFR and RPZ transfers fix
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
journal-stats
journal-stats.py (text/python), 873 bytes, created by
Petr Menšík
on 2020-09-01 17:53:28 UTC
(
hide
)
Description:
journal-stats
Filename:
MIME Type:
Creator:
Petr Menšík
Created:
2020-09-01 17:53:28 UTC
Size:
873 bytes
patch
obsolete
>#!/usr/bin/python ># ># Read output of named-journalprint and count additions and deletions for each serial number > >import re >import sys > >def read_input(inf): > # add badrep.host.dtq. 3600 IN SOA need.to.know.only. hostmaster.deteque.com. 1598242561 120 60 432000 60 > soa_match = re.compile(r'\S+\s+\d+\s+\w+\s+SOA\s+\S+\s+\S+\s+(\d+)') > > added = 0 > deleted = 0 > for line in inf: > op = line[0:3] > if op == 'del': > deleted += 1 > elif op == 'add': > m = soa_match.match(line, 4) > if m: > print('{added} -{deleted} ; Serial {serial}'.format( > serial=m.group(1), deleted=deleted, added=added)) > deleted = 0 > added = 0 > added += 1 > else: > raise Exception('Unexpected line: '+line) > >read_input(sys.stdin)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1861333
: 1713359