diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-02 14:54:06 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2016-02-02 14:54:06 +0100 |
commit | d7a407035aeb0cf9f6f68dc7585f64557f0a062e (patch) | |
tree | 6bb41f461cb45f5935eab839bcbca070a0dd4d56 | |
parent | 4fac724b6ad436627a9bfa054da85bd6ba78ccc9 (diff) | |
download | psutil-d7a407035aeb0cf9f6f68dc7585f64557f0a062e.tar.gz |
update doc
-rw-r--r-- | HISTORY.rst | 2 | ||||
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | docs/index.rst | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index b76876b8..e6d5d23a 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,7 +9,7 @@ Bug tracker at https://github.com/giampaolo/psutil/issues **Bug fixes** -- #704: psutil does not compile on Solaris sparc. +- #704: [Solaris] psutil does not compile on Solaris sparc. - #734: on Python 3 invalid UTF-8 data is not correctly handled for process name(), cwd(), exe(), cmdline() and open_files() methods resulting in UnicodeDecodeError exceptions. 'surrogateescape' error handler is now @@ -285,6 +285,10 @@ Process management >>> p.rlimit(psutil.RLIMIT_NOFILE) (5, 5) >>> + >>> p.environ() + {'LC_PAPER': 'it_IT.UTF-8', 'SHELL': '/bin/bash', 'GREP_OPTIONS': '--color=auto', + 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'COLORTERM': 'gnome-terminal', ...} + >>> >>> p.suspend() >>> p.resume() >>> diff --git a/docs/index.rst b/docs/index.rst index 566b9996..9fc09527 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -698,9 +698,9 @@ Process class The environment variables of the process as a dict. Note: this might not reflect changes made after the process started. - Availability: Linux, OSX + Availability: Linux, OSX, Windows - .. versionchanged: 3.4.3: added + .. versionadded:: 3.5.0 .. method:: create_time() |