diff options
author | Chris Mullins <crmullin@fastmail.com> | 2021-01-02 23:12:15 +0000 |
---|---|---|
committer | Chris Mullins <crmullin@fastmail.com> | 2021-01-02 23:12:15 +0000 |
commit | 1088520535b278037c58fe3bc185130315b2c851 (patch) | |
tree | 7defeda8144e5ca8097fae1e55028fa1d2b8f6c5 | |
parent | 1532b67c5121ce4ca4c077542c52d136cf6537ba (diff) | |
download | python-systemd-1088520535b278037c58fe3bc185130315b2c851.tar.gz |
Add link to journal fields docs
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -119,6 +119,8 @@ Show entries by a specific executable (`journalctl /usr/bin/vim`): for entry in j: print(entry['MESSAGE']) + - Note: matches can be added from many different fields, for example entries from a specific process ID can be matched with the `_PID` field, and entries from a specific unit (ie. `journalctl -u systemd-udevd.service`) can be matched with `_SYSTEMD_UNIT`. See all fields available at the [systemd.journal-fields docs](https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html). + Show kernel ring buffer (`journalctl -k`): from systemd import journal |