Am Mon, 18 Dec 2017 18:01:21 +0100 schrieb Cecil Westerhof:

> 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 exploit bash expansion for that:

$ journalctl --boot --follow --notail --unit={storeSystemStatistics,vmstatLog}

Note the equal sign...

The curly braces will the be expanded into two separate unit parameters
before being passed to the journalctl command.


-- 
Regards,
Kai

Replies to list-only preferred.

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to