./sysutils/py-psutil, Cross-platform process and system utilities module for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 5.4.8, Package name: py27-psutil-5.4.8, Maintainer: pkgsrc-users

util is a module providing an interface for retrieving information,
on all running processes and system utilization (CPU, memory, disks,
network, users) in a portable way by using Python, implementing
many functionalities offered by command line tools such as ps, top,
df, netstat, who, kill, uptime, free, lsof, ifconfig, nice, ionice,
iostat, iotop, pidof, tty, taskset, or pmap.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:

Master sites:

SHA1: 7d6e5e8532a619fca7ea90863f1edc5997799055
RMD160: eff2a72893d108b50f2053b0e12c2e14e684a26e
Filesize: 412.834 KB

Version history: (Expand)

CVS history: (Expand)

   2018-11-05 13:46:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.4.8


* [Linux] cpu_freq() is now implemented by parsing /proc/cpuinfo in case \ 
/sys/devices/system/cpu/* filesystem is not available.
* [Linux] psutil.sensors_temperatures() now parses /sys/class/thermal in case \ 
/sys/class/hwmon fs is not available (e.g. Raspberry Pi).
* [Posix] better compilation support when using g++ instead of gcc.

Bug fixes
* do not print exception on import time in case cpu_times() fails.
* [Linux] Process.io_counters() may raise ValueError.
* [OSX] available and used memory (psutil.virtual_memory()) metrics are not accurate.
* [Windows] psutil.Process().connections() may sometimes fail with intermittent \ 
* [Linux] disk_partitions() does not honour PROCFS_PATH.
* [AIX] system CPU times (psutil.cpu_times()) were being reported with ticks \ 
unit as opposed to seconds.
* [OSX] psutil debug messages are erroneously printed all the time.
* [SunOS] net_connections() returns an empty list.
   2018-08-19 11:11:32 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.4.7

* [macOS] psutil.OSX constant is now deprecated in favor of new psutil.MACOS.
* [Linux] added psutil.STATUS_PARKED constant for Process.status().
* [Linux] add disk_io_counters() dual implementation relying on /sys/block \ 
filesystem in case /proc/diskstats is not available.

Bug fixes
* [macOS] Process.memory_maps() may fail with EINVAL due to poor task_for_pid() \ 
syscall. AccessDenied is now raised instead.
* [macOS] Process.threads() incorrectly return microseconds instead of seconds.
* [Linux, macOS, BSD] net_if_stats() may return ENODEV.
* [Windows] psutil.Process().connections() may sometime fail with MemoryError.
* [Linux] disk_io_stats() may report inflated r/w bytes values.
* [Linux] Process.status() is unable to recognize "idle" and \ 
"parked" statuses (returns '?').
* [Linux] disk_io_counters() can report inflated IO counters due to erroneously \ 
counting base disk device and its partition(s) twice.
* [Linux] sensors_temperatures() may fail with ValueError.
   2018-07-06 12:33:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-psutil: updated to 5.4.6

Bug fixes
- [Windows] Process.username() may cause a segfault (Python interpreter
- net_if_addr() namedtuple's name has been renamed from "snic" to
- [Linux] there was a small chance Process.children() may swallow
  AccessDenied exceptions.
   2018-05-16 18:22:32 by Jonathan Perkin | Files touched by this commit (1) | Package updated
Log message:
py-psutil: Unbreak PLIST from last update.
   2018-05-16 00:22:01 by Min Sik Kim | Files touched by this commit (5) | Package updated
Log message:
sysutils/py-psutil: Update to 5.4.5

Enhancements since 5.2.2:

- disk_io_counters() and net_io_counters() numbers no longer wrap
  (restart from 0). Introduced a new "nowrap" argument.
- psutil.net_connections() and psutil.Process.connections() "laddr"
  and "raddr" are now named tuples.
- swap_memory() now relies on /proc/meminfo instead of sysinfo()
  syscall so that it can be used in conjunction with PROCFS_PATH in
  order to retrieve memory info about Linux containers such as Docker
  and Heroku.
- psutil.users() provides a new "pid" field.
- process_iter() accepts two new parameters in order to invoke
  Process.as_dict(): "attrs" and "ad_value". With this you \ 
can iterate
  over all processes in one shot without needing to catch
  NoSuchProcess and do list/dict comprehensions.
- implemented full unicode support.
- disk_usage() on Python 3 is now able to accept bytes.
- test suite now enables all warnings by default.
- source distribution is dynamically generated so that it only
  includes relevant files.
- introduced PSUTIL_DEBUG environment variable which can be set in
  order to print useful debug messages on stderr (useful in case of
  nasty errors).
- added support for sensors_battery() on OSX.
- Process.children() is 2x faster on UNIX and 2.4x faster on Linux.
- deprecated method Process.memory_info_ex() now warns by using
  FutureWarning instead of DeprecationWarning.
   2017-06-24 10:03:35 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
On NetBSD, include <sys/iostat.h>
   2017-06-23 00:01:47 by Kamil Rytarowski | Files touched by this commit (3)
Log message:
Correct build of py-psutil on NetBSD 8.99.1.

Address <sys/user.h> removal fallout on NetBSD.
   2017-05-29 18:02:40 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 5.2.2:

Bug fixes
1000: fixed some setup.py warnings.
1002: [SunOS] remove C macro which will not be available on new Solaris \ 
versions. (patch by Danek Duvall)
1004: [Linux] Process.io_counters() may raise ValueError.
1006: [Linux] cpu_freq() may return None on some Linux versions does not support \ 
the function; now the function is not declared instead.
1009: [Linux] sensors_temperatures() may raise OSError.
1010: [Linux] virtual_memory() may raise ValueError on Ubuntu 14.04.