Re: journalctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, 2 Dec 2019 at 10:26, Pascal via arch-general
<arch-general@xxxxxxxxxxxxx> wrote:
>
> hello,
> when I use journalctl to track system events, I introduce line breaks for
> better readability.
> like multitail, I would like to introduce more verbose line breaks...
> I wrote these few lines but it doesn't work as expected :
>
> exec 6<&0
> exec 0< <( while :; do read -sn1 k; echo $'\n'"# $( date +%H:%M:%S )
> -------------------------------------------"$'\n'; done )
> journalctl -f
> exec 0<&6 6<&-
>
> the second instruction "exec 0< <( while..." played alone works perfectly
> in my terminal, but not as a redirection for journalctl.
> any leads ?
> regards, lacsaP.

Why don't you just replace the PAGER/SYSTEMD_PAGER from less to your
own tool (multitail even? never used it).


-- 
damjan



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux