in reply to disk usage statistics with perl internals?
It's a hard way, but you've asked for it.
Update: you can use strace to find out which system calls are performed.