summaryrefslogtreecommitdiff
path: root/psutil/_psposix.py
Commit message (Collapse)AuthorAgeFilesLines
* #1174: use TimeoutExpired in wait_pid()Giampaolo Rodola2017-11-131-8/+4
|
* refactoringGiampaolo Rodola2017-05-041-13/+15
|
* add docstringsGiampaolo Rodola2017-02-031-0/+3
|
* #fix 960 / Popen.wait: return negative exit code if process is killed by a ↵Giampaolo Rodola2017-01-311-1/+1
| | | | signal
* doc indentationGiampaolo Rodola2016-06-061-3/+3
|
* fix #829: disk_usage().percent takes reserved root space into accountGiampaolo Rodola2016-06-051-5/+25
|
* update commentGiampaolo Rodola2016-06-041-1/+1
|
* move stuff aroundGiampaolo Rodola2016-06-041-0/+4
|
* imorove test coverageGiampaolo Rodola2016-02-181-1/+1
|
* sort importsGiampaolo Rodola2015-10-241-2/+5
|
* Merge pull request #573 from tomprince/remove-shebang-linesEvinceMoi-fix-net_io_counter-overflowGiampaolo Rodola'2015-09-031-2/+0
|\ | | | | Modules aren't scripts.
| * Modules aren't scripts.Tom Prince2015-01-081-2/+0
| | | | | | | | They shouldn't have shebang lines.
* | fix #587: re-apply the relative import changes and use setup.py build_ext -i ↵Giampaolo Rodola2015-02-091-2/+2
| | | | | | | | in order to fix the import error when using the interactive interpreter from within the root directory
* | revert changes introduced in #584 because relative imports no longer works ↵Giampaolo Rodola2015-02-091-2/+2
| | | | | | | | if we run the interactive interpreter from within psutil installation directory
* | mergeGiampaolo Rodola2015-02-071-2/+2
| |
* | fix flake8 complaintsGiampaolo Rodola2015-02-071-2/+4
|/
* some refactoringGiampaolo Rodola2014-11-081-2/+2
|
* #521 remove python 2.4 and 2.5 supportGiampaolo Rodola2014-11-011-6/+3
|
* github migrationGiampaolo Rodola'2014-05-231-1/+1
|
* fix issue #479: kill error.py and _error.py long deprecated modules; ↵Giampaolo Rodola'2014-02-161-2/+5
| | | | exception classes now live in 'psutil' namespace only
* Fix issue 461 [Linux]: namedtuples are not pickle-able.Giampaolo Rodola'2013-12-301-2/+2
|
* fix remaining stuff on OSXGiampaolo Rodola'2013-12-271-1/+7
|
* yet another big renaming in the name of consistencyGiampaolo Rodola'2013-12-261-1/+1
|
* TimeoutExpired exception: pass the original timeout so that the error ↵Giampaolo Rodola'2013-12-171-1/+1
| | | | message is more informative
* fix issue 457: [POSIX] pid_exists() always return True for PID 0.Giampaolo Rodola'2013-12-171-3/+2
|
* namedtuples renamingGiampaolo Rodola'2013-12-141-2/+2
|
* pep8ifyGiampaolo Rodola'2013-11-211-3/+6
|
* (POSIX / pid_exists()) - as a follow up of ↵Giampaolo Rodola'2013-10-091-2/+13
| | | | http://stackoverflow.com/questions/568271/how-to-check-if-there-exists-a-process-with-a-given-pid/6940314#comment11929962_6940314 be more explicit in handing os.kill() error codes and raise exception if errcode not in (ESRCH, EPERM)
* pylintGiampaolo Rodola'2013-10-031-1/+0
|
* Fix issue 416 (Linux): try to encode() the path name in case statvfs() raise ↵Giampaolo Rodola'2013-08-091-1/+16
| | | | UnicodeEncodeError and then retry; also add unit tests for unicode path names passed to disk_usage()
* update psutil project ownershipGiampaolo Rodola'2013-06-081-1/+1
|
* Fix issue #246: rename psutil.error module into psutil._error and raise a ↵Giampaolo Rodola'2013-04-101-1/+1
| | | | DeprecationWarning if imported.
* On python 3.3 use time.monotonic() instead of time.time() in order to not be ↵Giampaolo Rodola'2013-04-091-2/+3
| | | | affected by system clock updates; same as https://code.google.com/p/pyftpdlib/issues/detail?id=247
* Remove "$Id$" occurrences from source code files. They were used by svn ↵Giampaolo Rodola'2013-03-261-3/+1
| | | | propset functionnality which no longer applies now that we're using Mercurial.
* remove unnecessary type check in pid_exits() as per issue 352; also make ↵Giampaolo Rodola'2013-02-221-2/+0
| | | | sure pid is a positive integer and raise TypeError or ValueError in accordance.
* Fix issue 341: (Linux) psutil might crash on import due to error in ↵Giampaolo Rodola'2012-12-121-2/+8
| | | | retrieving system terminals map.
* fix issue 220: implement get_connections() in C on BSD - get rid of the old ↵Giampaolo Rodola'2012-07-041-211/+1
| | | | lsof parser
* fix some failing tests including a fix for issue 270Giampaolo Rodola'2012-06-101-0/+2
|
* ntuple_* variables renamingGiampaolo Rodola'2012-06-031-2/+2
|
* fix issue #274: rewrite code in an idiom which works with both python 2.x ↵Giampaolo Rodola'2012-06-031-6/+8
| | | | and 3.x avoiding the 2to3 run at installation time
* pass 'pid' to TimeoutExpired exceptionGiampaolo Rodola'2012-02-081-1/+1
|
* Fix #245: Process.wait() - increases the sleep delay incrementally.Giampaolo Rodola'2012-01-201-7/+14
|
* Fix issue 244: always call time.sleep() in check_interval() function, no ↵Giampaolo Rodola'2012-01-191-4/+2
| | | | matter what the provided timeout is. If we get there, it means the process isn't gone at the first os.waitpid() call, therefore we are already into the busy loop.
* get_users(): implementations across different POSIX platforms are too ↵Giampaolo Rodola'2011-11-091-14/+0
| | | | different; move get_users() code from _psutil_posix.c to _psutil_linux.c
* Issue 229 - psutil.get_users(): initial implementation for UNIX systems, ↵Giampaolo Rodola'2011-11-091-0/+14
| | | | currently tested on Linux only.
* Fix #221: (BSD) Process.get_open_files has been rewritten in C and no longer ↵Giampaolo Rodola'2011-10-141-0/+1
| | | | relies on lsof
* Fix #212Giampaolo Rodola'2011-10-051-0/+3
| | | | | Add license header in all source files to pass google chromium license checkers. Also removed Dave Daeschler from contributors and added some missing docstrings.
* Fixx issue 198: (posix) make Process.wait(timeout=0) return immediatelyGiampaolo Rodola'2011-08-191-2/+2
|
* fix test failure on linux, py 3Giampaolo Rodola'2011-07-041-2/+0
|
* usage_percent() utility function: rename 'round' argument in '_round' as it ↵Giampaolo Rodola'2011-06-271-1/+1
| | | | collides with round builtin (does not work on pypy)