using psutil calls compatible on Ubuntu