Linux track memory usage of process

broken image
broken image

This makes installing the PsUtil package a breeze with the help of pip.

broken image

Furthermore, he publishes stable releases of PsUtil on the Python Package Index (PyPi). He works on the code regularly in his public PsUtil GitHub repository. He has done so for over a decade now, meaning that the code base is quite mature and stable. Giampaolo Rodola initially developed and currently maintains the PsUtil code. PsUtil is a Python package with functionality to easily obtain system utilization information. Want to monitor the CPU and RAM usage of your Linux system from your own Python program? Then you came to the right place! This article teaches you how to install the PsUtil package into your Python virtual environment and how you can use it to monitor the CPU and RAM usage from your own Python program.

broken image