summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* also provide private wset, which is supposed to be different than USSshared-memGiampaolo Rodola2019-11-213-30/+15
|
* add shared and shareable memory metrics on winGiampaolo Rodola2019-11-214-10/+31
|
* revert #1595Giampaolo Rodola2019-11-222-13/+1
|
* updat HISTORYGiampaolo Rodola2019-11-223-3/+6
|
* linux, cmdline(), fix for #1179, comment 552984549: sometimes string ends ↵Giampaolo Rodola2019-11-222-1/+16
| | | | with null byte but args are separated by spaces
* use PROCESS_QUERY_LIMITED_INFORMATIONGiampaolo Rodola2019-11-221-2/+1
|
* #1595: use psutil_pid_is_running() instead of GetExitCodeProcessGiampaolo Rodola2019-11-201-14/+6
|
* #fix #1595 / windows: kill() may not raise AccessDeniedGiampaolo Rodola2019-11-203-8/+25
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-201-0/+2
|\
| * release gil around users()/BSD (#1425)Giampaolo Rodola2019-11-201-0/+2
| |
* | Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-203-2/+10
|\ \ | |/
| * travis/appveyor: add support for Python 3.8 (#1625)Hugo van Kemenade2019-11-203-2/+10
| |
* | update CREDITSGiampaolo Rodola2019-11-202-0/+7
| |
* | Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-202-12/+12
|\ \ | |/
| * Run slower jobs first so they don't hold up the CI (#1626)Hugo van Kemenade2019-11-201-7/+7
| |
| * psutil/_psutil_posix.c: better clear variables to ensure they are NULL (#1624)Riccardo Schirone2019-11-181-5/+5
| |
* | Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-136-101/+97
|\ \ | |/
| * Use Py_CLEAR instead of Py_DECREF to also set the variable to NULL (#1616)Riccardo Schirone2019-11-136-101/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These files contain loops that convert system data into python objects and during the process they create objects and dereference their refcounts after they have been added to the resulting list. However, in case of errors during the creation of those python objects, the refcount to previously allocated objects is dropped again with Py_XDECREF, which should be a no-op in case the paramater is NULL. Even so, in most of these loops the variables pointing to the objects are never set to NULL, even after Py_DECREF is called at the end of the loop iteration. This means, after the first iteration, if an error occurs those python objects will get their refcount dropped two times, resulting in a possible double-free.
* | update HISTORYGiampaolo Rodola2019-11-123-1/+15
|/
* Fix _psutil_bsd.c compile error on OpenBSD (#1619)Nathan Houghton2019-11-121-1/+1
|
* #1615, 1614: remove pyproject.tomlrelease-5.6.5Giampaolo Rodola2019-11-061-1/+0
|
* #1615, 1614: remove pyproject.tomlGiampaolo Rodola2019-11-064-7/+14
|
* pre-releaserelease-5.6.4Giampaolo Rodola2019-11-044-2/+513
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-043-2/+9
|\
| * add PEP 517/8 build backend and requirements specification (#1565)Bernát Gábor2019-11-042-0/+7
| |
| * docs: fix TypeError in example (#1580)Jérome Perrin2019-11-041-2/+2
| | | | | | | | | | | | Terminate my children example had some error: log("process {} survived SIGTERM; trying SIGKILL" % p) TypeError: not all arguments converted during string formatting
* | fix #1568: [Linux] use CC compiler env var if definedGiampaolo Rodola2019-11-043-1/+10
|/
* Fix variable declaration (#1607)vser12019-11-041-2/+2
| | | | | In plain old C, variables shall be declared above Fix #1606
* fix #875, win, cwd/environ/cmdline(): retry with incremental timeout in case ↵Giampaolo Rodola2019-11-033-17/+60
| | | | of ERROR_PARTIAL_COPY
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-11-011-0/+7
|\
| * add Tidelift security contactGiampaolo Rodola2019-10-311-0/+7
| |
* | fix #875: convert ERROR_PARTIAL_COPY from ReadProcessMemory to AccessDeniedGiampaolo Rodola2019-11-013-19/+29
|/
* revert last appveyor change for 3.8Giampaolo Rodola2019-10-242-9/+9
|
* fix compiler warningsGiampaolo Rodola2019-10-242-4/+5
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-10-247-310/+252
|\
| * appveyor: add python 3.8; drop 3.5Giampaolo Rodola2019-10-212-9/+9
| |
| * Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-10-218-395/+311
| |\
| | * Refactor C modules init (#1603)Giampaolo Rodola2019-10-215-301/+243
| | |
| * | update docGiampaolo Rodola2019-10-171-7/+9
| | |
* | | merge from masterGiampaolo Rodola2019-10-1744-784/+1117
|\ \ \ | | |/ | |/|
| * | Fixes #1570: raise the NTSTATUS returned by NtWow64* syscalls (#1602)Erwan Le Pape2019-10-113-23/+31
| | |
| * | fix #1126: cpu_affinity() segfaults on CentOS 5Giampaolo Rodola2019-10-103-78/+46
| |/ | | | | | | | | | | Remove cpu_affinity() support for CentOS 5 (it's 8 years old anyway); remove the dual implementation. Recent manylinux versions should use CentOS 6.
| * fix more CentOS failuresGiampaolo Rodola2019-10-102-29/+9
| |
| * fix some failing tests on CentOSGiampaolo Rodola2019-10-092-5/+4
| |
| * test_system: relax test_disk_partitions asserts on mountpoints (#1600)Riccardo Magliocchetti2019-10-081-5/+2
| | | | | | | | | | | | As on at least Solaris and modern Linux systems they can be files too. On linux bind mounts may commonly be used with containers. Fix #1573
| * setup.py; rm temp dirGiampaolo Rodola2019-09-301-6/+4
| |
| * Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2019-09-302-5/+4
| |\
| | * Don't pollute tree with temporary configure test files (#1597)Anthony Ramine2019-09-302-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docs for CCompiler.compile say: > If output_dir is given, object files will be put under it, while retaining their > original path component. That is, foo/bar.c normally compiles to foo/bar.o (for a > Unix implementation); if output_dir is build, then it would compile to build/foo/bar.o. What they forget to say is that path components are also retained if output_dir is not specified, it just means it will do so in the current directory. So if you compile a temporary C file /tmp/foo.c, it will produce a ./tmp/foo.o file relative to the current directory. This commit fixes that issue by passing an explicit output_dir itself located in a temporary directory.
| * | #1594: set a limit for eligible CPUs combinationsGiampaolo Rodola2019-09-261-0/+2
| | |
| * | update HISTORYGiampaolo Rodola2019-09-262-0/+6
| |/