Mencari Ukuran Berkas di Server

Oleh: Basit Adhi Prabowo, S.T.

Sumber: https://docs.moodle.org/39/en/OPcache

Kegunaan

  • Memperkirakan setting yang pas untuk cache source code, misalnya opcache

Syntax

find ./ -type f -name "*.php" -printf "%s\n" | gawk -M '{t+=$1}END{print t}' | numfmt --to=iec

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.