Minimal application written in haskell which calculates cpu usage percent from /proc/stat