Menu

#74 systemd accounting line match tuning

v7.6
closed-accepted
nobody
None
5
2022-07-18
2022-07-15
No

Current regexp doesn't match all lines that it should:
- some versions have no dot at the end,
e.g. systemd v239 (EL8) logs "foo.service: Consumed 394ms CPU time"
- misses if IP accounting is enabled,
e.g. "session-123.scope: Consumed 13min 23.966s CPU time, no IP traffic." or
"baz.service: Consumed 4.248s CPU time, received 182.0K IP traffic, sent 26.5K IP traffic."

1 Attachments

Discussion

  • Bjorn

    Bjorn - 2022-07-18
    • status: open --> closed-accepted
     
  • Bjorn

    Bjorn - 2022-07-18

    Thanks for submitting patch.

     

Log in to post a comment.