------------------------------------------------------------------- Fri Jul 8 08:51:43 UTC 2016 - dmueller@suse.com - fix source url ------------------------------------------------------------------- Mon Jun 20 07:39:11 UTC 2016 - michael@stroeder.com - update to version 4.3.0: * #819: [Linux] different speedup improvements: Process.ppid() is 20% faster Process.status() is 28% faster Process.name() is 25% faster Process.num_threads is 20% faster on Python 3 * #810: [Windows] Windows wheels are incompatible with pip 7.1.2. * #812: [NetBSD] fix compilation on NetBSD-5.x. * #823: [NetBSD] virtual_memory() raises TypeError on Python 3. * #829: [UNIX] psutil.disk_usage() percent field takes root reserved space into account. * #816: [Windows] fixed net_io_counter() values wrapping after 4.3GB in Windows Vista (NT 6.0) and above using 64bit values from newer win APIs. ------------------------------------------------------------------- Mon May 30 07:28:01 UTC 2016 - tbechtold@suse.com - Update Source url ------------------------------------------------------------------- Sat May 28 11:34:45 UTC 2016 - michael@stroeder.com - update to version 4.2.0: * Enhancements + #795: [Windows] new APIs to deal with Windows services: win_service_iter() and win_service_get(). + #800: [Linux] psutil.virtual_memory() returns a new "shared" memory field. + #819: [Linux] speedup /proc parsing: - Process.ppid() is 20% faster - Process.status() is 28% faster - Process.name() is 25% faster - Process.num_threads is 20% faster on Python 3 * Bug fixes + #797: [Linux] net_if_stats() may raise OSError for certain NIC cards. + #813: Process.as_dict() should ignore extraneous attribute names which gets attached to the Process instance. ------------------------------------------------------------------- Sun Mar 13 15:05:56 UTC 2016 - michael@stroeder.com - removed TODO from %doc, not in upstream tar-ball anymore - update to version 4.1.0: * Enhancements + #777: [Linux] Process.open_files() on Linux return 3 new fields: position, mode and flags. + #779: Process.cpu_times() returns two new fields, 'children_user' and 'children_system' (always set to 0 on OSX and Windows). + #789: [Windows] psutil.cpu_times() return two new fields: "interrupt" and "dpc". Same for psutil.cpu_times_percent(). + #792: new psutil.cpu_stats() function returning number of CPU ctx switches interrupts, soft interrupts and syscalls. * Bug fixes + #774: [FreeBSD] net_io_counters() dropout is no longer set to 0 if the kernel provides it. + #776: [Linux] Process.cpu_affinity() may erroneously raise NoSuchProcess. (patch by wxwright) + #780: [OSX] psutil does not compile with some gcc versions. + #786: net_if_addrs() may report incomplete MAC addresses. + #788: [NetBSD] virtual_memory()'s buffers and shared values were set to 0. + #790: [OSX] psutil won't compile on OSX 10.4. ------------------------------------------------------------------- Wed Feb 17 19:18:13 UTC 2016 - michael@stroeder.com - update to version 4.0.0 **Enhancements** - #523: [Linux, FreeBSD] disk_io_counters() return a new "busy_time" field. - #660: [Windows] make.bat is smarter in finding alternative VS install locations. (patch by mpderbec) - #732: Process.environ(). (patch by Frank Benkstein) - #753: [Linux, OSX, Windows] Process USS and PSS (Linux) "real" memory stats. (patch by Eric Rahm) - #755: Process.memory_percent() "memtype" parameter. - #758: tests now live in psutil namespace. - #760: expose OS constants (psutil.LINUX, psutil.OSX, etc.) - #756: [Linux] disk_io_counters() return 2 new fields: read_merged_count and write_merged_count. - #762: new scripts/procsmem.py script. **Bug fixes** - #704: [Solaris] psutil does not compile on Solaris sparc. - #734: on Python 3 invalid UTF-8 data is not correctly handled for process name(), cwd(), exe(), cmdline() and open_files() methods resulting in UnicodeDecodeError exceptions. 'surrogateescape' error handler is now used as a workaround for replacing the corrupted data. - #737: [Windows] when the bitness of psutil and the target process was different cmdline() and cwd() could return a wrong result or incorrectly report an AccessDenied error. - #741: [OpenBSD] psutil does not compile on mips64. - #751: [Linux] fixed call to Py_DECREF on possible Null object. - #754: [Linux] cmdline() can be wrong in case of zombie process. - #759: [Linux] Process.memory_maps() may return paths ending with " (deleted)" - #761: [Windows] psutil.boot_time() wraps to 0 after 49 days. - #764: [NetBSD] fix compilation on NetBSD-6.x. - #766: [Linux] net_connections() can't handle malformed /proc/net/unix file. - #767: [Linux] disk_io_counters() may raise ValueError on 2.6 kernels and it's broken on 2.4 kernels. - #770: [NetBSD] disk_io_counters() metrics didn't update. ------------------------------------------------------------------- Thu Jan 21 09:01:36 UTC 2016 - michael@stroeder.com - update to version 3.4.2 (fixes for non-Linux platforms) ------------------------------------------------------------------- Fri Jan 15 19:39:31 UTC 2016 - michael@stroeder.com - update to version 3.4.1 **Enhancements** - #557: [NetBSD] added NetBSD support. (contributed by Ryo Onodera and Thomas Klausner) - #708: [Linux] psutil.net_connections() and Process.connections() on Python 2 can be up to 3x faster in case of many connections. Also psutil.Process.memory_maps() is slightly faster. - #718: process_iter() is now thread safe. **Bug fixes** - #714: [OpenBSD] virtual_memory().cached value was always set to 0. - #715: don't crash at import time if cpu_times() fail for some reason. - #717: [Linux] Process.open_files fails if deleted files still visible. - #722: [Linux] swap_memory() no longer crashes if sin/sout can't be determined due to missing /proc/vmstat. - #724: [FreeBSD] virtual_memory().total is slightly incorrect. ------------------------------------------------------------------- Fri Nov 27 10:57:57 UTC 2015 - michael@stroeder.com - update to version 3.3.0 **Enhancements** - #558: [Linux] exposed psutil.PROCFS_PATH constant to change the default location of /proc filesystem. - #615: [OpenBSD] added OpenBSD support. (contributed by Landry Breuil) **Bug fixes** - #692: [UNIX] Process.name() is no longer cached as it may change. ------------------------------------------------------------------- Mon Oct 26 21:09:10 UTC 2015 - michael@stroeder.com - update to version 3.2.2 **Bug fixes** - #623: [Linux] process or system connections raises ValueError if IPv6 is not supported by the system. - #678: [Linux] can't install psutil due to bug in setup.py. ------------------------------------------------------------------- Wed Sep 16 19:33:14 UTC 2015 - michael@stroeder.com - update to version 3.2.1 * #677: [Linux] can't install psutil due to bug in setup.py. ------------------------------------------------------------------- Thu Sep 3 07:39:22 UTC 2015 - michael@stroeder.com - update to version 3.2.0 **Enhancements** - #644: [Windows] added support for CTRL_C_EVENT and CTRL_BREAK_EVENT signals to use with Process.send_signal(). - #648: CI test integration for OSX. (patch by Jeff Tang) - #663: [UNIX] net_if_addrs() now returns point-to-point (VPNs) addresses. - #655: [Windows] different issues regarding unicode handling were fixed. On Python 2 all APIs returning a string will now return an encoded version of it by using sys.getfilesystemencoding() codec. The APIs involved are: - psutil.net_if_addrs() - psutil.net_if_stats() - psutil.net_io_counters() - psutil.Process.cmdline() - psutil.Process.name() - psutil.Process.username() - psutil.users() **Bug fixes** - #513: [Linux] fixed integer overflow for RLIM_INFINITY. - #641: [Windows] fixed many compilation warnings. (patch by Jeff Tang) - #652: [Windows] net_if_addrs() UnicodeDecodeError in case of non-ASCII NIC names. - #655: [Windows] net_if_stats() UnicodeDecodeError in case of non-ASCII NIC names. - #659: [Linux] compilation error on Suse 10. (patch by maozguttman) - #664: [Linux] compilation error on Alpine Linux. (patch by Bart van Kleef) - #670: [Windows] segfgault of net_if_addrs() in case of non-ASCII NIC names. (patch by sk6249) - #672: [Windows] compilation fails if using Windows SDK v8.0. (patch by Steven Winfield) - #675: [Linux] net_connections(); UnicodeDecodeError may occur when listing UNIX sockets. ------------------------------------------------------------------- Wed Jul 15 12:55:51 UTC 2015 - michael@stroeder.com - update to version 3.1.1: New fatures ========= - [Linux] disk_partitions() added support for ZFS filesystems. - continuous tests integration for Windows - continuous code quality test integration Main bugfixes =========== - [Windows] Process.open_files() no longer hangs. Instead it uses a thred which times out and skips the file handle in case it's taking too long to be retrieved. (patch by Jeff Tang) - [Windows] Process.name() no longer raises AccessDenied for pids owned by another user. - [Windows] Process.memory_info() no longer raises AccessDenied for pids owned by another user. - [Linux] Process.cmdline() can be truncated. - [Windows] add inet_ntop function for Windows XP to support IPv6. ------------------------------------------------------------------- Mon Jun 29 11:08:33 UTC 2015 - toddrme2178@gmail.com - update to version 3.0.1: * #632: [Linux] better error message if cannot parse process UNIX connections. * #634: [Linux] Proces.cmdline() does not include empty string arguments. * #635: [UNIX] crash on module import if 'enum' package is installed on python < 3.4. - update to version 3.0.0: * Enhancements + #250: new psutil.net_if_stats() returning NIC statistics (isup, duplex, speed, MTU). + #376: new psutil.net_if_addrs() returning all NIC addresses a-la ifconfig. + #469: on Python >= 3.4 IOPRIO_CLASS_* and *_PRIORITY_CLASS constants returned by psutil.Process' ionice() and nice() methods are enums instead of plain integers. + #581: add .gitignore. (patch by Gabi Davar) + #582: connection constants returned by psutil.net_connections() and psutil.Process.connections() were turned from int to enums on Python > 3.4. + #587: Move native extension into the package. + #589: Process.cpu_affinity() accepts any kind of iterable (set, tuple, ...), not only lists. + #594: all deprecated APIs were removed. + #599: [Windows] process name() can now be determined for all processes even when running as a limited user. + #602: pre-commit GIT hook. + #629: enhanced support for py.test and nose test discovery and tests run. + #616: [Windows] Add inet_ntop function for Windows XP. * Bug fixes + #428: [all UNIXes except Linux] correct handling of zombie processes; introduced new ZombieProcess exception class. + #512: [BSD] fix segfault in net_connections(). + #555: [Linux] psutil.users() correctly handles ":0" as an alias for "localhost" + #579: [Windows] Fixed open_files() for PID>64K. + #579: [Windows] fixed many compiler warnings. + #585: [FreeBSD] net_connections() may raise KeyError. + #586: [FreeBSD] cpu_affinity() segfaults on set in case an invalid CPU number is provided. + #593: [FreeBSD] Process().memory_maps() segfaults. + #606: Process.parent() may swallow NoSuchProcess exceptions. + #611: [SunOS] net_io_counters has send and received swapped + #614: [Linux]: cpu_count(logical=False) return the number of physical CPUs instead of physical cores. + #618: [SunOS] swap tests fail on Solaris when run as normal user + #628: [Linux] Process.name() truncates process name in case it contains spaces or parentheses. - specfile: * location of .so files changes to subdir psutil ------------------------------------------------------------------- Mon Feb 2 22:16:07 UTC 2015 - michael@stroeder.com - Update to 2.2.1: - Fixed #572 ValueError: ambiguos inode with multiple PIDs references ------------------------------------------------------------------- Tue Jan 6 23:46:40 UTC 2015 - michael@stroeder.com - Update to 2.2.0: - FreeBSD has now support for process CPU affinity - new pstree.py and pidof.py example scripts - C extension version mismatch in case the user messed up with psutil installation or with sys.path is now detected at import time - [Linux] a lot of file descriptors were left open - [Windows] use proper encoding for psutil.Process.username() and psutil.users(). - [Solaris] fixed a high-priority bug which crashed psutil on import. ------------------------------------------------------------------- Tue Nov 18 13:55:21 UTC 2014 - toddrme2178@gmail.com - Update to 2.1.3 * fix "undefined symbol: CPU_ALLOC" compilation error. ------------------------------------------------------------------- Tue Sep 30 10:32:34 UTC 2014 - toddrme2178@gmail.com - Update documentation files - Spec file cleanups - Update shebang fix - Disable broken unit tests: tests don't work without root permissions - Update dependencies. We should actually guarantee psutil and so on are installed. - Update urls - Update to version 2.1.2 * Enhancements * #407: project moved from Google Code to Github; code moved from Mercurial to Git. * #492: use tox to run tests on multiple python versions. (patch by msabramo) * #505: [Windows] distribution as wheel packages. * #511: new examples/ps.py sample code. * Bug fixes * #340: [Windows] Process.get_open_files() no longer hangs. (patch by Jeff Tang) * #501: [Windows] disk_io_counters() may return negative values. * #503: [Linux] in rare conditions Process exe(), open_files() and connections() methods can raise OSError(ESRCH) instead of NoSuchProcess. * #504: [Linux] can't build RPM packages via setup.py * #506: [Linux] python 2.4 support was broken. * #522: [Linux] Process.cpu_affinity() might return EINVAL. (patch by David Daeschler) * #529: [Windows] Process.exe() may raise unhandled WindowsError exception for PIDs 0 and 4. (patch by Jeff Tang) * #530: [Linux] psutil.disk_io_counters() may crash on old Linux distros (< 2.6.5) (patch by Yaolong Huang) * #533: [Linux] Process.memory_maps() may raise TypeError on old Linux distros. - Update to version 2.1.1 * Bug fixes * #446: [Windows] fix encoding error when using net_io_counters() on Python 3. (patch by Szigeti Gabor Niif) * #460: [Windows] net_io_counters() wraps after 4G. * #491: [Linux] psutil.net_connections() exceptions. (patch by Alexander Grothe) - Update to version 2.1.0 * Enhancements * #387: system-wide open connections a-la netstat. * Bug fixes * #421: [Solaris] psutil does not compile on SunOS 5.10 (patch by Naveed Roudsari) * #489: [Linux] psutil.disk_partitions() return an empty list. - Update to version 2.0.0 * Enhancements * #424: [Windows] installer for Python 3.X 64 bit. * #427: number of logical and physical CPUs (psutil.cpu_count()). * #447: psutil.wait_procs() timeout parameter is now optional. * #452: make Process instances hashable and usable with set()s. * #453: tests on Python < 2.7 require unittest2 module. * #459: add a make file for running tests and other repetitive tasks (also on Windows). * #463: make timeout parameter of cpu_percent* functions default to 0.0 'cause it's a common trap to introduce slowdowns. * #468: move documentation to readthedocs.com. * #477: process cpu_percent() is about 30% faster. (suggested by crusaderky) * #478: [Linux] almost all APIs are about 30% faster on Python 3.X. * #479: long deprecated psutil.error module is gone; exception classes now live in "psutil" namespace only. * Bug fixes * #193: psutil.Popen constructor can throw an exception if the spawned process terminates quickly. * #340: [Windows] process get_open_files() no longer hangs. (patch by jtang@vahna.net) * #443: [Linux] fix a potential overflow issue for Process.set_cpu_affinity() on systems with more than 64 CPUs. * #448: [Windows] get_children() and ppid() memory leak (patch by Ulrich Klank). * #457: [POSIX] pid_exists() always returns True for PID 0. * #461: namedtuples are not pickle-able. * #466: [Linux] process exe improper null bytes handling. (patch by Gautam Singh) * #470: wait_procs() might not wait. (patch by crusaderky) * #471: [Windows] process exe improper unicode handling. (patch by alex@mroja.net) * #473: psutil.Popen.wait() does not set returncode attribute. * #474: [Windows] Process.cpu_percent() is no longer capped at 100%. * #476: [Linux] encoding error for process name and cmdline. * API changes For the sake of consistency a lot of psutil APIs have been renamed. In most cases accessing the old names will work but it will cause a DeprecationWarning. * psutil.* module level constants have being replaced by functions * Renamed psutil.* functions * All psutil.Process ``get_*`` methods lost the ``get_`` prefix. get_ext_memory_info() renamed to memory_info_ex(). Assuming "p = psutil.Process()" * All psutil.Process ``set_*`` methods lost the ``set_`` prefix. Assuming "p = psutil.Process()" * Except for 'pid' all psutil.Process class properties have been turned into methods. This is the only case which there are no aliases. Assuming "p = psutil.Process()" * timeout parameter of cpu_percent* functions defaults to 0.0 instead of 0.1. * long deprecated psutil.error module is gone; exception classes now live in "psutil" namespace only. * Process instances' "retcode" attribute returned by psutil.wait_procs() has been renamed to "returncode" for consistency with subprocess.Popen. ------------------------------------------------------------------- Wed Nov 27 21:26:26 UTC 2013 - p.drouand@gmail.com - Update to version 1.2.1 * #348: [Windows XP] fixed "ImportError: DLL load failed" occurring on module import. * #425: [Solaris] crash on import due to failure at determining BOOT_TIME. * #443: [Linux] can't set CPU affinity with systems with more than 64 cores. - Changes from version 1.2.0 * #439: assume os.getpid() if no argument is passed to psutil.Process constructor. * #440: new psutil.wait_procs() utility function which waits for multiple processes to terminate. * #348: [Windows XP/Vista] fixed "ImportError: DLL load failed" occurring on module import. - Changes from version 1.1.3 * #442: [Linux] psutil won't compile on certain version of Linux because of missing prlimit(2) syscall. - Changes from version 1.1.2 * #442: [Linux] psutil won't compile on Debian 6.0 because of missing prlimit(2) syscall. ------------------------------------------------------------------- Mon Oct 21 12:19:35 UTC 2013 - dmueller@suse.com - update to 1.1.1: * #410: tar.gz and windows binary files are now hosted on PYPI. * #412: [Linux] get/set process resource limits. * #415: [Windows] Process.get_children() is an order of magnitude faster. * #426: [Windows] Process.name is an order of magnitude faster. * #431: [UNIX] Process.name is slightly faster because it unnecessarily retrieved also process cmdline. ------------------------------------------------------------------- Fri Jul 19 10:52:59 UTC 2013 - dmueller@suse.com - update to 1.0.1: * network_io_counters(pernic=True) no longer works as intended in 1.0.0. ------------------------------------------------------------------- Thu Jul 11 14:27:00 UTC 2013 - dmueller@suse.com - update to 1.0.0: * Process.get_connections() 'status' strings are now constants. * test suite exits with non-zero on failure. (patch by floppymaster) * extensively use unittest2 module in unit tests and provide workarounds if this is not installed on python < 2.7. * Process.get_memory_maps() may raise ValueError. * Process.get_connections() 'status' field is no longer a string but a constant object (psutil.CONN_*). * Process.get_connections() 'local_address' and 'remote_address' fields renamed to 'laddr' and 'raddr'. * psutil.network_io_counters() renamed to psutil.net_io_counters(). ------------------------------------------------------------------- Tue May 7 08:31:57 UTC 2013 - michael@stroeder.com - Update to upstream release 0.7.1: Many bug fixes, some new features and API changes ------------------------------------------------------------------- Wed Jan 2 19:44:41 UTC 2013 - toddrme2178@gmail.com - Fix building on SLES ------------------------------------------------------------------- Sat Oct 6 23:01:56 UTC 2012 - os-dev@jacraig.com - Update to 0.6.1: * process cmdline property now makes a better job at guessing the process executable from the cmdline. * process exe was resolved in case it was a symlink. * python 2.4 compatibility was broken. * process exe can now return an empty string instead of raising AccessDenied. * process exe is no longer resolved in case it's a symlink. - Tons of changes from previous versions, please see HISTORY. - Remove references to docs directory in spec file, as it no longer exists. - Remove unnecessary shebangs from python scripts to quiet rpmlint. ------------------------------------------------------------------- Fri May 25 04:29:28 UTC 2012 - highwaystar.ru@gmail.com - python3 package added - minor spec improvement ------------------------------------------------------------------- Tue Apr 24 07:44:19 UTC 2012 - saschpe@suse.de - It's not a noarch package ------------------------------------------------------------------- Fri Mar 23 09:44:42 UTC 2012 - saschpe@suse.de - Spec file cleanup: * No need for setuptools here, distribute replaces it completely * Macro simplifcation ------------------------------------------------------------------- Mon Mar 19 22:00:43 UTC 2012 - cfarrell@suse.com - First import