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

2017-04-17 Thread Lennart Poettering
On Fri, 14.04.17 20:30, Paul Menzel (paulepan...@users.sourceforge.net) wrote:

> 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`.

This is currently not available. And I am not sure this is a highly
typical usage that warrants an explicit option... Sorry...

Lennart

-- 
Lennart Poettering, Red Hat
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2017-04-14 Thread Paul Menzel
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

signature.asc
Description: This is a digitally signed message part
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel