diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-24 15:40:49 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-01-24 15:40:49 +0100 |
commit | 903d7b7635847296478404bafe2f74445c6a5379 (patch) | |
tree | c088bbd13c7bed880ed6939d2abb739f776fd508 | |
parent | 07d09c64ca4a7650f56537bbeac65f53e2a52117 (diff) | |
download | psutil-903d7b7635847296478404bafe2f74445c6a5379.tar.gz |
update HISTORY / README
-rw-r--r-- | HISTORY.rst | 6 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | psutil/__init__.py | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index c6db2aa0..2806c2b0 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,10 +1,14 @@ *Bug tracker at https://github.com/giampaolo/psutil/issues* -5.0.2 +5.1.0 ===== *XXXX-XX-XX* +**Enhancements** + +- 357_: added Process.cpu_num() (what CPU the process is on). + **Bug fixes** - 687_: [Linux] pid_exists() no longer returns True if passed a process thread @@ -249,6 +249,8 @@ Process management >>> p.cpu_affinity() [0, 1, 2, 3] >>> p.cpu_affinity([0]) # set + >>> p.cpu_num() + 2 >>> >>> p.memory_info() pmem(rss=10915840, vms=67608576, shared=3313664, text=2310144, lib=0, data=7262208, dirty=0) diff --git a/psutil/__init__.py b/psutil/__init__.py index b24b9822..d0e018e2 100644 --- a/psutil/__init__.py +++ b/psutil/__init__.py @@ -189,7 +189,7 @@ __all__ = [ ] __all__.extend(_psplatform.__extra__all__) __author__ = "Giampaolo Rodola'" -__version__ = "5.0.2" +__version__ = "5.1.0" version_info = tuple([int(num) for num in __version__.split('.')]) AF_LINK = _psplatform.AF_LINK _TOTAL_PHYMEM = None |