python/psutil/HISTORY

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python/psutil/HISTORY	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,574 @@
     1.4 +Bug tracker at http://code.google.com/p/psutil/issues
     1.5 +
     1.6 +
     1.7 +1.0.1 - 2013-07-12
     1.8 +------------------
     1.9 +
    1.10 +BUG FIXES
    1.11 +
    1.12 + * #405: network_io_counters(pernic=True) no longer works as intended in 1.0.0.
    1.13 +
    1.14 +
    1.15 +1.0.0 - 2013-07-10
    1.16 +------------------
    1.17 +
    1.18 +NEW FEATURES
    1.19 +
    1.20 + * #18:  Solaris support (yay!)  (thanks Justin Venus)
    1.21 + * #367: Process.get_connections() 'status' strings are now constants.
    1.22 + * #380: test suite exits with non-zero on failure.  (patch by floppymaster)
    1.23 + * #391: extensively use unittest2 module in unit tests and provide
    1.24 +         workarounds if this is not installed on python < 2.7.
    1.25 +
    1.26 +BUG FIXES
    1.27 +
    1.28 + * #374: [Windows] negative memory usage reported when processes use a lot of
    1.29 +         memory.
    1.30 + * #379: [Linux] Process.get_memory_maps() may raise ValueError.
    1.31 + * #394: [OSX] Mapped memory regions report incorrect file name.
    1.32 + * #404: [Linux] sched_*affinity() are implicitly declared.  (patch by Arfrever)
    1.33 +
    1.34 +API CHANGES
    1.35 +
    1.36 + * Process.get_connections() 'status' field is no longer a string but a constant
    1.37 +   object (psutil.CONN_*).
    1.38 + * Process.get_connections() 'local_address' and 'remote_address' fields renamed
    1.39 +   to 'laddr' and 'raddr'.
    1.40 + * psutil.network_io_counters() renamed to psutil.net_io_counters().
    1.41 +
    1.42 +
    1.43 +0.7.1 - 2013-05-03
    1.44 +------------------
    1.45 +
    1.46 +BUG FIXES:
    1.47 +
    1.48 + * #325: [BSD] psutil.virtual_memory() can raise SystemError.
    1.49 +         (patch by Jan Beich)
    1.50 + * #370: [BSD] Process.get_connections() requires root.  (patch by John Baldwin)
    1.51 + * #372: [BSD] different process methods raise NoSuchProcess instead of
    1.52 +         AccessDenied.
    1.53 +
    1.54 +
    1.55 +0.7.0 - 2013-04-12
    1.56 +------------------
    1.57 +
    1.58 +NEW FEATURES
    1.59 +
    1.60 + * #233: code migrated to Mercurial (yay!)
    1.61 + * #246: psutil.error module is deprecated and scheduled for removal.
    1.62 + * #328: [Windows] process IO nice/priority support.
    1.63 + * #359: psutil.get_boot_time()
    1.64 + * #361: [Linux] psutil.cpu_times() now includes new 'steal', 'guest' and
    1.65 +         'guest_nice' fields available on recent Linux kernels.
    1.66 +         Also, psutil.cpu_percent() is more accurate.
    1.67 + * #362: cpu_times_percent() (per-CPU-time utilization as a percentage)
    1.68 +
    1.69 +BUG FIXES
    1.70 +
    1.71 + * #234: [Windows] disk_io_counters() fails to list certain disks.
    1.72 + * #264: [Windows] use of psutil.disk_partitions() may cause a message box to
    1.73 +         appear.
    1.74 + * #313: [Linux] psutil.virtual_memory() and psutil.swap_memory() can crash on
    1.75 +         certain exotic Linux flavors having an incomplete /proc interface.
    1.76 +         If that's the case we now set the unretrievable stats to 0 and raise a
    1.77 +         RuntimeWarning.
    1.78 + * #315: [OSX] fix some compilation warnings.
    1.79 + * #317: [Windows] cannot set process CPU affinity above 31 cores.
    1.80 + * #319: [Linux] process get_memory_maps() raises KeyError 'Anonymous' on Debian
    1.81 +         squeeze.
    1.82 + * #321: [UNIX] Process.ppid property is no longer cached as the kernel may set
    1.83 +         the ppid to 1 in case of a zombie process.
    1.84 + * #323: [OSX] disk_io_counters()'s read_time and write_time parameters were
    1.85 +         reporting microseconds not milliseconds.  (patch by Gregory Szorc)
    1.86 + * #331: Process cmdline is no longer cached after first acces as it may change.
    1.87 + * #333: [OSX] Leak of Mach ports on OS X (patch by rsesek@google.com)
    1.88 + * #337: [Linux] process methods not working because of a poor /proc
    1.89 +         implementation will raise NotImplementedError rather than RuntimeError
    1.90 +         and Process.as_dict() will not blow up.  (patch by Curtin1060)
    1.91 + * #338: [Linux] disk_io_counters() fails to find some disks.
    1.92 + * #339: [FreeBSD] get_pid_list() can allocate all the memory on system.
    1.93 + * #341: [Linux] psutil might crash on import due to error in retrieving system
    1.94 +         terminals map.
    1.95 + * #344: [FreeBSD] swap_memory() might return incorrect results due to
    1.96 +         kvm_open(3) not being called. (patch by Jean Sebastien)
    1.97 + * #338: [Linux] disk_io_counters() fails to find some disks.
    1.98 + * #351: [Windows] if psutil is compiled with mingw32 (provided installers for
    1.99 +         py2.4 and py2.5 are) disk_io_counters() will fail. (Patch by m.malycha)
   1.100 + * #353: [OSX] get_users() returns an empty list on OSX 10.8.
   1.101 + * #356: Process.parent now checks whether parent PID has been reused in which
   1.102 +         case returns None.
   1.103 + * #365: Process.set_nice() should check PID has not been reused by another
   1.104 +         process.
   1.105 + * #366: [FreeBSD] get_memory_maps(), get_num_fds(), get_open_files() and
   1.106 +         getcwd() Process methods raise RuntimeError instead of AccessDenied.
   1.107 +
   1.108 +API CHANGES
   1.109 +
   1.110 + * Process.cmdline property is no longer cached after first access.
   1.111 + * Process.ppid property is no longer cached after first access.
   1.112 + * [Linux] Process methods not working because of a poor /proc implementation
   1.113 +   will raise NotImplementedError instead of RuntimeError.
   1.114 + * psutil.error module is deprecated and scheduled for removal.
   1.115 +
   1.116 +
   1.117 +0.6.1 - 2012-08-16
   1.118 +------------------
   1.119 +
   1.120 +NEW FEATURES
   1.121 +
   1.122 + * #316: process cmdline property now makes a better job at guessing the process
   1.123 +         executable from the cmdline.
   1.124 +
   1.125 +BUG FIXES
   1.126 +
   1.127 + * #316: process exe was resolved in case it was a symlink.
   1.128 + * #318: python 2.4 compatibility was broken.
   1.129 +
   1.130 +API CHANGES
   1.131 +
   1.132 + * process exe can now return an empty string instead of raising AccessDenied.
   1.133 + * process exe is no longer resolved in case it's a symlink.
   1.134 +
   1.135 +
   1.136 +0.6.0 - 2012-08-13
   1.137 +------------------
   1.138 +
   1.139 +NEW FEATURES
   1.140 +
   1.141 + * #216: [POSIX] get_connections() UNIX sockets support.
   1.142 + * #220: [FreeBSD] get_connections() has been rewritten in C and no longer
   1.143 +         requires lsof.
   1.144 + * #222: [OSX] add support for process cwd.
   1.145 + * #261: process extended memory info.
   1.146 + * #295: [OSX] process executable path is now determined by asking the OS
   1.147 +         instead of being guessed from process cmdline.
   1.148 + * #297: [OSX] the Process methods below were always raising AccessDenied for
   1.149 +         any process except the current one. Now this is no longer true. Also
   1.150 +         they are 2.5x faster.
   1.151 +           - name
   1.152 +           - get_memory_info()
   1.153 +           - get_memory_percent()
   1.154 +           - get_cpu_times()
   1.155 +           - get_cpu_percent()
   1.156 +           - get_num_threads()
   1.157 + * #300: examples/pmap.py script.
   1.158 + * #301: process_iter() now yields processes sorted by their PIDs.
   1.159 + * #302: process number of voluntary and involuntary context switches.
   1.160 + * #303: [Windows] the Process methods below were always raising AccessDenied
   1.161 +         for any process not owned by current user. Now this is no longer true:
   1.162 +          - create_time
   1.163 +          - get_cpu_times()
   1.164 +          - get_cpu_percent()
   1.165 +          - get_memory_info()
   1.166 +          - get_memory_percent()
   1.167 +          - get_num_handles()
   1.168 +          - get_io_counters()
   1.169 + * #305: add examples/netstat.py script.
   1.170 + * #311: system memory functions has been refactorized and rewritten and now
   1.171 +         provide a more detailed and consistent representation of the system
   1.172 +         memory. New psutil.virtual_memory() function provides the following
   1.173 +         memory amounts:
   1.174 +          - total
   1.175 +          - available
   1.176 +          - percent
   1.177 +          - used
   1.178 +          - active [POSIX]
   1.179 +          - inactive [POSIX]
   1.180 +          - buffers (BSD, Linux)
   1.181 +          - cached (BSD, OSX)
   1.182 +          - wired (OSX, BSD)
   1.183 +          - shared [FreeBSD]
   1.184 +         New psutil.swap_memory() provides:
   1.185 +          - total
   1.186 +          - used
   1.187 +          - free
   1.188 +          - percent
   1.189 +          - sin (no. of bytes the system has swapped in from disk (cumulative))
   1.190 +          - sout (no. of bytes the system has swapped out from disk (cumulative))
   1.191 +         All old memory-related functions are deprecated.
   1.192 +         Also two new example scripts were added:  free.py and meminfo.py.
   1.193 + * #312: psutil.network_io_counters() namedtuple includes 4 new fields:
   1.194 +         errin, errout dropin and dropout, reflecting the number of packets
   1.195 +         dropped and with errors.
   1.196 +
   1.197 +BUGFIXES
   1.198 +
   1.199 + * #298: [OSX and BSD] memory leak in get_num_fds().
   1.200 + * #299: potential memory leak every time PyList_New(0) is used.
   1.201 + * #303: [Windows] potential heap corruption in get_num_threads() and
   1.202 +         get_status() Process methods.
   1.203 + * #305: [FreeBSD] psutil can't compile on FreeBSD 9 due to removal of utmp.h.
   1.204 + * #306: at C level, errors are not checked when invoking Py* functions which
   1.205 +         create or manipulate Python objects leading to potential memory related
   1.206 +         errors and/or segmentation faults.
   1.207 + * #307: [FreeBSD] values returned by psutil.network_io_counters() are wrong.
   1.208 + * #308: [BSD / Windows] psutil.virtmem_usage() wasn't actually returning
   1.209 +         information about swap memory usage as it was supposed to do. It does
   1.210 +         now.
   1.211 + * #309: get_open_files() might not return files which can not be accessed
   1.212 +         due to limited permissions. AccessDenied is now raised instead.
   1.213 +
   1.214 +API CHANGES
   1.215 +
   1.216 + * psutil.phymem_usage() is deprecated             (use psutil.virtual_memory())
   1.217 + * psutil.virtmem_usage() is deprecated            (use psutil.swap_memory())
   1.218 + * psutil.phymem_buffers() on Linux is deprecated  (use psutil.virtual_memory())
   1.219 + * psutil.cached_phymem() on Linux is deprecated   (use psutil.virtual_memory())
   1.220 + * [Windows and BSD] psutil.virtmem_usage() now returns information about swap
   1.221 +   memory instead of virtual memory.
   1.222 +
   1.223 +
   1.224 +0.5.1 - 2012-06-29
   1.225 +------------------
   1.226 +
   1.227 +NEW FEATURES
   1.228 +
   1.229 + * #293: [Windows] process executable path is now determined by asking the OS
   1.230 +         instead of being guessed from process cmdline.
   1.231 +
   1.232 +BUGFIXES
   1.233 +
   1.234 + * #292: [Linux] race condition in process files/threads/connections.
   1.235 + * #294: [Windows] Process CPU affinity is only able to set CPU #0.
   1.236 +
   1.237 +
   1.238 +0.5.0 - 2012-06-27
   1.239 +------------------
   1.240 +
   1.241 +NEW FEATURES
   1.242 +
   1.243 + * #195: [Windows] number of handles opened by process.
   1.244 + * #209: psutil.disk_partitions() now provides also mount options.
   1.245 + * #229: list users currently connected on the system (psutil.get_users()).
   1.246 + * #238: [Linux, Windows] process CPU affinity (get and set).
   1.247 + * #242: Process.get_children(recursive=True): return all process
   1.248 +         descendants.
   1.249 + * #245: [POSIX] Process.wait() incrementally consumes less CPU cycles.
   1.250 + * #257: [Windows] removed Windows 2000 support.
   1.251 + * #258: [Linux] Process.get_memory_info() is now 0.5x faster.
   1.252 + * #260: process's mapped memory regions. (Windows patch by wj32.64, OSX patch
   1.253 +         by Jeremy Whitlock)
   1.254 + * #262: [Windows] psutil.disk_partitions() was slow due to inspecting the
   1.255 +         floppy disk drive also when "all" argument was False.
   1.256 + * #273: psutil.get_process_list() is deprecated.
   1.257 + * #274: psutil no longer requires 2to3 at installation time in order to work
   1.258 +         with Python 3.
   1.259 + * #278: new Process.as_dict() method.
   1.260 + * #281: ppid, name, exe, cmdline and create_time properties of Process class
   1.261 +         are now cached after being accessed.
   1.262 + * #282: psutil.STATUS_* constants can now be compared by using their string
   1.263 +         representation.
   1.264 + * #283: speedup Process.is_running() by caching its return value in case the
   1.265 +         process is terminated.
   1.266 + * #284: [POSIX] per-process number of opened file descriptors.
   1.267 + * #287: psutil.process_iter() now caches Process instances between calls.
   1.268 + * #290: Process.nice property is deprecated in favor of new get_nice() and
   1.269 +         set_nice() methods.
   1.270 +
   1.271 +BUGFIXES
   1.272 +
   1.273 + * #193: psutil.Popen constructor can throw an exception if the spawned process
   1.274 +         terminates quickly.
   1.275 + * #240: [OSX] incorrect use of free() for Process.get_connections().
   1.276 + * #244: [POSIX] Process.wait() can hog CPU resources if called against a
   1.277 +         process which is not our children.
   1.278 + * #248: [Linux] psutil.network_io_counters() might return erroneous NIC names.
   1.279 + * #252: [Windows] process getcwd() erroneously raise NoSuchProcess for
   1.280 +         processes owned by another user.  It now raises AccessDenied instead.
   1.281 + * #266: [Windows] psutil.get_pid_list() only shows 1024 processes.
   1.282 +         (patch by Amoser)
   1.283 + * #267: [OSX] Process.get_connections() - an erroneous remote address was
   1.284 +         returned. (Patch by Amoser)
   1.285 + * #272: [Linux] Porcess.get_open_files() - potential race condition can lead to
   1.286 +         unexpected NoSuchProcess exception.  Also, we can get incorrect reports
   1.287 +         of not absolutized path names.
   1.288 + * #275: [Linux] Process.get_io_counters() erroneously raise NoSuchProcess on
   1.289 +         old Linux versions. Where not available it now raises
   1.290 +         NotImplementedError.
   1.291 + * #286: Process.is_running() doesn't actually check whether PID has been
   1.292 +         reused.
   1.293 + * #314: Process.get_children() can sometimes return non-children.
   1.294 +
   1.295 +API CHANGES
   1.296 +
   1.297 + * Process.nice property is deprecated in favor of new get_nice() and set_nice()
   1.298 +   methods.
   1.299 + * psutil.get_process_list() is deprecated.
   1.300 + * ppid, name, exe, cmdline and create_time properties of Process class are now
   1.301 +   cached after being accessed, meaning NoSuchProcess will no longer be raised
   1.302 +   in case the process is gone in the meantime.
   1.303 + * psutil.STATUS_* constants can now be compared by using their string
   1.304 +   representation.
   1.305 +
   1.306 +
   1.307 +0.4.1 - 2011-12-14
   1.308 +------------------
   1.309 +
   1.310 +BUGFIXES
   1.311 +
   1.312 + * #228: some example scripts were not working with python 3.
   1.313 + * #230: [Windows / OSX] memory leak in Process.get_connections().
   1.314 + * #232: [Linux] psutil.phymem_usage() can report erroneous values which are
   1.315 +         different than "free" command.
   1.316 + * #236: [Windows] memory/handle leak in Process's get_memory_info(),
   1.317 +         suspend() and resume() methods.
   1.318 +
   1.319 +
   1.320 +0.4.0 - 2011-10-29
   1.321 +------------------
   1.322 +
   1.323 +NEW FEATURES
   1.324 +
   1.325 + * #150: network I/O counters. (OSX and Windows patch by Jeremy Whitlock)
   1.326 + * #154: [FreeBSD] add support for process getcwd()
   1.327 + * #157: [Windows] provide installer for Python 3.2 64-bit.
   1.328 + * #198: Process.wait(timeout=0) can now be used to make wait() return
   1.329 +         immediately.
   1.330 + * #206: disk I/O counters. (OSX and Windows patch by Jeremy Whitlock)
   1.331 + * #213: examples/iotop.py script.
   1.332 + * #217: Process.get_connections() now has a "kind" argument to filter
   1.333 +   for connections with different criteria.
   1.334 + * #221: [FreeBSD] Process.get_open_files has been rewritten in C and no longer
   1.335 +   relies on lsof.
   1.336 + * #223: examples/top.py script.
   1.337 + * #227: examples/nettop.py script.
   1.338 +
   1.339 +BUGFIXES
   1.340 +
   1.341 + * #135: [OSX] psutil cannot create Process object.
   1.342 + * #144: [Linux] no longer support 0 special PID.
   1.343 + * #188: [Linux] psutil import error on Linux ARM architectures.
   1.344 + * #194: [POSIX] psutil.Process.get_cpu_percent() now reports a percentage over
   1.345 +         100 on multicore processors.
   1.346 + * #197: [Linux] Process.get_connections() is broken on platforms not supporting
   1.347 +         IPv6.
   1.348 + * #200: [Linux] psutil.NUM_CPUS not working on armel and sparc architectures
   1.349 +         and causing crash on module import.
   1.350 + * #201: [Linux] Process.get_connections() is broken on big-endian
   1.351 +          architectures.
   1.352 + * #211: Process instance can unexpectedly raise NoSuchProcess if tested for
   1.353 +         equality with another object.
   1.354 + * #218: [Linux] crash at import time on Debian 64-bit because of a missing line
   1.355 +         in /proc/meminfo.
   1.356 + * #226: [FreeBSD] crash at import time on FreeBSD 7 and minor.
   1.357 +
   1.358 +
   1.359 +0.3.0 - 2011-07-08
   1.360 +------------------
   1.361 +
   1.362 +NEW FEATURES
   1.363 +
   1.364 + * #125: system per-cpu percentage utilization and times.
   1.365 + * #163: per-process associated terminal (TTY).
   1.366 + * #171: added get_phymem() and get_virtmem() functions returning system
   1.367 +         memory information (total, used, free) and memory percent usage.
   1.368 +         total_* avail_* and used_* memory functions are deprecated.
   1.369 + * #172: disk usage statistics.
   1.370 + * #174: mounted disk partitions.
   1.371 + * #179: setuptools is now used in setup.py
   1.372 +
   1.373 +BUGFIXES
   1.374 +
   1.375 + * #159: SetSeDebug() does not close handles or unset impersonation on return.
   1.376 + * #164: [Windows] wait function raises a TimeoutException when a process
   1.377 +         returns -1 .
   1.378 + * #165: process.status raises an unhandled exception.
   1.379 + * #166: get_memory_info() leaks handles hogging system resources.
   1.380 + * #168: psutil.cpu_percent() returns erroneous results when used in
   1.381 +         non-blocking mode.  (patch by Philip Roberts)
   1.382 + * #178: OSX - Process.get_threads() leaks memory
   1.383 + * #180: [Windows] Process's get_num_threads() and get_threads() methods can
   1.384 +         raise NoSuchProcess exception while process still exists.
   1.385 +
   1.386 +
   1.387 +0.2.1 - 2011-03-20
   1.388 +------------------
   1.389 +
   1.390 +NEW FEATURES
   1.391 +
   1.392 + * #64: per-process I/O counters.
   1.393 + * #116: per-process wait() (wait for process to terminate and return its exit
   1.394 +         code).
   1.395 + * #134: per-process get_threads() returning information (id, user and kernel
   1.396 +         times) about threads opened by process.
   1.397 + * #136: process executable path on FreeBSD is now determined by asking the
   1.398 +         kernel instead of guessing it from cmdline[0].
   1.399 + * #137: per-process real, effective and saved user and group ids.
   1.400 + * #140: system boot time.
   1.401 + * #142: per-process get and set niceness (priority).
   1.402 + * #143: per-process status.
   1.403 + * #147: per-process I/O nice (priority) - Linux only.
   1.404 + * #148: psutil.Popen class which tidies up subprocess.Popen and psutil.Process
   1.405 +         in a unique interface.
   1.406 + * #152: [OSX] get_process_open_files() implementation has been rewritten
   1.407 +         in C and no longer relies on lsof resulting in a 3x speedup.
   1.408 + * #153: [OSX] get_process_connection() implementation has been rewritten
   1.409 +         in C and no longer relies on lsof resulting in a 3x speedup.
   1.410 +
   1.411 +BUGFIXES
   1.412 +
   1.413 + * #83:  process cmdline is empty on OSX 64-bit.
   1.414 + * #130: a race condition can cause IOError exception be raised on
   1.415 +         Linux if process disappears between open() and subsequent read() calls.
   1.416 + * #145: WindowsError was raised instead of psutil.AccessDenied when using
   1.417 +         process resume() or suspend() on Windows.
   1.418 + * #146: 'exe' property on Linux can raise TypeError if path contains NULL
   1.419 +         bytes.
   1.420 + * #151: exe and getcwd() for PID 0 on Linux return inconsistent data.
   1.421 +
   1.422 +API CHANGES
   1.423 +
   1.424 + * Process "uid" and "gid" properties are deprecated in favor of "uids" and
   1.425 +   "gids" properties.
   1.426 +
   1.427 +
   1.428 +0.2.0 - 2010-11-13
   1.429 +------------------
   1.430 +
   1.431 +NEW FEATURES
   1.432 +
   1.433 + * #79: per-process open files.
   1.434 + * #88: total system physical cached memory.
   1.435 + * #88: total system physical memory buffers used by the kernel.
   1.436 + * #91: per-process send_signal() and terminate() methods.
   1.437 + * #95: NoSuchProcess and AccessDenied exception classes now provide "pid",
   1.438 +        "name" and "msg" attributes.
   1.439 + * #97: per-process children.
   1.440 + * #98: Process.get_cpu_times() and Process.get_memory_info now return
   1.441 +        a namedtuple instead of a tuple.
   1.442 + * #103: per-process opened TCP and UDP connections.
   1.443 + * #107: add support for Windows 64 bit. (patch by cjgohlke)
   1.444 + * #111: per-process executable name.
   1.445 + * #113: exception messages now include process name and pid.
   1.446 + * #114: process username Windows implementation has been rewritten in pure
   1.447 +         C and no longer uses WMI resulting in a big speedup. Also, pywin32 is no
   1.448 +         longer required as a third-party dependancy. (patch by wj32)
   1.449 + * #117: added support for Windows 2000.
   1.450 + * #123: psutil.cpu_percent() and psutil.Process.cpu_percent() accept a
   1.451 +         new 'interval' parameter.
   1.452 + * #129: per-process number of threads.
   1.453 +
   1.454 +BUGFIXES
   1.455 +
   1.456 + * #80: fixed warnings when installing psutil with easy_install.
   1.457 + * #81: psutil fails to compile with Visual Studio.
   1.458 + * #94: suspend() raises OSError instead of AccessDenied.
   1.459 + * #86: psutil didn't compile against FreeBSD 6.x.
   1.460 + * #102: orphaned process handles obtained by using OpenProcess in C were
   1.461 +         left behind every time Process class was instantiated.
   1.462 + * #111: path and name Process properties report truncated or erroneous
   1.463 +         values on UNIX.
   1.464 + * #120: cpu_percent() always returning 100% on OS X.
   1.465 + * #112: uid and gid properties don't change if process changes effective
   1.466 +         user/group id at some point.
   1.467 + * #126: ppid, uid, gid, name, exe, cmdline and create_time properties are
   1.468 +         no longer cached and correctly raise NoSuchProcess exception if the process
   1.469 +         disappears.
   1.470 +
   1.471 +API CHANGES
   1.472 +
   1.473 + * psutil.Process.path property is deprecated and works as an alias for "exe"
   1.474 +   property.
   1.475 + * psutil.Process.kill(): signal argument was removed - to send a signal to the
   1.476 +   process use send_signal(signal) method instead.
   1.477 + * psutil.Process.get_memory_info() returns a nametuple instead of a tuple.
   1.478 + * psutil.cpu_times() returns a nametuple instead of a tuple.
   1.479 + * New psutil.Process methods: get_open_files(), get_connections(),
   1.480 +   send_signal() and terminate().
   1.481 + * ppid, uid, gid, name, exe, cmdline and create_time properties are no longer
   1.482 +   cached and raise NoSuchProcess exception if process disappears.
   1.483 + * psutil.cpu_percent() no longer returns immediately (see issue 123).
   1.484 + * psutil.Process.get_cpu_percent() and psutil.cpu_percent() no longer returns
   1.485 +   immediately by default (see issue 123).
   1.486 +
   1.487 +
   1.488 +0.1.3 - 2010-03-02
   1.489 +------------------
   1.490 +
   1.491 +NEW FEATURES
   1.492 +
   1.493 + * #14: per-process username
   1.494 + * #51: per-process current working directory (Windows and Linux only)
   1.495 + * #59: Process.is_running() is now 10 times faster
   1.496 + * #61: added supoprt for FreeBSD 64 bit
   1.497 + * #71: implemented suspend/resume process
   1.498 + * #75: python 3 support
   1.499 +
   1.500 +BUGFIXES
   1.501 +
   1.502 + * #36: process cpu_times() and memory_info() functions succeeded also for
   1.503 +        dead processes while a NoSuchProcess exception is supposed to be raised.
   1.504 + * #48: incorrect size for mib array defined in getcmdargs for BSD
   1.505 + * #49: possible memory leak due to missing free() on error condition on
   1.506 + * #50: fixed getcmdargs() memory fragmentation on BSD
   1.507 + * #55: test_pid_4 was failing on Windows Vista
   1.508 + * #57: some unit tests were failing on systems where no swap memory is
   1.509 +        available
   1.510 + * #58: is_running() is now called before kill() to make sure we are going
   1.511 +        to kill the correct process.
   1.512 + * #73: virtual memory size reported on OS X includes shared library size
   1.513 + * #77: NoSuchProcess wasn't raised on Process.create_time if kill() was
   1.514 +        used first.
   1.515 +
   1.516 +
   1.517 +0.1.2 - 2009-05-06
   1.518 +------------------
   1.519 +
   1.520 +NEW FEATURES
   1.521 +
   1.522 + * #32: Per-process CPU user/kernel times
   1.523 + * #33: Process create time
   1.524 + * #34: Per-process CPU utilization percentage
   1.525 + * #38: Per-process memory usage (bytes)
   1.526 + * #41: Per-process memory utilization (percent)
   1.527 + * #39: System uptime
   1.528 + * #43: Total system virtual memory
   1.529 + * #46: Total system physical memory
   1.530 + * #44: Total system used/free virtual and physical memory
   1.531 +
   1.532 +BUGFIXES
   1.533 +
   1.534 + * #36: [Windows] NoSuchProcess not raised when accessing timing methods.
   1.535 + * #40: test_get_cpu_times() failing on FreeBSD and OS X.
   1.536 + * #42: [Windows] get_memory_percent() raises AccessDenied.
   1.537 +
   1.538 +
   1.539 +0.1.1 - 2009-03-06
   1.540 +------------------
   1.541 +
   1.542 +NEW FEATURES
   1.543 +
   1.544 + * #4: FreeBSD support for all functions of psutil
   1.545 + * #9: Process.uid and Process.gid now retrieve process UID and GID.
   1.546 + * #11: Support for parent/ppid - Process.parent property returns a
   1.547 +        Process object representing the parent process, and Process.ppid returns
   1.548 +        the parent PID.
   1.549 + * #12 & 15:
   1.550 +        NoSuchProcess exception now raised when creating an object
   1.551 +        for a nonexistent process, or when retrieving information about a process
   1.552 +        that has gone away.
   1.553 + * #21: AccessDenied exception created for raising access denied errors
   1.554 +        from OSError or WindowsError on individual platforms.
   1.555 + * #26: psutil.process_iter() function to iterate over processes as
   1.556 +        Process objects with a generator.
   1.557 + * #?:  Process objects can now also be compared with == operator for equality
   1.558 +        (PID, name, command line are compared).
   1.559 +
   1.560 +BUGFIXES
   1.561 +
   1.562 + * #16: [Windows] Special case for "System Idle Process" (PID 0) which
   1.563 +        otherwise would return an "invalid parameter" exception.
   1.564 + * #17: get_process_list() ignores NoSuchProcess and AccessDenied
   1.565 +        exceptions during building of the list.
   1.566 + * #22: [Windows] Process(0).kill() was failing with an unset exception.
   1.567 + * #23: Special case for pid_exists(0)
   1.568 + * #24: [Windows] Process(0).kill() now raises AccessDenied exception instead of
   1.569 +        WindowsError.
   1.570 + * #30: psutil.get_pid_list() was returning two instances of PID 0 on OS
   1.571 +        X and FreeBSD platforms.
   1.572 +
   1.573 +
   1.574 +0.1.0 - 2009-01-27
   1.575 +------------------
   1.576 +
   1.577 + * Initial release.

mercurial