[systemd-devel] journal entries for most recent pid?

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 24 22:59:27 PDT 2014


I can't seem to find this in the documentation, so I do wonder if it exists:
is there an equivalent to journalctl -b -1 that lists the log of the most
recent pid?

Specifically I'd like to run journalctl /usr/bin/Xorg --pid -1 or similar to
get users to attach the most recent log file instead of having to provide
_PID manually.

Cheers,
   Peter


More information about the systemd-devel mailing list