summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update HISTORY1124-win-waitGiampaolo Rodola2018-03-241-1/+1
|
* update HISTORYGiampaolo Rodola2018-03-241-0/+1
|
* raise TimeoutAbandoned on WAIT_ABANDONED and rely on a pure-python internal ↵Giampaolo Rodola2018-03-242-12/+48
| | | | polling
* Merge branch 'master' into 1124-win-waitGiampaolo Rodola2018-03-242-2/+12
|\
| * fix git commit hook cmd on winGiampaolo Rodola2018-03-242-2/+12
| |
* | define C TimeoutExpired exceptionGiampaolo Rodola2018-03-242-6/+17
|/
* fix #1238: sensors_battery() may return None in case battery is not listed ↵Giampaolo Rodola2018-03-203-3/+9
| | | | as BAT0 under /sys/class/power_supply.
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2018-03-201-371/+345
|\
| * refactor open mock + add purge script (#1249)Giampaolo Rodola2018-03-178-418/+421
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update doc / HISTORY / CREDITS * suppress warnings from mock module * linux: add mock test for virtual_memory() * add a script to purge installation * linux: disable unreliable test * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * fix typo * fix typo * refactor open mock * refactor open mock * refactor open mock * refactor open mock * refactor open mock * add docstrings
* | linux: disable unreliable testGiampaolo Rodola2018-03-171-14/+15
| |
* | add a script to purge installationGiampaolo Rodola2018-03-173-1/+45
| |
* | linux: add mock test for virtual_memory()Giampaolo Rodola2018-03-171-25/+73
| |
* | suppress warnings from mock moduleGiampaolo Rodola2018-03-171-1/+3
| |
* | update doc / HISTORY / CREDITSGiampaolo Rodola2018-03-173-5/+12
|/
* Adding 'slab' info to virtual_memory on linux (#1239)maxime mouial2018-03-173-3/+35
| | | There are 1970 results on stackoverflow for "slab". Also it is being requested by another user https://github.com/giampaolo/psutil/issues/1202. As such I'm going to accept this PR.
* update HISTORYGiampaolo Rodola2018-03-171-5/+2
|
* #1193, #1194: give credits to @gsauthofGiampaolo Rodola2018-03-172-8/+13
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2018-03-175-117/+127
|\
| * Solaris 10 Fixes (#1248)Georg Sauthoff2018-03-175-117/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix nice() for realtime processes under Solaris 10 fixes #1194 * Use psinfo as fallback [gu]id source on Solaris 10 fixes #1193 * Fix double free * Match ssize_t return type of read functions * Fix undefined behavior with respect to strict aliasing rules and fix some warnings For example, under strict aliasing rules of the C standard, casting a char pointer to a struct pointer and accessing the character array through that struct pointer yields undefined behavior. * Update HISTORY with Solaris notes
* | fyx typoGiampaolo Rodola2018-03-171-1/+1
|/
* #1210, #1214: update README and give CREDITs to @wiggin15Giampaolo Rodola2018-03-143-2/+5
|
* Ignore negative deltas in cpu times when calculating percentages (#1210) (#1214)wiggin152018-03-142-31/+86
|
* #1222 / linux / memory_full_info: we were erroneously adding "Pss:" and ↵Giampaolo Rodola2018-03-133-5/+46
| | | | "SwapPss"
* #1222: [Linux] Process.memory_full_info() was summing both 'swap PSS' (swap ↵Giampaolo Rodola2018-03-132-1/+3
| | | | proportional set size) and plain 'swap'. Not anymore.
* more detailed error msg in case of missing file when reading temperaturesGiampaolo Rodola2018-03-131-4/+6
|
* #1245 / linux / temperatures: skip sensors if 'name' file does not existGiampaolo Rodola2018-03-132-2/+4
|
* give CREDITS to @stswandering for #1240Giampaolo Rodola2018-03-132-1/+5
|
* cpu_times() GetSystemTimes function double dword convert to __int64,t… (#1243)stswandering2018-03-131-18/+18
| | | | | | | | | | * cpu_times() GetSystemTimes function double dword convert to __int64,then double,instead of float. * use double instead of a new conversion logic. * Py_BuildValue change f to d * Py_BuildValue change f to d
* give credits to @alxchk for #1220; bump up versionGiampaolo Rodola2018-03-113-2/+10
|
* Try to extract argv[] from process address space first (#1220)alxchk2018-03-111-1/+82
| | | | | | | | * Try to extract argv[] from process address space first * Add comments and OOM exception * Handle the case with empty array
* Revert "Move tests out of package to top level directory (#1232)" (#1242)Giampaolo Rodola2018-03-1127-316/+331
| | | This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.
* Move tests out of package to top level directory (#1232)Jon Dufresne2018-03-0927-331/+316
| | | | | | | | Cleanly separates tests from the package itself. Prevents the tests being installed to site-packages. Tests are still distributed with the source distribution by MANIFEST.in. Avoids installing tests in production environments, leading to less total code in the environment.
* test environ: clean returned dictGiampaolo Rodola2018-03-081-1/+3
|
* In tox, move flake8 to own target (#1235)Jon Dufresne2018-03-081-7/+7
| | | | | | | | | | | | | | | | | Allows running static analysis (lint/flake8) separately from testing the library. Reduces the redundant times static analysis runs. Previously ran after every test environment, but only needs to run once, requiring less tests resources. For lint, use "skip_install = True" as installing psutil isn't required to do static analysis. For details on this configuration, see: https://tox.readthedocs.io/en/latest/config.html#confval-skip_install=BOOL > skip_install=BOOL > > Do not install the current package. This can be used when you need the > virtualenv management but do not want to install the current package > into that environment.
* Be more explicit about supported Python version (#1233)Jon Dufresne2018-03-081-3/+2
| | | | Python 3.0, 3.1, 3.2, and 3.3 are not supported. Now phrased as: "Python versions 2.6, 2.7, and 3.4+".
* Use environment markers for conditional dependencies (#1230)Jon Dufresne2018-03-081-14/+8
| | | | | Using environment markers has support among modern Python packaging tools (setuptools, pip, wheel, etc.). Allows describing environment specific dependencies in setup.py without using runtime logic.
* Remove unused import 'psutil.tests' in test_unicode.py (#1231)Jon Dufresne2018-03-081-1/+0
|
* doc typo (#1234)Vincent Vinet2018-03-081-1/+1
|
* Remove unnecessary tox PYTHONPATH configuration (#1229)Jon Dufresne2018-03-041-1/+0
| | | No "test" directory exists. The configuration is unneeded.
* Remove additional workarounds and support for Python 3.2 & 3.3 (#1228)Jon Dufresne2018-03-0410-34/+5
| | | | | | Support for Python 3.3 was dropped in version 5.4.1. Support for Python 3.2 was dropped earlier. Remove all references to these unsupported versions including documentation, scripts, workarounds, etc. Eases maintenance as fewer workarounds are used for unsupported environments.
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2018-03-011-0/+3
|\
| * enable pip cache in appveyor build (#1221)Thijs Triemstra2018-02-201-0/+3
| |
* | update doc + bytes conversion exampleGiampaolo Rodola2018-03-011-0/+32
| |
* | add test for safe_mkdirGiampaolo Rodola2018-02-231-0/+7
|/
* rename funGiampaolo Rodola2018-02-141-5/+5
|
* #1216 - give credit to @hexaclockGiampaolo Rodola2018-02-132-0/+13
|
* fix compatibility with python 2.6.x (#1216)Dan Vinakovsky2018-02-121-1/+1
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2018-02-023-2/+6
|\
| * docs: fix battery variable (#1212)lasers2018-01-251-1/+1
| |
| * Update INSTALL.rstGiampaolo Rodola2018-01-161-1/+4
| |