Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | Bug tracker at http://code.google.com/p/psutil/issues |
michael@0 | 2 | |
michael@0 | 3 | |
michael@0 | 4 | 1.0.1 - 2013-07-12 |
michael@0 | 5 | ------------------ |
michael@0 | 6 | |
michael@0 | 7 | BUG FIXES |
michael@0 | 8 | |
michael@0 | 9 | * #405: network_io_counters(pernic=True) no longer works as intended in 1.0.0. |
michael@0 | 10 | |
michael@0 | 11 | |
michael@0 | 12 | 1.0.0 - 2013-07-10 |
michael@0 | 13 | ------------------ |
michael@0 | 14 | |
michael@0 | 15 | NEW FEATURES |
michael@0 | 16 | |
michael@0 | 17 | * #18: Solaris support (yay!) (thanks Justin Venus) |
michael@0 | 18 | * #367: Process.get_connections() 'status' strings are now constants. |
michael@0 | 19 | * #380: test suite exits with non-zero on failure. (patch by floppymaster) |
michael@0 | 20 | * #391: extensively use unittest2 module in unit tests and provide |
michael@0 | 21 | workarounds if this is not installed on python < 2.7. |
michael@0 | 22 | |
michael@0 | 23 | BUG FIXES |
michael@0 | 24 | |
michael@0 | 25 | * #374: [Windows] negative memory usage reported when processes use a lot of |
michael@0 | 26 | memory. |
michael@0 | 27 | * #379: [Linux] Process.get_memory_maps() may raise ValueError. |
michael@0 | 28 | * #394: [OSX] Mapped memory regions report incorrect file name. |
michael@0 | 29 | * #404: [Linux] sched_*affinity() are implicitly declared. (patch by Arfrever) |
michael@0 | 30 | |
michael@0 | 31 | API CHANGES |
michael@0 | 32 | |
michael@0 | 33 | * Process.get_connections() 'status' field is no longer a string but a constant |
michael@0 | 34 | object (psutil.CONN_*). |
michael@0 | 35 | * Process.get_connections() 'local_address' and 'remote_address' fields renamed |
michael@0 | 36 | to 'laddr' and 'raddr'. |
michael@0 | 37 | * psutil.network_io_counters() renamed to psutil.net_io_counters(). |
michael@0 | 38 | |
michael@0 | 39 | |
michael@0 | 40 | 0.7.1 - 2013-05-03 |
michael@0 | 41 | ------------------ |
michael@0 | 42 | |
michael@0 | 43 | BUG FIXES: |
michael@0 | 44 | |
michael@0 | 45 | * #325: [BSD] psutil.virtual_memory() can raise SystemError. |
michael@0 | 46 | (patch by Jan Beich) |
michael@0 | 47 | * #370: [BSD] Process.get_connections() requires root. (patch by John Baldwin) |
michael@0 | 48 | * #372: [BSD] different process methods raise NoSuchProcess instead of |
michael@0 | 49 | AccessDenied. |
michael@0 | 50 | |
michael@0 | 51 | |
michael@0 | 52 | 0.7.0 - 2013-04-12 |
michael@0 | 53 | ------------------ |
michael@0 | 54 | |
michael@0 | 55 | NEW FEATURES |
michael@0 | 56 | |
michael@0 | 57 | * #233: code migrated to Mercurial (yay!) |
michael@0 | 58 | * #246: psutil.error module is deprecated and scheduled for removal. |
michael@0 | 59 | * #328: [Windows] process IO nice/priority support. |
michael@0 | 60 | * #359: psutil.get_boot_time() |
michael@0 | 61 | * #361: [Linux] psutil.cpu_times() now includes new 'steal', 'guest' and |
michael@0 | 62 | 'guest_nice' fields available on recent Linux kernels. |
michael@0 | 63 | Also, psutil.cpu_percent() is more accurate. |
michael@0 | 64 | * #362: cpu_times_percent() (per-CPU-time utilization as a percentage) |
michael@0 | 65 | |
michael@0 | 66 | BUG FIXES |
michael@0 | 67 | |
michael@0 | 68 | * #234: [Windows] disk_io_counters() fails to list certain disks. |
michael@0 | 69 | * #264: [Windows] use of psutil.disk_partitions() may cause a message box to |
michael@0 | 70 | appear. |
michael@0 | 71 | * #313: [Linux] psutil.virtual_memory() and psutil.swap_memory() can crash on |
michael@0 | 72 | certain exotic Linux flavors having an incomplete /proc interface. |
michael@0 | 73 | If that's the case we now set the unretrievable stats to 0 and raise a |
michael@0 | 74 | RuntimeWarning. |
michael@0 | 75 | * #315: [OSX] fix some compilation warnings. |
michael@0 | 76 | * #317: [Windows] cannot set process CPU affinity above 31 cores. |
michael@0 | 77 | * #319: [Linux] process get_memory_maps() raises KeyError 'Anonymous' on Debian |
michael@0 | 78 | squeeze. |
michael@0 | 79 | * #321: [UNIX] Process.ppid property is no longer cached as the kernel may set |
michael@0 | 80 | the ppid to 1 in case of a zombie process. |
michael@0 | 81 | * #323: [OSX] disk_io_counters()'s read_time and write_time parameters were |
michael@0 | 82 | reporting microseconds not milliseconds. (patch by Gregory Szorc) |
michael@0 | 83 | * #331: Process cmdline is no longer cached after first acces as it may change. |
michael@0 | 84 | * #333: [OSX] Leak of Mach ports on OS X (patch by rsesek@google.com) |
michael@0 | 85 | * #337: [Linux] process methods not working because of a poor /proc |
michael@0 | 86 | implementation will raise NotImplementedError rather than RuntimeError |
michael@0 | 87 | and Process.as_dict() will not blow up. (patch by Curtin1060) |
michael@0 | 88 | * #338: [Linux] disk_io_counters() fails to find some disks. |
michael@0 | 89 | * #339: [FreeBSD] get_pid_list() can allocate all the memory on system. |
michael@0 | 90 | * #341: [Linux] psutil might crash on import due to error in retrieving system |
michael@0 | 91 | terminals map. |
michael@0 | 92 | * #344: [FreeBSD] swap_memory() might return incorrect results due to |
michael@0 | 93 | kvm_open(3) not being called. (patch by Jean Sebastien) |
michael@0 | 94 | * #338: [Linux] disk_io_counters() fails to find some disks. |
michael@0 | 95 | * #351: [Windows] if psutil is compiled with mingw32 (provided installers for |
michael@0 | 96 | py2.4 and py2.5 are) disk_io_counters() will fail. (Patch by m.malycha) |
michael@0 | 97 | * #353: [OSX] get_users() returns an empty list on OSX 10.8. |
michael@0 | 98 | * #356: Process.parent now checks whether parent PID has been reused in which |
michael@0 | 99 | case returns None. |
michael@0 | 100 | * #365: Process.set_nice() should check PID has not been reused by another |
michael@0 | 101 | process. |
michael@0 | 102 | * #366: [FreeBSD] get_memory_maps(), get_num_fds(), get_open_files() and |
michael@0 | 103 | getcwd() Process methods raise RuntimeError instead of AccessDenied. |
michael@0 | 104 | |
michael@0 | 105 | API CHANGES |
michael@0 | 106 | |
michael@0 | 107 | * Process.cmdline property is no longer cached after first access. |
michael@0 | 108 | * Process.ppid property is no longer cached after first access. |
michael@0 | 109 | * [Linux] Process methods not working because of a poor /proc implementation |
michael@0 | 110 | will raise NotImplementedError instead of RuntimeError. |
michael@0 | 111 | * psutil.error module is deprecated and scheduled for removal. |
michael@0 | 112 | |
michael@0 | 113 | |
michael@0 | 114 | 0.6.1 - 2012-08-16 |
michael@0 | 115 | ------------------ |
michael@0 | 116 | |
michael@0 | 117 | NEW FEATURES |
michael@0 | 118 | |
michael@0 | 119 | * #316: process cmdline property now makes a better job at guessing the process |
michael@0 | 120 | executable from the cmdline. |
michael@0 | 121 | |
michael@0 | 122 | BUG FIXES |
michael@0 | 123 | |
michael@0 | 124 | * #316: process exe was resolved in case it was a symlink. |
michael@0 | 125 | * #318: python 2.4 compatibility was broken. |
michael@0 | 126 | |
michael@0 | 127 | API CHANGES |
michael@0 | 128 | |
michael@0 | 129 | * process exe can now return an empty string instead of raising AccessDenied. |
michael@0 | 130 | * process exe is no longer resolved in case it's a symlink. |
michael@0 | 131 | |
michael@0 | 132 | |
michael@0 | 133 | 0.6.0 - 2012-08-13 |
michael@0 | 134 | ------------------ |
michael@0 | 135 | |
michael@0 | 136 | NEW FEATURES |
michael@0 | 137 | |
michael@0 | 138 | * #216: [POSIX] get_connections() UNIX sockets support. |
michael@0 | 139 | * #220: [FreeBSD] get_connections() has been rewritten in C and no longer |
michael@0 | 140 | requires lsof. |
michael@0 | 141 | * #222: [OSX] add support for process cwd. |
michael@0 | 142 | * #261: process extended memory info. |
michael@0 | 143 | * #295: [OSX] process executable path is now determined by asking the OS |
michael@0 | 144 | instead of being guessed from process cmdline. |
michael@0 | 145 | * #297: [OSX] the Process methods below were always raising AccessDenied for |
michael@0 | 146 | any process except the current one. Now this is no longer true. Also |
michael@0 | 147 | they are 2.5x faster. |
michael@0 | 148 | - name |
michael@0 | 149 | - get_memory_info() |
michael@0 | 150 | - get_memory_percent() |
michael@0 | 151 | - get_cpu_times() |
michael@0 | 152 | - get_cpu_percent() |
michael@0 | 153 | - get_num_threads() |
michael@0 | 154 | * #300: examples/pmap.py script. |
michael@0 | 155 | * #301: process_iter() now yields processes sorted by their PIDs. |
michael@0 | 156 | * #302: process number of voluntary and involuntary context switches. |
michael@0 | 157 | * #303: [Windows] the Process methods below were always raising AccessDenied |
michael@0 | 158 | for any process not owned by current user. Now this is no longer true: |
michael@0 | 159 | - create_time |
michael@0 | 160 | - get_cpu_times() |
michael@0 | 161 | - get_cpu_percent() |
michael@0 | 162 | - get_memory_info() |
michael@0 | 163 | - get_memory_percent() |
michael@0 | 164 | - get_num_handles() |
michael@0 | 165 | - get_io_counters() |
michael@0 | 166 | * #305: add examples/netstat.py script. |
michael@0 | 167 | * #311: system memory functions has been refactorized and rewritten and now |
michael@0 | 168 | provide a more detailed and consistent representation of the system |
michael@0 | 169 | memory. New psutil.virtual_memory() function provides the following |
michael@0 | 170 | memory amounts: |
michael@0 | 171 | - total |
michael@0 | 172 | - available |
michael@0 | 173 | - percent |
michael@0 | 174 | - used |
michael@0 | 175 | - active [POSIX] |
michael@0 | 176 | - inactive [POSIX] |
michael@0 | 177 | - buffers (BSD, Linux) |
michael@0 | 178 | - cached (BSD, OSX) |
michael@0 | 179 | - wired (OSX, BSD) |
michael@0 | 180 | - shared [FreeBSD] |
michael@0 | 181 | New psutil.swap_memory() provides: |
michael@0 | 182 | - total |
michael@0 | 183 | - used |
michael@0 | 184 | - free |
michael@0 | 185 | - percent |
michael@0 | 186 | - sin (no. of bytes the system has swapped in from disk (cumulative)) |
michael@0 | 187 | - sout (no. of bytes the system has swapped out from disk (cumulative)) |
michael@0 | 188 | All old memory-related functions are deprecated. |
michael@0 | 189 | Also two new example scripts were added: free.py and meminfo.py. |
michael@0 | 190 | * #312: psutil.network_io_counters() namedtuple includes 4 new fields: |
michael@0 | 191 | errin, errout dropin and dropout, reflecting the number of packets |
michael@0 | 192 | dropped and with errors. |
michael@0 | 193 | |
michael@0 | 194 | BUGFIXES |
michael@0 | 195 | |
michael@0 | 196 | * #298: [OSX and BSD] memory leak in get_num_fds(). |
michael@0 | 197 | * #299: potential memory leak every time PyList_New(0) is used. |
michael@0 | 198 | * #303: [Windows] potential heap corruption in get_num_threads() and |
michael@0 | 199 | get_status() Process methods. |
michael@0 | 200 | * #305: [FreeBSD] psutil can't compile on FreeBSD 9 due to removal of utmp.h. |
michael@0 | 201 | * #306: at C level, errors are not checked when invoking Py* functions which |
michael@0 | 202 | create or manipulate Python objects leading to potential memory related |
michael@0 | 203 | errors and/or segmentation faults. |
michael@0 | 204 | * #307: [FreeBSD] values returned by psutil.network_io_counters() are wrong. |
michael@0 | 205 | * #308: [BSD / Windows] psutil.virtmem_usage() wasn't actually returning |
michael@0 | 206 | information about swap memory usage as it was supposed to do. It does |
michael@0 | 207 | now. |
michael@0 | 208 | * #309: get_open_files() might not return files which can not be accessed |
michael@0 | 209 | due to limited permissions. AccessDenied is now raised instead. |
michael@0 | 210 | |
michael@0 | 211 | API CHANGES |
michael@0 | 212 | |
michael@0 | 213 | * psutil.phymem_usage() is deprecated (use psutil.virtual_memory()) |
michael@0 | 214 | * psutil.virtmem_usage() is deprecated (use psutil.swap_memory()) |
michael@0 | 215 | * psutil.phymem_buffers() on Linux is deprecated (use psutil.virtual_memory()) |
michael@0 | 216 | * psutil.cached_phymem() on Linux is deprecated (use psutil.virtual_memory()) |
michael@0 | 217 | * [Windows and BSD] psutil.virtmem_usage() now returns information about swap |
michael@0 | 218 | memory instead of virtual memory. |
michael@0 | 219 | |
michael@0 | 220 | |
michael@0 | 221 | 0.5.1 - 2012-06-29 |
michael@0 | 222 | ------------------ |
michael@0 | 223 | |
michael@0 | 224 | NEW FEATURES |
michael@0 | 225 | |
michael@0 | 226 | * #293: [Windows] process executable path is now determined by asking the OS |
michael@0 | 227 | instead of being guessed from process cmdline. |
michael@0 | 228 | |
michael@0 | 229 | BUGFIXES |
michael@0 | 230 | |
michael@0 | 231 | * #292: [Linux] race condition in process files/threads/connections. |
michael@0 | 232 | * #294: [Windows] Process CPU affinity is only able to set CPU #0. |
michael@0 | 233 | |
michael@0 | 234 | |
michael@0 | 235 | 0.5.0 - 2012-06-27 |
michael@0 | 236 | ------------------ |
michael@0 | 237 | |
michael@0 | 238 | NEW FEATURES |
michael@0 | 239 | |
michael@0 | 240 | * #195: [Windows] number of handles opened by process. |
michael@0 | 241 | * #209: psutil.disk_partitions() now provides also mount options. |
michael@0 | 242 | * #229: list users currently connected on the system (psutil.get_users()). |
michael@0 | 243 | * #238: [Linux, Windows] process CPU affinity (get and set). |
michael@0 | 244 | * #242: Process.get_children(recursive=True): return all process |
michael@0 | 245 | descendants. |
michael@0 | 246 | * #245: [POSIX] Process.wait() incrementally consumes less CPU cycles. |
michael@0 | 247 | * #257: [Windows] removed Windows 2000 support. |
michael@0 | 248 | * #258: [Linux] Process.get_memory_info() is now 0.5x faster. |
michael@0 | 249 | * #260: process's mapped memory regions. (Windows patch by wj32.64, OSX patch |
michael@0 | 250 | by Jeremy Whitlock) |
michael@0 | 251 | * #262: [Windows] psutil.disk_partitions() was slow due to inspecting the |
michael@0 | 252 | floppy disk drive also when "all" argument was False. |
michael@0 | 253 | * #273: psutil.get_process_list() is deprecated. |
michael@0 | 254 | * #274: psutil no longer requires 2to3 at installation time in order to work |
michael@0 | 255 | with Python 3. |
michael@0 | 256 | * #278: new Process.as_dict() method. |
michael@0 | 257 | * #281: ppid, name, exe, cmdline and create_time properties of Process class |
michael@0 | 258 | are now cached after being accessed. |
michael@0 | 259 | * #282: psutil.STATUS_* constants can now be compared by using their string |
michael@0 | 260 | representation. |
michael@0 | 261 | * #283: speedup Process.is_running() by caching its return value in case the |
michael@0 | 262 | process is terminated. |
michael@0 | 263 | * #284: [POSIX] per-process number of opened file descriptors. |
michael@0 | 264 | * #287: psutil.process_iter() now caches Process instances between calls. |
michael@0 | 265 | * #290: Process.nice property is deprecated in favor of new get_nice() and |
michael@0 | 266 | set_nice() methods. |
michael@0 | 267 | |
michael@0 | 268 | BUGFIXES |
michael@0 | 269 | |
michael@0 | 270 | * #193: psutil.Popen constructor can throw an exception if the spawned process |
michael@0 | 271 | terminates quickly. |
michael@0 | 272 | * #240: [OSX] incorrect use of free() for Process.get_connections(). |
michael@0 | 273 | * #244: [POSIX] Process.wait() can hog CPU resources if called against a |
michael@0 | 274 | process which is not our children. |
michael@0 | 275 | * #248: [Linux] psutil.network_io_counters() might return erroneous NIC names. |
michael@0 | 276 | * #252: [Windows] process getcwd() erroneously raise NoSuchProcess for |
michael@0 | 277 | processes owned by another user. It now raises AccessDenied instead. |
michael@0 | 278 | * #266: [Windows] psutil.get_pid_list() only shows 1024 processes. |
michael@0 | 279 | (patch by Amoser) |
michael@0 | 280 | * #267: [OSX] Process.get_connections() - an erroneous remote address was |
michael@0 | 281 | returned. (Patch by Amoser) |
michael@0 | 282 | * #272: [Linux] Porcess.get_open_files() - potential race condition can lead to |
michael@0 | 283 | unexpected NoSuchProcess exception. Also, we can get incorrect reports |
michael@0 | 284 | of not absolutized path names. |
michael@0 | 285 | * #275: [Linux] Process.get_io_counters() erroneously raise NoSuchProcess on |
michael@0 | 286 | old Linux versions. Where not available it now raises |
michael@0 | 287 | NotImplementedError. |
michael@0 | 288 | * #286: Process.is_running() doesn't actually check whether PID has been |
michael@0 | 289 | reused. |
michael@0 | 290 | * #314: Process.get_children() can sometimes return non-children. |
michael@0 | 291 | |
michael@0 | 292 | API CHANGES |
michael@0 | 293 | |
michael@0 | 294 | * Process.nice property is deprecated in favor of new get_nice() and set_nice() |
michael@0 | 295 | methods. |
michael@0 | 296 | * psutil.get_process_list() is deprecated. |
michael@0 | 297 | * ppid, name, exe, cmdline and create_time properties of Process class are now |
michael@0 | 298 | cached after being accessed, meaning NoSuchProcess will no longer be raised |
michael@0 | 299 | in case the process is gone in the meantime. |
michael@0 | 300 | * psutil.STATUS_* constants can now be compared by using their string |
michael@0 | 301 | representation. |
michael@0 | 302 | |
michael@0 | 303 | |
michael@0 | 304 | 0.4.1 - 2011-12-14 |
michael@0 | 305 | ------------------ |
michael@0 | 306 | |
michael@0 | 307 | BUGFIXES |
michael@0 | 308 | |
michael@0 | 309 | * #228: some example scripts were not working with python 3. |
michael@0 | 310 | * #230: [Windows / OSX] memory leak in Process.get_connections(). |
michael@0 | 311 | * #232: [Linux] psutil.phymem_usage() can report erroneous values which are |
michael@0 | 312 | different than "free" command. |
michael@0 | 313 | * #236: [Windows] memory/handle leak in Process's get_memory_info(), |
michael@0 | 314 | suspend() and resume() methods. |
michael@0 | 315 | |
michael@0 | 316 | |
michael@0 | 317 | 0.4.0 - 2011-10-29 |
michael@0 | 318 | ------------------ |
michael@0 | 319 | |
michael@0 | 320 | NEW FEATURES |
michael@0 | 321 | |
michael@0 | 322 | * #150: network I/O counters. (OSX and Windows patch by Jeremy Whitlock) |
michael@0 | 323 | * #154: [FreeBSD] add support for process getcwd() |
michael@0 | 324 | * #157: [Windows] provide installer for Python 3.2 64-bit. |
michael@0 | 325 | * #198: Process.wait(timeout=0) can now be used to make wait() return |
michael@0 | 326 | immediately. |
michael@0 | 327 | * #206: disk I/O counters. (OSX and Windows patch by Jeremy Whitlock) |
michael@0 | 328 | * #213: examples/iotop.py script. |
michael@0 | 329 | * #217: Process.get_connections() now has a "kind" argument to filter |
michael@0 | 330 | for connections with different criteria. |
michael@0 | 331 | * #221: [FreeBSD] Process.get_open_files has been rewritten in C and no longer |
michael@0 | 332 | relies on lsof. |
michael@0 | 333 | * #223: examples/top.py script. |
michael@0 | 334 | * #227: examples/nettop.py script. |
michael@0 | 335 | |
michael@0 | 336 | BUGFIXES |
michael@0 | 337 | |
michael@0 | 338 | * #135: [OSX] psutil cannot create Process object. |
michael@0 | 339 | * #144: [Linux] no longer support 0 special PID. |
michael@0 | 340 | * #188: [Linux] psutil import error on Linux ARM architectures. |
michael@0 | 341 | * #194: [POSIX] psutil.Process.get_cpu_percent() now reports a percentage over |
michael@0 | 342 | 100 on multicore processors. |
michael@0 | 343 | * #197: [Linux] Process.get_connections() is broken on platforms not supporting |
michael@0 | 344 | IPv6. |
michael@0 | 345 | * #200: [Linux] psutil.NUM_CPUS not working on armel and sparc architectures |
michael@0 | 346 | and causing crash on module import. |
michael@0 | 347 | * #201: [Linux] Process.get_connections() is broken on big-endian |
michael@0 | 348 | architectures. |
michael@0 | 349 | * #211: Process instance can unexpectedly raise NoSuchProcess if tested for |
michael@0 | 350 | equality with another object. |
michael@0 | 351 | * #218: [Linux] crash at import time on Debian 64-bit because of a missing line |
michael@0 | 352 | in /proc/meminfo. |
michael@0 | 353 | * #226: [FreeBSD] crash at import time on FreeBSD 7 and minor. |
michael@0 | 354 | |
michael@0 | 355 | |
michael@0 | 356 | 0.3.0 - 2011-07-08 |
michael@0 | 357 | ------------------ |
michael@0 | 358 | |
michael@0 | 359 | NEW FEATURES |
michael@0 | 360 | |
michael@0 | 361 | * #125: system per-cpu percentage utilization and times. |
michael@0 | 362 | * #163: per-process associated terminal (TTY). |
michael@0 | 363 | * #171: added get_phymem() and get_virtmem() functions returning system |
michael@0 | 364 | memory information (total, used, free) and memory percent usage. |
michael@0 | 365 | total_* avail_* and used_* memory functions are deprecated. |
michael@0 | 366 | * #172: disk usage statistics. |
michael@0 | 367 | * #174: mounted disk partitions. |
michael@0 | 368 | * #179: setuptools is now used in setup.py |
michael@0 | 369 | |
michael@0 | 370 | BUGFIXES |
michael@0 | 371 | |
michael@0 | 372 | * #159: SetSeDebug() does not close handles or unset impersonation on return. |
michael@0 | 373 | * #164: [Windows] wait function raises a TimeoutException when a process |
michael@0 | 374 | returns -1 . |
michael@0 | 375 | * #165: process.status raises an unhandled exception. |
michael@0 | 376 | * #166: get_memory_info() leaks handles hogging system resources. |
michael@0 | 377 | * #168: psutil.cpu_percent() returns erroneous results when used in |
michael@0 | 378 | non-blocking mode. (patch by Philip Roberts) |
michael@0 | 379 | * #178: OSX - Process.get_threads() leaks memory |
michael@0 | 380 | * #180: [Windows] Process's get_num_threads() and get_threads() methods can |
michael@0 | 381 | raise NoSuchProcess exception while process still exists. |
michael@0 | 382 | |
michael@0 | 383 | |
michael@0 | 384 | 0.2.1 - 2011-03-20 |
michael@0 | 385 | ------------------ |
michael@0 | 386 | |
michael@0 | 387 | NEW FEATURES |
michael@0 | 388 | |
michael@0 | 389 | * #64: per-process I/O counters. |
michael@0 | 390 | * #116: per-process wait() (wait for process to terminate and return its exit |
michael@0 | 391 | code). |
michael@0 | 392 | * #134: per-process get_threads() returning information (id, user and kernel |
michael@0 | 393 | times) about threads opened by process. |
michael@0 | 394 | * #136: process executable path on FreeBSD is now determined by asking the |
michael@0 | 395 | kernel instead of guessing it from cmdline[0]. |
michael@0 | 396 | * #137: per-process real, effective and saved user and group ids. |
michael@0 | 397 | * #140: system boot time. |
michael@0 | 398 | * #142: per-process get and set niceness (priority). |
michael@0 | 399 | * #143: per-process status. |
michael@0 | 400 | * #147: per-process I/O nice (priority) - Linux only. |
michael@0 | 401 | * #148: psutil.Popen class which tidies up subprocess.Popen and psutil.Process |
michael@0 | 402 | in a unique interface. |
michael@0 | 403 | * #152: [OSX] get_process_open_files() implementation has been rewritten |
michael@0 | 404 | in C and no longer relies on lsof resulting in a 3x speedup. |
michael@0 | 405 | * #153: [OSX] get_process_connection() implementation has been rewritten |
michael@0 | 406 | in C and no longer relies on lsof resulting in a 3x speedup. |
michael@0 | 407 | |
michael@0 | 408 | BUGFIXES |
michael@0 | 409 | |
michael@0 | 410 | * #83: process cmdline is empty on OSX 64-bit. |
michael@0 | 411 | * #130: a race condition can cause IOError exception be raised on |
michael@0 | 412 | Linux if process disappears between open() and subsequent read() calls. |
michael@0 | 413 | * #145: WindowsError was raised instead of psutil.AccessDenied when using |
michael@0 | 414 | process resume() or suspend() on Windows. |
michael@0 | 415 | * #146: 'exe' property on Linux can raise TypeError if path contains NULL |
michael@0 | 416 | bytes. |
michael@0 | 417 | * #151: exe and getcwd() for PID 0 on Linux return inconsistent data. |
michael@0 | 418 | |
michael@0 | 419 | API CHANGES |
michael@0 | 420 | |
michael@0 | 421 | * Process "uid" and "gid" properties are deprecated in favor of "uids" and |
michael@0 | 422 | "gids" properties. |
michael@0 | 423 | |
michael@0 | 424 | |
michael@0 | 425 | 0.2.0 - 2010-11-13 |
michael@0 | 426 | ------------------ |
michael@0 | 427 | |
michael@0 | 428 | NEW FEATURES |
michael@0 | 429 | |
michael@0 | 430 | * #79: per-process open files. |
michael@0 | 431 | * #88: total system physical cached memory. |
michael@0 | 432 | * #88: total system physical memory buffers used by the kernel. |
michael@0 | 433 | * #91: per-process send_signal() and terminate() methods. |
michael@0 | 434 | * #95: NoSuchProcess and AccessDenied exception classes now provide "pid", |
michael@0 | 435 | "name" and "msg" attributes. |
michael@0 | 436 | * #97: per-process children. |
michael@0 | 437 | * #98: Process.get_cpu_times() and Process.get_memory_info now return |
michael@0 | 438 | a namedtuple instead of a tuple. |
michael@0 | 439 | * #103: per-process opened TCP and UDP connections. |
michael@0 | 440 | * #107: add support for Windows 64 bit. (patch by cjgohlke) |
michael@0 | 441 | * #111: per-process executable name. |
michael@0 | 442 | * #113: exception messages now include process name and pid. |
michael@0 | 443 | * #114: process username Windows implementation has been rewritten in pure |
michael@0 | 444 | C and no longer uses WMI resulting in a big speedup. Also, pywin32 is no |
michael@0 | 445 | longer required as a third-party dependancy. (patch by wj32) |
michael@0 | 446 | * #117: added support for Windows 2000. |
michael@0 | 447 | * #123: psutil.cpu_percent() and psutil.Process.cpu_percent() accept a |
michael@0 | 448 | new 'interval' parameter. |
michael@0 | 449 | * #129: per-process number of threads. |
michael@0 | 450 | |
michael@0 | 451 | BUGFIXES |
michael@0 | 452 | |
michael@0 | 453 | * #80: fixed warnings when installing psutil with easy_install. |
michael@0 | 454 | * #81: psutil fails to compile with Visual Studio. |
michael@0 | 455 | * #94: suspend() raises OSError instead of AccessDenied. |
michael@0 | 456 | * #86: psutil didn't compile against FreeBSD 6.x. |
michael@0 | 457 | * #102: orphaned process handles obtained by using OpenProcess in C were |
michael@0 | 458 | left behind every time Process class was instantiated. |
michael@0 | 459 | * #111: path and name Process properties report truncated or erroneous |
michael@0 | 460 | values on UNIX. |
michael@0 | 461 | * #120: cpu_percent() always returning 100% on OS X. |
michael@0 | 462 | * #112: uid and gid properties don't change if process changes effective |
michael@0 | 463 | user/group id at some point. |
michael@0 | 464 | * #126: ppid, uid, gid, name, exe, cmdline and create_time properties are |
michael@0 | 465 | no longer cached and correctly raise NoSuchProcess exception if the process |
michael@0 | 466 | disappears. |
michael@0 | 467 | |
michael@0 | 468 | API CHANGES |
michael@0 | 469 | |
michael@0 | 470 | * psutil.Process.path property is deprecated and works as an alias for "exe" |
michael@0 | 471 | property. |
michael@0 | 472 | * psutil.Process.kill(): signal argument was removed - to send a signal to the |
michael@0 | 473 | process use send_signal(signal) method instead. |
michael@0 | 474 | * psutil.Process.get_memory_info() returns a nametuple instead of a tuple. |
michael@0 | 475 | * psutil.cpu_times() returns a nametuple instead of a tuple. |
michael@0 | 476 | * New psutil.Process methods: get_open_files(), get_connections(), |
michael@0 | 477 | send_signal() and terminate(). |
michael@0 | 478 | * ppid, uid, gid, name, exe, cmdline and create_time properties are no longer |
michael@0 | 479 | cached and raise NoSuchProcess exception if process disappears. |
michael@0 | 480 | * psutil.cpu_percent() no longer returns immediately (see issue 123). |
michael@0 | 481 | * psutil.Process.get_cpu_percent() and psutil.cpu_percent() no longer returns |
michael@0 | 482 | immediately by default (see issue 123). |
michael@0 | 483 | |
michael@0 | 484 | |
michael@0 | 485 | 0.1.3 - 2010-03-02 |
michael@0 | 486 | ------------------ |
michael@0 | 487 | |
michael@0 | 488 | NEW FEATURES |
michael@0 | 489 | |
michael@0 | 490 | * #14: per-process username |
michael@0 | 491 | * #51: per-process current working directory (Windows and Linux only) |
michael@0 | 492 | * #59: Process.is_running() is now 10 times faster |
michael@0 | 493 | * #61: added supoprt for FreeBSD 64 bit |
michael@0 | 494 | * #71: implemented suspend/resume process |
michael@0 | 495 | * #75: python 3 support |
michael@0 | 496 | |
michael@0 | 497 | BUGFIXES |
michael@0 | 498 | |
michael@0 | 499 | * #36: process cpu_times() and memory_info() functions succeeded also for |
michael@0 | 500 | dead processes while a NoSuchProcess exception is supposed to be raised. |
michael@0 | 501 | * #48: incorrect size for mib array defined in getcmdargs for BSD |
michael@0 | 502 | * #49: possible memory leak due to missing free() on error condition on |
michael@0 | 503 | * #50: fixed getcmdargs() memory fragmentation on BSD |
michael@0 | 504 | * #55: test_pid_4 was failing on Windows Vista |
michael@0 | 505 | * #57: some unit tests were failing on systems where no swap memory is |
michael@0 | 506 | available |
michael@0 | 507 | * #58: is_running() is now called before kill() to make sure we are going |
michael@0 | 508 | to kill the correct process. |
michael@0 | 509 | * #73: virtual memory size reported on OS X includes shared library size |
michael@0 | 510 | * #77: NoSuchProcess wasn't raised on Process.create_time if kill() was |
michael@0 | 511 | used first. |
michael@0 | 512 | |
michael@0 | 513 | |
michael@0 | 514 | 0.1.2 - 2009-05-06 |
michael@0 | 515 | ------------------ |
michael@0 | 516 | |
michael@0 | 517 | NEW FEATURES |
michael@0 | 518 | |
michael@0 | 519 | * #32: Per-process CPU user/kernel times |
michael@0 | 520 | * #33: Process create time |
michael@0 | 521 | * #34: Per-process CPU utilization percentage |
michael@0 | 522 | * #38: Per-process memory usage (bytes) |
michael@0 | 523 | * #41: Per-process memory utilization (percent) |
michael@0 | 524 | * #39: System uptime |
michael@0 | 525 | * #43: Total system virtual memory |
michael@0 | 526 | * #46: Total system physical memory |
michael@0 | 527 | * #44: Total system used/free virtual and physical memory |
michael@0 | 528 | |
michael@0 | 529 | BUGFIXES |
michael@0 | 530 | |
michael@0 | 531 | * #36: [Windows] NoSuchProcess not raised when accessing timing methods. |
michael@0 | 532 | * #40: test_get_cpu_times() failing on FreeBSD and OS X. |
michael@0 | 533 | * #42: [Windows] get_memory_percent() raises AccessDenied. |
michael@0 | 534 | |
michael@0 | 535 | |
michael@0 | 536 | 0.1.1 - 2009-03-06 |
michael@0 | 537 | ------------------ |
michael@0 | 538 | |
michael@0 | 539 | NEW FEATURES |
michael@0 | 540 | |
michael@0 | 541 | * #4: FreeBSD support for all functions of psutil |
michael@0 | 542 | * #9: Process.uid and Process.gid now retrieve process UID and GID. |
michael@0 | 543 | * #11: Support for parent/ppid - Process.parent property returns a |
michael@0 | 544 | Process object representing the parent process, and Process.ppid returns |
michael@0 | 545 | the parent PID. |
michael@0 | 546 | * #12 & 15: |
michael@0 | 547 | NoSuchProcess exception now raised when creating an object |
michael@0 | 548 | for a nonexistent process, or when retrieving information about a process |
michael@0 | 549 | that has gone away. |
michael@0 | 550 | * #21: AccessDenied exception created for raising access denied errors |
michael@0 | 551 | from OSError or WindowsError on individual platforms. |
michael@0 | 552 | * #26: psutil.process_iter() function to iterate over processes as |
michael@0 | 553 | Process objects with a generator. |
michael@0 | 554 | * #?: Process objects can now also be compared with == operator for equality |
michael@0 | 555 | (PID, name, command line are compared). |
michael@0 | 556 | |
michael@0 | 557 | BUGFIXES |
michael@0 | 558 | |
michael@0 | 559 | * #16: [Windows] Special case for "System Idle Process" (PID 0) which |
michael@0 | 560 | otherwise would return an "invalid parameter" exception. |
michael@0 | 561 | * #17: get_process_list() ignores NoSuchProcess and AccessDenied |
michael@0 | 562 | exceptions during building of the list. |
michael@0 | 563 | * #22: [Windows] Process(0).kill() was failing with an unset exception. |
michael@0 | 564 | * #23: Special case for pid_exists(0) |
michael@0 | 565 | * #24: [Windows] Process(0).kill() now raises AccessDenied exception instead of |
michael@0 | 566 | WindowsError. |
michael@0 | 567 | * #30: psutil.get_pid_list() was returning two instances of PID 0 on OS |
michael@0 | 568 | X and FreeBSD platforms. |
michael@0 | 569 | |
michael@0 | 570 | |
michael@0 | 571 | 0.1.0 - 2009-01-27 |
michael@0 | 572 | ------------------ |
michael@0 | 573 | |
michael@0 | 574 | * Initial release. |