Post #2110072
2025-11-24 16:37 UTC
Little #systemd hint ๐
If you want to recall the journal for a specific process running you can do the following:
$ journalctl _PID=1
Did not know that for the longest time ๐
#linux
Replies (2)
-
@xk3@mastodon.social 2025-11-24 17:09
@jhx@fosstodon.org It's interesting they have a shortcut for --unit but not --pid With systemctl you can reference the PID instead of unit systemctl status 1 edit: oh this is only for the status and whoami subcommands
-
@the_grue@digitalcourage.social 2025-11-24 19:24
@jhx@fosstodon.org Strange syntax...