Simple CPU usage tracking in Linux using SQLite and Python