diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-06-03 11:48:31 +0200 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-06-03 11:48:31 +0200 |
| commit | d3239a650eaa2595fdd8c2eca9cda9a599b17a5b (patch) | |
| tree | 667711c94f206642cf5333b07e862480b0fc1a11 /docs | |
| parent | 58711c2db81d437fdcf5b8aedf68bfd00fc089fd (diff) | |
| download | psutil-d3239a650eaa2595fdd8c2eca9cda9a599b17a5b.tar.gz | |
fix #628: Process.name() on Linux truncates spaces and ')'
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.rst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/index.rst b/docs/index.rst index 000ac20d..9d527ebb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -769,6 +769,13 @@ Process class 10 >>> + Starting from `Python 3.3 <http://bugs.python.org/issue10784>`__ this + functionality is also available as + `os.getpriority() <http://docs.python.org/3/library/os.html#os.getpriority>`__ + and + `os.setpriority() <http://docs.python.org/3/library/os.html#os.setpriority>`__ + (UNIX only). + On Windows this is available as well by using `GetPriorityClass <http://msdn.microsoft.com/en-us/library/ms683211(v=vs.85).aspx>`__ and `SetPriorityClass <http://msdn.microsoft.com/en-us/library/ms686219(v=vs.85).aspx>`__ @@ -779,12 +786,6 @@ Process class >>> p.nice(psutil.HIGH_PRIORITY_CLASS) - Starting from `Python 3.3 <http://bugs.python.org/issue10784>`__ this - same functionality is available as - `os.getpriority() <http://docs.python.org/3/library/os.html#os.getpriority>`__ - and - `os.setpriority() <http://docs.python.org/3/library/os.html#os.setpriority>`__. - .. method:: ionice(ioclass=None, value=None) Get or set @@ -1225,7 +1226,7 @@ Popen class :meth:`send_signal() <psutil.Process.send_signal()>`, :meth:`terminate() <psutil.Process.terminate()>` and :meth:`kill() <psutil.Process.kill()>` - so that you don't accidentally terminate another process, fixing + so that you can't accidentally terminate another process, fixing http://bugs.python.org/issue6973. >>> import psutil |
