made compatible with psutil greater than 2.0