| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
As spelled on https://pypi.org/.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* setup.py: add py 3.7
* Revert OSX sensors code due to copyright constraints
It turns out code contributed in PR #1284 was using parts of a source
code released by Apple [1] which uses GPL license which is incompatible with
psutil's license (BSD).
[1] https://gist.github.com/edvakf/4049362
|
| |
|
| |
Fix #1244, #1305, #1312. disk_io_counters(perdisk=False) on Linux was counting disk device + partitions(s) twice
|
| | |
|
| | |
|
| |
|
| |
Updated Process section
|
| | |
|
| | |
|
| |
|
| |
rename OSX to macOS
|
| | |
|
| |
|
|
| |
The Python3 docs are more actively maintained and are the future of the
Python project.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* use GetLogicalProcessorInformation() to get logical cpu_count()
* return None if cpu_count() is undetermined + add mock test
* style
* factor out logical CPU num fun
* remove unused code
* psutil_get_num_cpus(): provide an option to fail on err
* add comments
* reuse get_num_cpus() function
* error out if get_num_cpus() fail
* use GetLogicalProcessorInformationEx to get phys CPU num
* on win vista/xp just return None for phys CPU count
* rename vars
* fix C compiler warnings + remove mingw workarounds
* return None if phys cpu count cant' be determined; update HISTORY
* update HISTORY
* update doc
* add WMI tests
* refactor tests
* print debug msg for cpu phys returning None on win < 7
* try to fix win test
* appveyor debug
* fix typo
* adjust appveyor 64 bit versions
* debug msg
* fix for loop
* re-enable python versions
* (maybe) finally fix GetLogicalProcessorInformationEx return len
|
| | |
|
| |
|
| |
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.
|
| |
|
| |
This reverts commit b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
on win
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
useless for the user after all)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update HISTORY
* update doc
* #1183: speedup Process.children() by 2.2x
* fix windows err
* #1083 / #1084: implement linux-specific ppid_map() function speending things up from 2x to 2.4x
* add ESRCH to err handling
* update doc
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* implement PSUTIL_DEBUG from C module
* update doc
* add psutil_debug() utility function
* update doc
* enable PSUTIL_DEBUG for tests
* update appveyor.yml
* change psutil_debug() signature so that it can accept variable num of args
* provide DEBUG info in psutil_raise_for_pid()
* properly print debug message
* do not print too much
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
* small changes
* AIX: implement num_ctx_switches
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix valid_types in memory_percent
pfullmem._fields is always added twice to valid_types so
the message about invalid memtype lists the types twice too.
pfullmem is available on all platforms and is always the
same as or a superset of pmem. We can look at its fields
only to get all valid_types.
Also we can check whether to use memory_full_info or not
by checking the fields of pfullmem vs. pmem instead of
using hard coded mem types.
* remove workaround made for Solaris on AIX
The problem described in the comment doesn't apply for AIX
* update "oneshot" table in documentation
* Removed "nice" and "ionice" which are not boosted
* Removed "~Process." prefix which was only on a few
methods and not others
* Added AIX
Fixes #1157
* small AIX additions to docs
|
| | |
|
| | |
|