[systemd-devel] Short way to show messages of executable and unit with `journalctl`

Paul Menzel paulepanter at users.sourceforge.net
Fri Apr 14 18:30:32 UTC 2017


Dear systemd folks,


Is there a shorter way than below to show all messages of an executable
and a unit?

```
$ journalctl _COMM=sudo + _SYSTEMD_UNIT=NetworkManager.service
```

I would be happy about a command, that involves `-u` so that I don’t
have to type the suffix `.service`.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170414/5d611b24/attachment.sig>


More information about the systemd-devel mailing list