Skip to main content
added 3 characters in body
Source Link
Giampaolo Rodolà
  • 13.2k
  • 6
  • 72
  • 61

By using psutil ( http://code.google.com/p/psutil/https://github.com/giampaolo/psutil ):

>>> import psutil >>> somepid = 1023 >>> p = psutil.Process(somepid) >>> p.suspend() >>> p.resume() 

By using psutil ( http://code.google.com/p/psutil/ ):

>>> import psutil >>> somepid = 1023 >>> p = psutil.Process(somepid) >>> p.suspend() >>> p.resume() 

By using psutil ( https://github.com/giampaolo/psutil ):

>>> import psutil >>> somepid = 1023 >>> p = psutil.Process(somepid) >>> p.suspend() >>> p.resume() 
Source Link
Giampaolo Rodolà
  • 13.2k
  • 6
  • 72
  • 61

By using psutil ( http://code.google.com/p/psutil/ ):

>>> import psutil >>> somepid = 1023 >>> p = psutil.Process(somepid) >>> p.suspend() >>> p.resume()