jeudi 16 juin 2016

Detect swapping in python


What is the best way to determine if the computer running my script is using swap memory? It should be as cross-platform as possible. One solution would be to run a program like top as a subprocess, but I would hope there's a better way.


Aucun commentaire:

Enregistrer un commentaire