Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
monitor-client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3dafc1a1
authored
Oct 01, 2013
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client fixerrors, working configuration made
parent
63ed7658
Hide whitespace changes
Inline
Side-by-side
Showing
95 changed files
with
28050 additions
and
22 deletions
+28050
-22
build/pip-delete-this-directory.txt
+5
-0
build/psutil/CREDITS
+194
-0
build/psutil/HISTORY
+604
-0
build/psutil/LICENSE
+27
-0
build/psutil/MANIFEST.in
+10
-0
build/psutil/PKG-INFO
+272
-0
build/psutil/README
+227
-0
build/psutil/TODO
+116
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/__init__.py
+1495
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_common.py
+186
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_compat.py
+276
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_error.py
+73
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_psbsd.py
+368
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_pslinux.py
+1116
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_psmswindows.py
+492
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_psosx.py
+332
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_psposix.py
+136
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/_pssunos.py
+482
-0
build/psutil/build/lib.linux-x86_64-2.7/psutil/error.py
+19
-0
build/psutil/examples/disk_usage.py
+53
-0
build/psutil/examples/free.py
+31
-0
build/psutil/examples/iotop.py
+159
-0
build/psutil/examples/killall.py
+31
-0
build/psutil/examples/meminfo.py
+31
-0
build/psutil/examples/netstat.py
+52
-0
build/psutil/examples/nettop.py
+144
-0
build/psutil/examples/pmap.py
+35
-0
build/psutil/examples/process_detail.py
+134
-0
build/psutil/examples/top.py
+202
-0
build/psutil/examples/who.py
+30
-0
build/psutil/pip-egg-info/psutil.egg-info/PKG-INFO
+272
-0
build/psutil/pip-egg-info/psutil.egg-info/SOURCES.txt
+69
-0
build/psutil/pip-egg-info/psutil.egg-info/dependency_links.txt
+1
-0
build/psutil/pip-egg-info/psutil.egg-info/top_level.txt
+3
-0
build/psutil/psutil.egg-info/PKG-INFO
+272
-0
build/psutil/psutil.egg-info/SOURCES.txt
+68
-0
build/psutil/psutil.egg-info/dependency_links.txt
+1
-0
build/psutil/psutil.egg-info/top_level.txt
+3
-0
build/psutil/psutil/__init__.py
+1495
-0
build/psutil/psutil/_common.py
+186
-0
build/psutil/psutil/_compat.py
+276
-0
build/psutil/psutil/_error.py
+73
-0
build/psutil/psutil/_psbsd.py
+368
-0
build/psutil/psutil/_pslinux.py
+1116
-0
build/psutil/psutil/_psmswindows.py
+492
-0
build/psutil/psutil/_psosx.py
+332
-0
build/psutil/psutil/_psposix.py
+136
-0
build/psutil/psutil/_pssunos.py
+482
-0
build/psutil/psutil/_psutil_bsd.c
+1832
-0
build/psutil/psutil/_psutil_bsd.h
+50
-0
build/psutil/psutil/_psutil_common.c
+36
-0
build/psutil/psutil/_psutil_common.h
+11
-0
build/psutil/psutil/_psutil_linux.c
+437
-0
build/psutil/psutil/_psutil_linux.h
+17
-0
build/psutil/psutil/_psutil_mswindows.c
+3122
-0
build/psutil/psutil/_psutil_mswindows.h
+71
-0
build/psutil/psutil/_psutil_osx.c
+1823
-0
build/psutil/psutil/_psutil_osx.h
+42
-0
build/psutil/psutil/_psutil_posix.c
+129
-0
build/psutil/psutil/_psutil_posix.h
+12
-0
build/psutil/psutil/_psutil_sunos.c
+1194
-0
build/psutil/psutil/_psutil_sunos.h
+29
-0
build/psutil/psutil/arch/bsd/process_info.c
+284
-0
build/psutil/psutil/arch/bsd/process_info.h
+18
-0
build/psutil/psutil/arch/mswindows/ntextapi.h
+306
-0
build/psutil/psutil/arch/mswindows/process_handles.c
+326
-0
build/psutil/psutil/arch/mswindows/process_handles.h
+12
-0
build/psutil/psutil/arch/mswindows/process_info.c
+449
-0
build/psutil/psutil/arch/mswindows/process_info.h
+21
-0
build/psutil/psutil/arch/mswindows/security.c
+235
-0
build/psutil/psutil/arch/mswindows/security.h
+18
-0
build/psutil/psutil/arch/osx/process_info.c
+293
-0
build/psutil/psutil/arch/osx/process_info.h
+20
-0
build/psutil/psutil/error.py
+19
-0
build/psutil/setup.cfg
+5
-0
build/psutil/setup.py
+194
-0
build/psutil/test/__init__.py
+0
-0
build/psutil/test/_bsd.py
+221
-0
build/psutil/test/_linux.py
+150
-0
build/psutil/test/_osx.py
+156
-0
build/psutil/test/_posix.py
+243
-0
build/psutil/test/_sunos.py
+44
-0
build/psutil/test/_windows.py
+373
-0
build/psutil/test/test_memory_leaks.py
+350
-0
build/psutil/test/test_psutil.py
+2504
-0
config/client.conf
+1
-1
manage.py
+4
-2
src/__init__.pyc
+0
-0
src/client.py
+13
-10
src/client.pyc
+0
-0
src/cnfparse.py
+4
-4
src/cnfparse.pyc
+0
-0
src/collectables.pyc
+0
-0
src/metrics.py
+5
-5
src/metrics.pyc
+0
-0
No files found.
build/pip-delete-this-directory.txt
0 → 100644
View file @
3dafc1a1
This file is placed here by pip to indicate the source was put
here by pip.
Once this package is successfully installed this source code will be
deleted (unless you remove this file).
build/psutil/CREDITS
0 → 100644
View file @
3dafc1a1
Intro
=====
We would like to recognize some of the people who have been instrumental in the
development of psutil.
I'm sure we are forgetting some people (feel free to email us), but here is a
short list.
It's modeled after the Linux CREDITS file where the fields are:
name (N), e-mail (E), web-address (W), country (C), description (D), (I) issues
(issue tracker is at http://code.google.com/p/psutil/issues/list).
Really thanks to all of you.
Author
======
N: Giampaolo Rodola'
C: Italy
E: g.rodola@gmail.com
W: http://www.linkedin.com/in/grodola
Contributors
============
N: Jay Loden
C: NJ, USA
E: jloden@gmail.com
D: original co-author, initial design/bootstrap and continuing bug fixes
W: http://www.jayloden.com
N: Jeremy Whitlock
E: jcscoobyrs@gmail.com
I: 125, 150, 174, 206
N: wj32
E: wj32.64@gmail.com
D: process username() and get_connections() on Windows
I: 114, 115
N: Yan Raber
C: Bologna, Italy
E: yanraber@gmail.com
D: help on Windows development
N: Justin Venus
E: justin.venus@gmail.com
D: Solaris support
I: 18
N: Dave Daeschler
C: USA
E: david.daeschler@gmail.com
D: initial design/bootstrap and continuing bug fixes
N: cjgohlke
E: cjgohlke@gmail.com
D: Windows 64 bit support
I: 107
N: Jeffery Kline
E: jeffery.kline@gmail.com
I: 130
N: Grabriel Monnerat
E: gabrielmonnerat@gmail.com
I: 146
N: Philip Roberts
E: philip.roberts@gmail.com
I: 168
N: jcscoobyrs
E: jcscoobyrs@gmail.com
I: 125
N: Sandro Tosi
E: sandro.tosi@gmail.com
I: 200, 201
N: Andrew Colin
E: andrew.colin@gmail.com
I: 248
N: Amoser
E: amoser@google.com
I: 266, 267, 340
N: Matthew Grant
E: matthewgrant5@gmail.com
I: 271
N: oweidner
E: oweidner@cct.lsu.edu
I: 275
N: Tarek Ziade
E: ziade.tarek
I: 281
N: Luca Cipriani
C: Turin, Italy
E: luca.opensource@gmail.com
I: 278
N: Maciej Lach,
E: maciej.lach@gmail.com
I: 294
N: James Pye
E: james.pye@gmail.com
I: 305, 306
N: Stanchev Emil
E: stanchev.emil
I: 314
N: Kim Gräsman
E: kim.grasman@gmail.com
D: ...also kindly donated some money.
I: 316
N: Riccardo Murri
C: Italy
I: 318
N: Florent Xicluna
E: florent.xicluna@gmail.com
I: 319
N: Michal Spondr
E: michal.spondr
I: 313
N: Jean Sebastien
E: dumbboules@gmail.com
I: 344
N: Rob Smith
W: http://www.kormoc.com/
I: 341
N: Youngsik Kim
W: https://plus.google.com/101320747613749824490/
I: 317
N: Gregory Szorc
W: https://plus.google.com/116873264322260110710/posts
I: 323
N: André Oriani
E: aoriani@gmail.com
I: 361
N: clackwell
E: clackwell@gmail.com
I: 356
N: m.malycha
E: m.malycha@gmail.com
I: 351
N: John Baldwin
E: jhb@FreeBSD.org
I: 370
N: Jan Beich
E: jbeich@tormail.org
I: 325
N: floppymaster
E: floppymaster@gmail.com
I: 380
N: Arfrever.FTA
E: Arfrever.FTA@gmail.com
I: 369, 404
N: danudey
E: danudey@gmail.com
I: 386
N: Adrien Fallou
I: 224
N: Gisle Vanem
E: gisle.vanem@gmail.com
I: 411
N: thepyr0
E: thepyr0@gmail.com
I: 414
N: John Pankov
E: john.pankov@gmail.com
I: 435
build/psutil/HISTORY
0 → 100644
View file @
3dafc1a1
Bug tracker at http://code.google.com/p/psutil/issues
1.1.0 - 2013-09-28
------------------
ENHANCEMENTS
* #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.
BUG FIXES
* #391# [Windows] psutil.cpu_times_percent() returns negative percentages.
* #408: STATUS_* and CONN_* constants don't properly serialize on JSON.
* #411: [Windows] examples/disk_usage.py may pop-up a GUI error.
* #413: [Windows] Process.get_memory_info() leaks memory.
* #414: [Windows] Process.exe on Windows XP may raise ERROR_INVALID_PARAMETER.
* #416: psutil.disk_usage() doesn't work well with unicode path names.
* #430: [Linux] process IO counters report wrong number of r/w syscalls.
* #435: [Linux] psutil.net_io_counters() might report erreneous NIC names.
* #436: [Linux] psutil.net_io_counters() reports a wrong 'dropin' value.
API CHANGES
* #408: STATUS_* and CONN_* constants (returned by Process' status() and
get_connections() methods respectively) have been turned from constant
objects to plain Python strings.
1.0.1 - 2013-07-12
------------------
BUG FIXES
* #405: network_io_counters(pernic=True) no longer works as intended in 1.0.0.
1.0.0 - 2013-07-10
------------------
NEW FEATURES
* #18: Solaris support (yay!) (thanks Justin Venus)
* #367: Process.get_connections() 'status' strings are now constants.
* #380: test suite exits with non-zero on failure. (patch by floppymaster)
* #391: extensively use unittest2 module in unit tests and provide
workarounds if this is not installed on python < 2.7.
BUG FIXES
* #374: [Windows] negative memory usage reported when processes use a lot of
memory.
* #379: [Linux] Process.get_memory_maps() may raise ValueError.
* #394: [OSX] Mapped memory regions report incorrect file name.
* #404: [Linux] sched_*affinity() are implicitly declared. (patch by Arfrever)
API CHANGES
* 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().
0.7.1 - 2013-05-03
------------------
BUG FIXES:
* #325: [BSD] psutil.virtual_memory() can raise SystemError.
(patch by Jan Beich)
* #370: [BSD] Process.get_connections() requires root. (patch by John Baldwin)
* #372: [BSD] different process methods raise NoSuchProcess instead of
AccessDenied.
0.7.0 - 2013-04-12
------------------
NEW FEATURES
* #233: code migrated to Mercurial (yay!)
* #246: psutil.error module is deprecated and scheduled for removal.
* #328: [Windows] process IO nice/priority support.
* #359: psutil.get_boot_time()
* #361: [Linux] psutil.cpu_times() now includes new 'steal', 'guest' and
'guest_nice' fields available on recent Linux kernels.
Also, psutil.cpu_percent() is more accurate.
* #362: cpu_times_percent() (per-CPU-time utilization as a percentage)
BUG FIXES
* #234: [Windows] disk_io_counters() fails to list certain disks.
* #264: [Windows] use of psutil.disk_partitions() may cause a message box to
appear.
* #313: [Linux] psutil.virtual_memory() and psutil.swap_memory() can crash on
certain exotic Linux flavors having an incomplete /proc interface.
If that's the case we now set the unretrievable stats to 0 and raise a
RuntimeWarning.
* #315: [OSX] fix some compilation warnings.
* #317: [Windows] cannot set process CPU affinity above 31 cores.
* #319: [Linux] process get_memory_maps() raises KeyError 'Anonymous' on Debian
squeeze.
* #321: [UNIX] Process.ppid property is no longer cached as the kernel may set
the ppid to 1 in case of a zombie process.
* #323: [OSX] disk_io_counters()'s read_time and write_time parameters were
reporting microseconds not milliseconds. (patch by Gregory Szorc)
* #331: Process cmdline is no longer cached after first acces as it may change.
* #333: [OSX] Leak of Mach ports on OS X (patch by rsesek@google.com)
* #337: [Linux] process methods not working because of a poor /proc
implementation will raise NotImplementedError rather than RuntimeError
and Process.as_dict() will not blow up. (patch by Curtin1060)
* #338: [Linux] disk_io_counters() fails to find some disks.
* #339: [FreeBSD] get_pid_list() can allocate all the memory on system.
* #341: [Linux] psutil might crash on import due to error in retrieving system
terminals map.
* #344: [FreeBSD] swap_memory() might return incorrect results due to
kvm_open(3) not being called. (patch by Jean Sebastien)
* #338: [Linux] disk_io_counters() fails to find some disks.
* #351: [Windows] if psutil is compiled with mingw32 (provided installers for
py2.4 and py2.5 are) disk_io_counters() will fail. (Patch by m.malycha)
* #353: [OSX] get_users() returns an empty list on OSX 10.8.
* #356: Process.parent now checks whether parent PID has been reused in which
case returns None.
* #365: Process.set_nice() should check PID has not been reused by another
process.
* #366: [FreeBSD] get_memory_maps(), get_num_fds(), get_open_files() and
getcwd() Process methods raise RuntimeError instead of AccessDenied.
API CHANGES
* Process.cmdline property is no longer cached after first access.
* Process.ppid property is no longer cached after first access.
* [Linux] Process methods not working because of a poor /proc implementation
will raise NotImplementedError instead of RuntimeError.
* psutil.error module is deprecated and scheduled for removal.
0.6.1 - 2012-08-16
------------------
NEW FEATURES
* #316: process cmdline property now makes a better job at guessing the process
executable from the cmdline.
BUG FIXES
* #316: process exe was resolved in case it was a symlink.
* #318: python 2.4 compatibility was broken.
API CHANGES
* process exe can now return an empty string instead of raising AccessDenied.
* process exe is no longer resolved in case it's a symlink.
0.6.0 - 2012-08-13
------------------
NEW FEATURES
* #216: [POSIX] get_connections() UNIX sockets support.
* #220: [FreeBSD] get_connections() has been rewritten in C and no longer
requires lsof.
* #222: [OSX] add support for process cwd.
* #261: process extended memory info.
* #295: [OSX] process executable path is now determined by asking the OS
instead of being guessed from process cmdline.
* #297: [OSX] the Process methods below were always raising AccessDenied for
any process except the current one. Now this is no longer true. Also
they are 2.5x faster.
- name
- get_memory_info()
- get_memory_percent()
- get_cpu_times()
- get_cpu_percent()
- get_num_threads()
* #300: examples/pmap.py script.
* #301: process_iter() now yields processes sorted by their PIDs.
* #302: process number of voluntary and involuntary context switches.
* #303: [Windows] the Process methods below were always raising AccessDenied
for any process not owned by current user. Now this is no longer true:
- create_time
- get_cpu_times()
- get_cpu_percent()
- get_memory_info()
- get_memory_percent()
- get_num_handles()
- get_io_counters()
* #305: add examples/netstat.py script.
* #311: system memory functions has been refactorized and rewritten and now
provide a more detailed and consistent representation of the system
memory. New psutil.virtual_memory() function provides the following
memory amounts:
- total
- available
- percent
- used
- active [POSIX]
- inactive [POSIX]
- buffers (BSD, Linux)
- cached (BSD, OSX)
- wired (OSX, BSD)
- shared [FreeBSD]
New psutil.swap_memory() provides:
- total
- used
- free
- percent
- sin (no. of bytes the system has swapped in from disk (cumulative))
- sout (no. of bytes the system has swapped out from disk (cumulative))
All old memory-related functions are deprecated.
Also two new example scripts were added: free.py and meminfo.py.
* #312: psutil.network_io_counters() namedtuple includes 4 new fields:
errin, errout dropin and dropout, reflecting the number of packets
dropped and with errors.
BUGFIXES
* #298: [OSX and BSD] memory leak in get_num_fds().
* #299: potential memory leak every time PyList_New(0) is used.
* #303: [Windows] potential heap corruption in get_num_threads() and
get_status() Process methods.
* #305: [FreeBSD] psutil can't compile on FreeBSD 9 due to removal of utmp.h.
* #306: at C level, errors are not checked when invoking Py* functions which
create or manipulate Python objects leading to potential memory related
errors and/or segmentation faults.
* #307: [FreeBSD] values returned by psutil.network_io_counters() are wrong.
* #308: [BSD / Windows] psutil.virtmem_usage() wasn't actually returning
information about swap memory usage as it was supposed to do. It does
now.
* #309: get_open_files() might not return files which can not be accessed
due to limited permissions. AccessDenied is now raised instead.
API CHANGES
* psutil.phymem_usage() is deprecated (use psutil.virtual_memory())
* psutil.virtmem_usage() is deprecated (use psutil.swap_memory())
* psutil.phymem_buffers() on Linux is deprecated (use psutil.virtual_memory())
* psutil.cached_phymem() on Linux is deprecated (use psutil.virtual_memory())
* [Windows and BSD] psutil.virtmem_usage() now returns information about swap
memory instead of virtual memory.
0.5.1 - 2012-06-29
------------------
NEW FEATURES
* #293: [Windows] process executable path is now determined by asking the OS
instead of being guessed from process cmdline.
BUGFIXES
* #292: [Linux] race condition in process files/threads/connections.
* #294: [Windows] Process CPU affinity is only able to set CPU #0.
0.5.0 - 2012-06-27
------------------
NEW FEATURES
* #195: [Windows] number of handles opened by process.
* #209: psutil.disk_partitions() now provides also mount options.
* #229: list users currently connected on the system (psutil.get_users()).
* #238: [Linux, Windows] process CPU affinity (get and set).
* #242: Process.get_children(recursive=True): return all process
descendants.
* #245: [POSIX] Process.wait() incrementally consumes less CPU cycles.
* #257: [Windows] removed Windows 2000 support.
* #258: [Linux] Process.get_memory_info() is now 0.5x faster.
* #260: process's mapped memory regions. (Windows patch by wj32.64, OSX patch
by Jeremy Whitlock)
* #262: [Windows] psutil.disk_partitions() was slow due to inspecting the
floppy disk drive also when "all" argument was False.
* #273: psutil.get_process_list() is deprecated.
* #274: psutil no longer requires 2to3 at installation time in order to work
with Python 3.
* #278: new Process.as_dict() method.
* #281: ppid, name, exe, cmdline and create_time properties of Process class
are now cached after being accessed.
* #282: psutil.STATUS_* constants can now be compared by using their string
representation.
* #283: speedup Process.is_running() by caching its return value in case the
process is terminated.
* #284: [POSIX] per-process number of opened file descriptors.
* #287: psutil.process_iter() now caches Process instances between calls.
* #290: Process.nice property is deprecated in favor of new get_nice() and
set_nice() methods.
BUGFIXES
* #193: psutil.Popen constructor can throw an exception if the spawned process
terminates quickly.
* #240: [OSX] incorrect use of free() for Process.get_connections().
* #244: [POSIX] Process.wait() can hog CPU resources if called against a
process which is not our children.
* #248: [Linux] psutil.network_io_counters() might return erroneous NIC names.
* #252: [Windows] process getcwd() erroneously raise NoSuchProcess for
processes owned by another user. It now raises AccessDenied instead.
* #266: [Windows] psutil.get_pid_list() only shows 1024 processes.
(patch by Amoser)
* #267: [OSX] Process.get_connections() - an erroneous remote address was
returned. (Patch by Amoser)
* #272: [Linux] Porcess.get_open_files() - potential race condition can lead to
unexpected NoSuchProcess exception. Also, we can get incorrect reports
of not absolutized path names.
* #275: [Linux] Process.get_io_counters() erroneously raise NoSuchProcess on
old Linux versions. Where not available it now raises
NotImplementedError.
* #286: Process.is_running() doesn't actually check whether PID has been
reused.
* #314: Process.get_children() can sometimes return non-children.
API CHANGES
* Process.nice property is deprecated in favor of new get_nice() and set_nice()
methods.
* psutil.get_process_list() is deprecated.
* ppid, name, exe, cmdline and create_time properties of Process class are now
cached after being accessed, meaning NoSuchProcess will no longer be raised
in case the process is gone in the meantime.
* psutil.STATUS_* constants can now be compared by using their string
representation.
0.4.1 - 2011-12-14
------------------
BUGFIXES
* #228: some example scripts were not working with python 3.
* #230: [Windows / OSX] memory leak in Process.get_connections().
* #232: [Linux] psutil.phymem_usage() can report erroneous values which are
different than "free" command.
* #236: [Windows] memory/handle leak in Process's get_memory_info(),
suspend() and resume() methods.
0.4.0 - 2011-10-29
------------------
NEW FEATURES
* #150: network I/O counters. (OSX and Windows patch by Jeremy Whitlock)
* #154: [FreeBSD] add support for process getcwd()
* #157: [Windows] provide installer for Python 3.2 64-bit.
* #198: Process.wait(timeout=0) can now be used to make wait() return
immediately.
* #206: disk I/O counters. (OSX and Windows patch by Jeremy Whitlock)
* #213: examples/iotop.py script.
* #217: Process.get_connections() now has a "kind" argument to filter
for connections with different criteria.
* #221: [FreeBSD] Process.get_open_files has been rewritten in C and no longer
relies on lsof.
* #223: examples/top.py script.
* #227: examples/nettop.py script.
BUGFIXES
* #135: [OSX] psutil cannot create Process object.
* #144: [Linux] no longer support 0 special PID.
* #188: [Linux] psutil import error on Linux ARM architectures.
* #194: [POSIX] psutil.Process.get_cpu_percent() now reports a percentage over
100 on multicore processors.
* #197: [Linux] Process.get_connections() is broken on platforms not supporting
IPv6.
* #200: [Linux] psutil.NUM_CPUS not working on armel and sparc architectures
and causing crash on module import.
* #201: [Linux] Process.get_connections() is broken on big-endian
architectures.
* #211: Process instance can unexpectedly raise NoSuchProcess if tested for
equality with another object.
* #218: [Linux] crash at import time on Debian 64-bit because of a missing line
in /proc/meminfo.
* #226: [FreeBSD] crash at import time on FreeBSD 7 and minor.
0.3.0 - 2011-07-08
------------------
NEW FEATURES
* #125: system per-cpu percentage utilization and times.
* #163: per-process associated terminal (TTY).
* #171: added get_phymem() and get_virtmem() functions returning system
memory information (total, used, free) and memory percent usage.
total_* avail_* and used_* memory functions are deprecated.
* #172: disk usage statistics.
* #174: mounted disk partitions.
* #179: setuptools is now used in setup.py
BUGFIXES
* #159: SetSeDebug() does not close handles or unset impersonation on return.
* #164: [Windows] wait function raises a TimeoutException when a process
returns -1 .
* #165: process.status raises an unhandled exception.
* #166: get_memory_info() leaks handles hogging system resources.
* #168: psutil.cpu_percent() returns erroneous results when used in
non-blocking mode. (patch by Philip Roberts)
* #178: OSX - Process.get_threads() leaks memory
* #180: [Windows] Process's get_num_threads() and get_threads() methods can
raise NoSuchProcess exception while process still exists.
0.2.1 - 2011-03-20
------------------
NEW FEATURES
* #64: per-process I/O counters.
* #116: per-process wait() (wait for process to terminate and return its exit
code).
* #134: per-process get_threads() returning information (id, user and kernel
times) about threads opened by process.
* #136: process executable path on FreeBSD is now determined by asking the
kernel instead of guessing it from cmdline[0].
* #137: per-process real, effective and saved user and group ids.
* #140: system boot time.
* #142: per-process get and set niceness (priority).
* #143: per-process status.
* #147: per-process I/O nice (priority) - Linux only.
* #148: psutil.Popen class which tidies up subprocess.Popen and psutil.Process
in a unique interface.
* #152: [OSX] get_process_open_files() implementation has been rewritten
in C and no longer relies on lsof resulting in a 3x speedup.
* #153: [OSX] get_process_connection() implementation has been rewritten
in C and no longer relies on lsof resulting in a 3x speedup.
BUGFIXES
* #83: process cmdline is empty on OSX 64-bit.
* #130: a race condition can cause IOError exception be raised on
Linux if process disappears between open() and subsequent read() calls.
* #145: WindowsError was raised instead of psutil.AccessDenied when using
process resume() or suspend() on Windows.
* #146: 'exe' property on Linux can raise TypeError if path contains NULL
bytes.
* #151: exe and getcwd() for PID 0 on Linux return inconsistent data.
API CHANGES
* Process "uid" and "gid" properties are deprecated in favor of "uids" and
"gids" properties.
0.2.0 - 2010-11-13
------------------
NEW FEATURES
* #79: per-process open files.
* #88: total system physical cached memory.
* #88: total system physical memory buffers used by the kernel.
* #91: per-process send_signal() and terminate() methods.
* #95: NoSuchProcess and AccessDenied exception classes now provide "pid",
"name" and "msg" attributes.
* #97: per-process children.
* #98: Process.get_cpu_times() and Process.get_memory_info now return
a namedtuple instead of a tuple.
* #103: per-process opened TCP and UDP connections.
* #107: add support for Windows 64 bit. (patch by cjgohlke)
* #111: per-process executable name.
* #113: exception messages now include process name and pid.
* #114: process username Windows implementation has been rewritten in pure
C and no longer uses WMI resulting in a big speedup. Also, pywin32 is no
longer required as a third-party dependancy. (patch by wj32)
* #117: added support for Windows 2000.
* #123: psutil.cpu_percent() and psutil.Process.cpu_percent() accept a
new 'interval' parameter.
* #129: per-process number of threads.
BUGFIXES
* #80: fixed warnings when installing psutil with easy_install.
* #81: psutil fails to compile with Visual Studio.
* #94: suspend() raises OSError instead of AccessDenied.
* #86: psutil didn't compile against FreeBSD 6.x.
* #102: orphaned process handles obtained by using OpenProcess in C were
left behind every time Process class was instantiated.
* #111: path and name Process properties report truncated or erroneous
values on UNIX.
* #120: cpu_percent() always returning 100% on OS X.
* #112: uid and gid properties don't change if process changes effective
user/group id at some point.
* #126: ppid, uid, gid, name, exe, cmdline and create_time properties are
no longer cached and correctly raise NoSuchProcess exception if the process
disappears.
API CHANGES
* psutil.Process.path property is deprecated and works as an alias for "exe"
property.
* psutil.Process.kill(): signal argument was removed - to send a signal to the
process use send_signal(signal) method instead.
* psutil.Process.get_memory_info() returns a nametuple instead of a tuple.
* psutil.cpu_times() returns a nametuple instead of a tuple.
* New psutil.Process methods: get_open_files(), get_connections(),
send_signal() and terminate().
* ppid, uid, gid, name, exe, cmdline and create_time properties are no longer
cached and raise NoSuchProcess exception if process disappears.
* psutil.cpu_percent() no longer returns immediately (see issue 123).
* psutil.Process.get_cpu_percent() and psutil.cpu_percent() no longer returns
immediately by default (see issue 123).
0.1.3 - 2010-03-02
------------------
NEW FEATURES
* #14: per-process username
* #51: per-process current working directory (Windows and Linux only)
* #59: Process.is_running() is now 10 times faster
* #61: added supoprt for FreeBSD 64 bit
* #71: implemented suspend/resume process
* #75: python 3 support
BUGFIXES
* #36: process cpu_times() and memory_info() functions succeeded also for
dead processes while a NoSuchProcess exception is supposed to be raised.
* #48: incorrect size for mib array defined in getcmdargs for BSD
* #49: possible memory leak due to missing free() on error condition on
* #50: fixed getcmdargs() memory fragmentation on BSD
* #55: test_pid_4 was failing on Windows Vista
* #57: some unit tests were failing on systems where no swap memory is
available
* #58: is_running() is now called before kill() to make sure we are going
to kill the correct process.
* #73: virtual memory size reported on OS X includes shared library size
* #77: NoSuchProcess wasn't raised on Process.create_time if kill() was
used first.
0.1.2 - 2009-05-06
------------------
NEW FEATURES
* #32: Per-process CPU user/kernel times
* #33: Process create time
* #34: Per-process CPU utilization percentage
* #38: Per-process memory usage (bytes)
* #41: Per-process memory utilization (percent)
* #39: System uptime
* #43: Total system virtual memory
* #46: Total system physical memory
* #44: Total system used/free virtual and physical memory
BUGFIXES
* #36: [Windows] NoSuchProcess not raised when accessing timing methods.
* #40: test_get_cpu_times() failing on FreeBSD and OS X.
* #42: [Windows] get_memory_percent() raises AccessDenied.
0.1.1 - 2009-03-06
------------------
NEW FEATURES
* #4: FreeBSD support for all functions of psutil
* #9: Process.uid and Process.gid now retrieve process UID and GID.
* #11: Support for parent/ppid - Process.parent property returns a
Process object representing the parent process, and Process.ppid returns
the parent PID.
* #12 & 15:
NoSuchProcess exception now raised when creating an object
for a nonexistent process, or when retrieving information about a process
that has gone away.
* #21: AccessDenied exception created for raising access denied errors
from OSError or WindowsError on individual platforms.
* #26: psutil.process_iter() function to iterate over processes as
Process objects with a generator.
* #?: Process objects can now also be compared with == operator for equality
(PID, name, command line are compared).
BUGFIXES
* #16: [Windows] Special case for "System Idle Process" (PID 0) which