psutil 2 compatibility layer