Query python systemd.journal like journalctl -b and journalctl –list-boots for entries related to last boots
Query python systemd.journal like journalctl -b and journalctl –list-boots for entries related to last boots Question: I’m looking for a way to query the information provided by journalctl -b and journalctl –list-boots through python systemd module. I’ve written a workaround which runs journalctl as a subprocess and parses the output. Maybe there’s some more obvious …
Total answers: 1