Linux network and block device throughput monitor in Python using curses and procfs