Difference between revisions of "Journalctl --disk-usage"
Jump to navigation
Jump to search
↑ https://unix.stackexchange.com/a/457902
Line 10: | Line 10: | ||
− | == Related | + | == Related == |
* <code>journalctl --vacuum-time=2d</code> | * <code>journalctl --vacuum-time=2d</code> | ||
* <code>journalctl --vacuum-size=200M</code> | * <code>journalctl --vacuum-size=200M</code> | ||
Line 17: | Line 17: | ||
* <code>[[journalctl --flush]] && [[journalctl --rotate]] && journalctl --vacuum-time=1s</code><ref>https://unix.stackexchange.com/a/457902</ref> | * <code>[[journalctl --flush]] && [[journalctl --rotate]] && journalctl --vacuum-time=1s</code><ref>https://unix.stackexchange.com/a/457902</ref> | ||
* <code>[[apt-get clean]]</code> or <code>[[apt-get autoclean]]</code> | * <code>[[apt-get clean]]</code> or <code>[[apt-get autoclean]]</code> | ||
− | * [[No space left on device]] | + | * <code>[[No space left on device]]</code> |
== See also == | == See also == |
Latest revision as of 09:09, 11 April 2023
Disk Usage/Logging: journalctl --disk-usage
journalctl --disk-usage Archived and active journals take up 9.8M in the file system.
journalctl -r | grep "No space left on device"
Related[edit]
journalctl --vacuum-time=2d
journalctl --vacuum-size=200M
journalctl --vacuum-files=10
journald.conf
(SystemMaxUse=
entry)journalctl --flush && journalctl --rotate && journalctl --vacuum-time=1s
[1]apt-get clean
orapt-get autoclean
No space left on device
See also[edit]
- systemd-journald:
journalctl
,/etc/systemd/journald.conf
,journalctl logs
,journalctl --list-boots
,journalctl --disk-usage
,journalctl -u kubelet
,journalctl -u prometheus
,journalctl --help
- File system,
du, df, find, ls, mkdir, touch, locate
du, du -hs
, Disk space usage,df
,ls
,tree
,find
,docker system df
,journalctl --disk-usage
, No space left on device, ENOSPC,sar -F
,growpart
,resize2fs
, ncdu, duf, dua-cli
Advertising: