[systemd-devel] journalctl --unit and pattern

Tomasz Torcz ๐Ÿ‘๏ธ tomek at pipebreaker.pl
Mon Dec 18 19:31:41 UTC 2017


On Mon, Dec 18, 2017 at 06:01:21PM +0100, Cecil Westerhof wrote:
> At the moment I am using:
>     journalctl --boot --follow --no-tail --unit storeSystemStatistics
> --unit vmstatLog
> 
> But instead of unit names you  should be able to use a pattern. I tried the
> following:
>     --unit "storeSystemStatistics|vmstatLog"
> 
> โ€‹And variants on it, but could not make it work.
> 
> How should I use a pattern. (I could not find info about it.)โ€‹

  You can pass multiple --unit parameters:
journalctl  --unit storeSystemStatistics --unit vmstatLog

-- 
Tomasz Torcz            There exists no separation between gods and men:
xmpp: zdzichubg at chrome.pl   one blends softly casual into the other.



More information about the systemd-devel mailing list