Python wrapper to get system stats in linux