diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-04-13 21:05:15 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-04-13 21:05:15 +0200 |
commit | b303690afb7b6dad50cfb12056c133da5795af81 (patch) | |
tree | 5edfa455bffd6aa98c8248541b2d03426c5877b9 | |
parent | dd5ce9cfd7c6fc7450237628034017699862c645 (diff) | |
download | psutil-b303690afb7b6dad50cfb12056c133da5795af81.tar.gz |
update README
-rw-r--r-- | IDEAS | 4 | ||||
-rw-r--r-- | README.rst | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5,7 +5,6 @@ A collection of ideas and notes about stuff to implement in future versions. "#NNN" occurrences refer to bug tracker issues at: https://github.com/giampaolo/psutil/issues - PLATFORMS ========= @@ -148,19 +147,16 @@ FEATURES - #550: number of threads per core. - BUGFIXES ======== - #600: windows / open_files(): support network file handles. - REJECTED ======== - #550: threads per core - RESOURCES ========= @@ -376,6 +376,7 @@ Further process APIs .. code-block:: python + >>> import psutil >>> for p in psutil.process_iter(): ... print(p) ... @@ -384,6 +385,9 @@ Further process APIs psutil.Process(pid=3, name='ksoftirqd/0') ... >>> + >>> psutil.pid_exists(3) + True + >>> >>> def on_terminate(proc): ... print("process {} terminated".format(proc)) ... |