Giampaolo Rodola Python enthusiast, core developer, psutil author

  • Blog
  • Archives
  • Donate
  • Setup
  • About
  1. Fixing Unicode across Python 2 and 3

    03 Sep 2017 4 min read psutil python api-design compatibility python-core

    This one took a while. Adding proper Unicode support to psutil took four months of auditing, design decisions, and rewriting nearly every API that returned a string. The full journey is documented in #1040, and what follows is a summary. This can...

  2. Improved process_iter()

    03 Sep 2017 2 min read psutil python api-design release performance new-api

    This is part of the psutil 5.3.0 release (see the changelog for the full list of changes). The old pattern Iterating over processes and collecting attributes requires more boilerplate than it should. A process returned by process_iter() may...

  3. Sensors: temperatures, battery, CPU frequency

    01 Feb 2017 2 min read psutil python new-api release linux

    psutil 5.1.0 is out. This release introduces new APIs to retrieve hardware temperatures, battery status, and CPU frequency information. Temperatures You can now retrieve hardware temperatures (PR-962). This is currently available on Linux only....

  4. Making psutil twice as fast

    Featured
    06 Nov 2016 4 min read psutil python performance new-api release

    Starting from psutil 5.0.0 you can query multiple Process fields around twice as fast as before (see #799 and Process.oneshot()). It took 7 months, 108 commits, and a massive refactoring of psutil internals (PR-937), and I think it's one of the...

  5. Improved Linux memory metrics

    23 Oct 2016 2 min read psutil python memory linux macos release

    OK, another psutil release. The headline of 4.4.0 is more accurate memory metrics on Linux, plus a pile of macOS fixes I'd been sitting on for years. Linux virtual memory People had been complaining for a while that virtual_memory() didn't match...

  6. Windows services support

    15 May 2016 2 min read psutil python windows new-api release

    New psutil 4.2.0 is out. The highlight of this release is the support for Windows services (executables that run at system startup, similar to UNIX init scripts): >>> import psutil >>> list(psutil.win_service_iter())...

  7. NetBSD support

    25 Feb 2016 2 min read psutil python bsd new-platform community release

    Roughly two months have passed since I last announced that psutil added support for OpenBSD. Today I'm happy to announce that it's the turn of NetBSD! This was contributed by Thomas Klausner, Ryo Onodera and myself in PR-557. Differences with...

  8. Real process memory and environ in Python

    17 Feb 2016 5 min read psutil python memory new-api compatibility release community linux

    psutil 4.0.0 is out, with some interesting news about process memory metrics. I'll get straight to the point and describe what's new. "Real" process memory info Determining how much memory a process really uses is not an easy matter (see this and...

  9. How to always execute exit functions in Python

    12 Feb 2016 updated 13 Feb 2016 3 min read python recipe

    ...or why atexit.register() and signal.signal() are evil UPDATE (2016-02-13): this recipe no longer handles SIGINT, SIGQUIT and SIGABRT as aliases for "application exit" because it was a bad idea. It only handles SIGTERM. Also it no longer...

  10. OpenBSD support

    25 Nov 2015 2 min read psutil python bsd new-platform community release

    Starting from version 3.3.0 (released just now) psutil officially supports OpenBSD. This was contributed by Landry Breuil and myself in PR-615. Differences with FreeBSD As expected, the OpenBSD implementation is very similar to FreeBSD's, so I...

  11. Reimplementing ifconfig in Python

    Featured
    13 Jun 2015 2 min read psutil python personal new-api compatibility release

    Here we are. It's been a long time since my last blog post and my last psutil release. The reason? I've been travelling! I mean... a lot. I've spent 3 months in Berlin, 3 weeks in Japan and 2 months in New York City. While I was there I finally …

  12. Proper zombie process handling

    13 Jun 2015 1 min read psutil python api-design compatibility

    This is part of the psutil 3.0 release (see the full release notes). Except on Linux and Windows (which does not have them), support for zombie processes was broken. The full story is in #428. The problem Say you create a zombie process and...

  13. Windows wheels available in psutil 2.1.2

    21 Sep 2014 2 min read psutil python wheels windows release personal

    psutil 2.1.2 is out. This release has been cooking for a while now, and that's because I've been travelling for the past 3 months between Spain, Japan and Germany. Hopefully I will be staying in Berlin for a while now, so I will have more time to...

  14. Python and sendfile

    13 Jun 2014 3 min read python python-core performance network socket

    sendfile(2) is a UNIX system call which provides a "zero-copy" way of copying data from one file descriptor (a file) to another (a socket). Because this copying is done entirely within the kernel, sendfile(2) is more efficient than the...

  15. Goodbye Google Code, I am moving to GitHub

    26 May 2014 6 min read psutil python community personal

    8 years ago I started hosting my first open source project (pyftpdlib, code.google.com/p/pyftpdlib) on Google Code and I later ended up also hosting psutil (code.google.com/p/psutil) and pysendfile (code.google.com/p/pysendfile). Back then GC had...

« ‹ Page 2 of 3 › »
© 2008-2026 Giampaolo Rodola Updated 2026-11-27