Logviewer-systemd is a command-line tool that filters and saves system logs based on specified criteria.
Command | Description |
---|---|
logviewer --help |
Display the help message. |
logviewer -s <path> |
Save logs to the specified path. |
logviewer -k <keyword> |
Filter logs by the specified keyword. |
logviewer -u <unit> |
Filter logs by the specified unit. |
logviewer -r |
Logging in real time |
$ git clone https://github.com/tkmxqrdxddd/logviewer-systemd
$ cd logviewer-systemd
$ cargo install --path .
Use AUR Helper
$ paru -S logviewer-systemd
$ yay -S logviewer-systemd
Or install manually
$ git clone https://github.com/tkmxqrdxddd/logviewer-systemd
$ cd logviewer-systemd
$ makepkg -si
wget https://github.com/tkmxqrdxddd/logviewer-systemd/releases/download/v1.0.0/logviewer_1.0.0_amd64.deb
sudo dkpg -i logviewer_1.0.0_amd64.deb