Python tool to log system usage stats