I used this incantation in the past to get the hottest file paths
$ sudo fs_usage -w -t 5 -f filesys | tee fs_usage.log | egrep -o '(/.+?) {3}' | sed -e 's/\/dev\/disk[^ ]+ //' | sort | uniq -c | sort -nr
From https://www.jakobstoeck.de/2017/ramdisk-for-faster-applicati...