Этот коммит содержится в:
Ihar Hancharenka 2023-08-02 09:28:46 +03:00
родитель c377d18c35
Коммит 51d5ee056f
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -32,10 +32,15 @@ journalctl
-f
like tail -f
-o [json|json-pretty]
-x --catalog
Add message explanations where available
--disk-usage
show occupied space
--vacuum-size=1G
--vacuum-time=1years
samples
journalctl -xeu <unit>.service
2023
https://habr.com/ru/articles/749714/

Просмотреть файл

@ -1,4 +1,5 @@
http://www.unixmen.com/logging-journald-rhel7centos7/
https://wiki.manjaro.org/index.php/Limit_the_size_of_.log_files_%26_the_journal
2018
https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-systemd-logs
@ -6,7 +7,10 @@ Journal:
http://0pointer.de/blog/projects/journalctl.html
cfg
man journald.conf
systemd-analyze cat-config systemd/journald.conf
/etc/systemd/journald.conf
/etc/systemd/journald.conf.d/size.conf
SystemMaxUse
max disk size