psutil 2.1.0 is out and with it I finally managed to implement something I’ve been wanting to have for a long time: netstat-like functionalities (see ticket). Similarly to “netstat -antp” on UNIX you can now list system-wide connections in pure python and also determine what process (PID) is using a particular connection: >>> import psutil […]
Author: Giampaolo Rodola
psutil 2.0
The time has finally come: psutil 2.0 is out! This is a release which took me a considerable amount of effort and careful thinking during the past 4 months as I went through a major rewrite and reorganization of both python and C extension modules. To get a sense of how much has changed you […]
psutil 2.0 porting
This my second blog post is going to be about psutil 2.0, a major release in which I decided to reorganize the existing API for the sake of consistency. At the time of writing psutil 2.0 is still under development and the intent of this blog post is to serve as an official reference which […]
Making module constants part of your API is evil
One of the initial features which were included in psutil since day one (5 years ago) were system’s boot time, number of CPUs and total physical memory. These metrics have one thing in common: they are (apparently) not supposed to change over time. That is why we (me and Jay) decided that exposing them as module constants calculated […]