I have the PID of a process of a Linux and I want to get the memory usage of that process using a Python script. Is it that possible? What module do I have to use?
Asked
Active
Viewed 48 times
0
-
3have a look at psutil https://pypi.python.org/pypi/psutil – James Kent Oct 26 '17 at 14:19
-
2Use the module "Google" and type "How to get memory allocation of process Python" – hek2mgl Oct 26 '17 at 14:22
-
Thank you so much @JamesKent – Sergio Rey Nov 22 '18 at 19:28