↑ ↓ select, Enter open, Esc close

Show disk space used by the systemd journal

root@server
journalctl --disk-usage

Prints the total size of all active and archived journal files. Without a limit, journald may use up to 10 percent of the file system (at most 4 GB), which is noticeable on small servers. If the value is too high, the journal can be shrunk and permanently limited.

Also searched as

  • how big is the journal
  • var log journal too big
  • journalctl disk usage
  • journal is using a lot of space

Related one-liners

All in systemd

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.