BASH – Grösse von Ordnern ausgeben

[user@server ~]# ls -d /var/log/ | grep ^d | awk 'NF>1{print $NF}' | xargs du -h -d 1 | sort -n

  2.1M ./chrony
  2.6M ./httpd
  2.9M ./zabbix
  12K ./tuned
  16K ./mariadb
  20K ./php-fpm
  22M ./sa
  637M ./journal