diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-03 00:22:46 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-03 00:22:46 +0200 |
commit | 601b2ba899120e39b280c348a11769dc168c8be3 (patch) | |
tree | 81f324b75016dbac4de388dad744762d3fd5f727 | |
parent | 42368e6a786415d932cb48d0fd006a0c302ab31b (diff) | |
download | psutil-601b2ba899120e39b280c348a11769dc168c8be3.tar.gz |
update README
-rw-r--r-- | HISTORY.rst | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index 0962be3e..24186c3d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -11,23 +11,20 @@ XXXX-XX-XX - 1741_: "make build/install" is now run in parallel and it's about 15% faster on UNIX. - 1747_: `Process.wait()` on POSIX returns an enum, showing the negative signal - which was used to terminate the process. - ``` - >>> import psutil - >>> p = psutil.Process(9891) - >>> p.terminate() - >>> p.wait() - <Negsignal.SIGTERM: -15> - ``` + which was used to terminate the process:: + >>> import psutil + >>> p = psutil.Process(9891) + >>> p.terminate() + >>> p.wait() + <Negsignal.SIGTERM: -15> - 1747_: `Process.wait()` return value is cached so that the exit code can be retrieved on then next call. - 1747_: Process provides more info about the process on str() and repr() - (status and exit code). - ``` - >>> proc - psutil.Process(pid=12739, name='python3', status='terminated', - exitcode=<Negsigs.SIGTERM: -15>, started='15:08:20') - ``` + (status and exit code):: + >>> proc + psutil.Process(pid=12739, name='python3', status='terminated', + exitcode=<Negsigs.SIGTERM: -15>, started='15:08:20') + **Bug fixes** - 1726_: [Linux] cpu_freq() parsing should use spaces instead of tabs on ia64. |