summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-04-13 21:05:15 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-04-13 21:05:15 +0200
commitb303690afb7b6dad50cfb12056c133da5795af81 (patch)
tree5edfa455bffd6aa98c8248541b2d03426c5877b9
parentdd5ce9cfd7c6fc7450237628034017699862c645 (diff)
downloadpsutil-b303690afb7b6dad50cfb12056c133da5795af81.tar.gz
update README
-rw-r--r--IDEAS4
-rw-r--r--README.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/IDEAS b/IDEAS
index fec7e196..d122be87 100644
--- a/IDEAS
+++ b/IDEAS
@@ -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
=========
diff --git a/README.rst b/README.rst
index 89342e84..c65ec1af 100644
--- a/README.rst
+++ b/README.rst
@@ -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))
...