Add some lnav macros
This commit is contained in:
parent
d03b0e62e4
commit
6431eaf54c
4
scripts/lnav-journal
Executable file
4
scripts/lnav-journal
Executable file
@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
lnav <(journalctl --merge --priority 0..7 --since $(date "+%Y-%m-%d") -o json -f --no-tail)
|
4
scripts/todays-errors
Executable file
4
scripts/todays-errors
Executable file
@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
lnav <(journalctl --merge --priority 0..3 --since $(date "+%Y-%m-%d") -o json -f --no-tail | grep --line-buffered -iv "iwlwifi ")
|
Loading…
x
Reference in New Issue
Block a user