cmd: show test in journal vacuum
This commit is contained in:
@@ -195,18 +195,22 @@ shell: sh
|
|||||||
bin: journalctl
|
bin: journalctl
|
||||||
tag: system
|
tag: system
|
||||||
|
|
||||||
aim: Limit the journal's size to 2 gigabytes
|
aim: Limit the systemd's journal size to 2 gigabytes
|
||||||
cmd: journalctl --vacuum-size=2G
|
cmd: journalctl --vacuum-size=2G
|
||||||
|
+ journalctl --disk-usage
|
||||||
shell: sh
|
shell: sh
|
||||||
bin: journalctl
|
bin: journalctl
|
||||||
tag: system
|
tag: system
|
||||||
|
tag: logs
|
||||||
|
|
||||||
aim: Log the fact that you've installed your own `dnsmasq` on your system to `journalctl`, so that you can determine why your system's broken later
|
aim: Log the fact that you've installed your own `dnsmasq` on your system to `journalctl`, so that you can determine why your system's broken later
|
||||||
cmd: logger "Installed new dnsmasq"
|
cmd: logger "Installed new dnsmasq"
|
||||||
+ sudo journalctl -f
|
+ sudo journalctl -f
|
||||||
shell: sh
|
shell: sh
|
||||||
bin: journalctl
|
bin: journalctl
|
||||||
|
bin: logger
|
||||||
tag: system
|
tag: system
|
||||||
|
tag: logs
|
||||||
|
|
||||||
aim: Convert markdown table to csv
|
aim: Convert markdown table to csv
|
||||||
cmd: mlr --imarkdown --ocsv cat ${file}.md
|
cmd: mlr --imarkdown --ocsv cat ${file}.md
|
||||||
|
|||||||
Reference in New Issue
Block a user