Print resource usage of processes to stderr with LD_PRELOAD