psutil v5.7.3 Release Notes
-
2020-10-23
โจ Enhancements
- ๐ 809_, [FreeBSD]: add support for
Process.rlimit()
_. - ๐ 893_, [BSD]: add support for
Process.environ()
_ (patch by Armin Gruner) - 1830_, [POSIX]:
net_if_stats()
_isup
also checks whether the NIC is running (meaning Wi-Fi or ethernet cable is connected). (patch by Chris Burger) - ๐ง 1837_, [Linux]: improved battery detection and charge
secsleft
calculation (patch by aristocratos)
๐ Bug fixes
- ๐ง 1620_, [Linux]:
cpu_count()
_ withlogical=False
result is incorrect on systems with more than one CPU socket. (patch by Vincent A. Arcila) - ๐ 1738_, [macOS]:
Process.exe()
_ may raiseFileNotFoundError
if process is still alive but the exe file which launched it got deleted. - ๐ 1791_, [macOS]: fix missing include for
getpagesize()
. - ๐ 1823_, [Windows], [critical]:
Process.open_files()
_ may cause a segfault due to a NULL pointer. - ๐ง 1838_, [Linux]:
sensors_battery()
_: ifpercent
can be determined but not the remaining values, still return a result instead ofNone
. (patch by aristocratos)
- ๐ 809_, [FreeBSD]: add support for