Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [FreeBSD] process resource limits (#1859) (#809) | Giampaolo Rodola | 2020-10-23 | 1 | -6/+0 |
| | |||||
* | linux / cpu_count phys: take depreated */thread_siblings_list into | Giampaolo Rodola | 2020-10-17 | 1 | -9/+15 |
| | | | | | | | | | | | | account /sys/devices/system/cpu/cpu[0-9]*/topology/thread_siblings_list is deprecated /sys/devices/system/cpu/cpu[0-9]*/topology/core_cpus_list is the new name also add test which makes sure method 1 and 2 return the same result | ||||
* | Merge branch 'master' of github.com:giampaolo/psutil | Giampaolo Rodola | 2020-10-17 | 1 | -4/+4 |
|\ | |||||
| * | Fix cpu_count_physical() returning wrong values on systems with SMT or more ↵ | Vincent A. Arcila | 2020-10-17 | 1 | -4/+4 |
| | | | | | | | | than one processor (#1727) | ||||
* | | increase test coverage | Giampaolo Rodola | 2020-10-17 | 1 | -1/+1 |
|/ | |||||
* | remove old unused code (#1843) | Arnon Yaari | 2020-10-05 | 1 | -4/+0 |
| | | | Co-authored-by: Arnon Yaari <arnony@infinidat.com> | ||||
* | sensors_battery() only return None if percentage is undetermined (#1838) | aristocratos | 2020-09-30 | 1 | -3/+2 |
| | |||||
* | Expanded battery sensor detection (#1837) | aristocratos | 2020-09-27 | 1 | -4/+11 |
| | |||||
* | update doc for #1830 (net_if_stats() isup check if NIC is running) | Giampaolo Rodola | 2020-09-21 | 1 | -1/+1 |
| | |||||
* | Backport python 3 super() (#1733) | Giampaolo Rodola | 2020-04-24 | 1 | -1/+1 |
| | |||||
* | Remove useless assignment (#1728) | kaiix | 2020-04-16 | 1 | -1/+0 |
| | |||||
* | Fix handling /proc/cpuinfo without tabs (#1726) | Michał Górny | 2020-04-14 | 1 | -1/+1 |
| | | | | | | | /proc/cpuinfo uses spaces rather than tabs on ia64. Since there seems not to be any reason to require specific kind of whitespace before ':' on 'cpu mhz' line, just split on ':'. See: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/ia64/kernel/setup.c#n700 | ||||
* | #1681, revert 00a3398 | Giampaolo Rodola | 2020-02-13 | 1 | -25/+0 |
| | |||||
* | small refactoring to accomodate #1691 | Giampaolo Rodola | 2020-02-13 | 1 | -5/+6 |
| | |||||
* | fix #1627: [Linux] Process.memory_maps() can raise KeyError | Giampaolo Rodola | 2020-02-11 | 1 | -1/+1 |
| | |||||
* | small refact | Giampaolo Rodola | 2020-02-11 | 1 | -3/+2 |
| | |||||
* | fix #1681 / linux / disk_partitions: show swap | Giampaolo Rodola | 2020-02-11 | 1 | -0/+27 |
| | |||||
* | [Linux] disk_io_counters() ValueError when parsing /sys/block (#1684) | Giampaolo Rodola | 2020-02-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | Fixes: ``` ====================================================================== ERROR: psutil.tests.test_linux.TestSystemDiskIoCounters.test_emulate_use_sysfs ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/giampaolo/svn/psutil/psutil/tests/test_linux.py", line 1195, in test_emulate_use_sysfs wsysfs = psutil.disk_io_counters(perdisk=True) File "/home/giampaolo/svn/psutil/psutil/__init__.py", line 2065, in disk_io_counters rawdict = _psplatform.disk_io_counters(**kwargs) File "/home/giampaolo/svn/psutil/psutil/_pslinux.py", line 1124, in disk_io_counters for entry in gen: File "/home/giampaolo/svn/psutil/psutil/_pslinux.py", line 1110, in read_sysfs wbytes, wtime, _, busy_time, _) = map(int, fields) ValueError: too many values to unpack (expected 11) ``` | ||||
* | fix #1650 [Linux] sensors_temperatures() no longer emit warnings on file not ↵ | Giampaolo Rodola | 2020-02-09 | 1 | -2/+2 |
| | | | | found (print debug msg instead) | ||||
* | Properly handle PID type in C (#1672) | Giampaolo Rodola | 2020-01-29 | 1 | -3/+1 |
| | |||||
* | Future-proof disk_io_counters on Linux. (#1665) | Mike Hommey | 2020-01-17 | 1 | -1/+2 |
| | | | | | | | | | | Kernel 5.5 added 2 more fields to /proc/diskstats, requiring another change after the one for 4.18, which recently added 4 fields. At this point in time, the meaning of the existing fields is unlikely to change, and psutil is not using any of the newer ones. By considering 18 fields and more to have the current layout, psutil will continue to work as newer kernels add more fields. | ||||
* | move custom exceptions in _common.py | Giampaolo Rodola | 2020-01-02 | 1 | -7/+3 |
| | |||||
* | lint | Giampaolo Rodola | 2019-12-28 | 1 | -1/+2 |
| | |||||
* | sensors_temperatures: also search /sys/devices/platform/coretemp.* for ↵ | Javad Karabi | 2019-12-28 | 1 | -0/+1 |
| | | | | temperatures (#1648) | ||||
* | updat HISTORY | Giampaolo Rodola | 2019-11-22 | 1 | -3/+2 |
| | |||||
* | linux, cmdline(), fix for #1179, comment 552984549: sometimes string ends ↵ | Giampaolo Rodola | 2019-11-22 | 1 | -1/+8 |
| | | | | with null byte but args are separated by spaces | ||||
* | fix #1126: cpu_affinity() segfaults on CentOS 5 | Giampaolo Rodola | 2019-10-10 | 1 | -30/+34 |
| | | | | | | 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 #1527: Linux process CPU iowait time | Giampaolo Rodola | 2019-09-07 | 1 | -1/+7 |
| | |||||
* | PEP-3151: backport FS exceptions to Python 2 (#1544) | Giampaolo Rodola | 2019-06-28 | 1 | -65/+50 |
| | |||||
* | Connection family/type are not converted to enums (#1535) | Giampaolo Rodola | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | Revert "Add handling of missing space in meminfo output (#1517)" (#1531) | Giampaolo Rodola | 2019-06-12 | 1 | -3/+2 |
| | | | This reverts commit 6b994c625db2abaaadf58a0425f9daaf3e4ad9e5. | ||||
* | Add handling of missing space in meminfo output (#1517) | xiaclo | 2019-06-12 | 1 | -2/+3 |
| | |||||
* | small refactoring | Giampaolo Rodola | 2019-05-14 | 1 | -1/+1 |
| | |||||
* | remove catching IOError; let the test fail and adjust it later | Giampaolo Rodola | 2019-04-26 | 1 | -11/+5 |
| | |||||
* | Fix cpu freq (#1496) | David Brochart | 2019-04-26 | 1 | -5/+17 |
| | |||||
* | fix #1493: [Linux] cpu_freq(): handle the case where ↵ | Giampaolo Rodola | 2019-04-26 | 1 | -1/+1 |
| | | | | /sys/devices/system/cpu/cpufreq/ exists but is empty. | ||||
* | Revert "Fix cpu_freq (#1493)" (#1495) | Giampaolo Rodola | 2019-04-25 | 1 | -7/+1 |
| | | | This reverts commit 01e00a6629a78a7277aac627c8b025cb753d6fee. | ||||
* | Fix cpu_freq (#1493) | David Brochart | 2019-04-25 | 1 | -1/+7 |
| | |||||
* | Update cpu_freq to return 0 for max/min if not available (#1487) | Alex Manuskin | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | refactor/move some utilities into _common.py | Giampaolo Rodola | 2019-04-12 | 1 | -15/+2 |
| | |||||
* | Linux / CPU freq, fixes #1481 | Alex Manuskin | 2019-04-05 | 1 | -15/+11 |
| | |||||
* | fix linux testsfix-tests | Giampaolo Rodola | 2019-04-05 | 1 | -2/+2 |
| | |||||
* | refactor ionice() on Linux | Giampaolo Rodola | 2019-04-04 | 1 | -6/+3 |
| | |||||
* | refactor ionice() on Linux | Giampaolo Rodola | 2019-04-04 | 1 | -30/+9 |
| | |||||
* | #1404: fix regression not returning CPUs > 9 | Giampaolo Rodola | 2019-04-02 | 1 | -1/+2 |
| | |||||
* | Fix corner case when /etc/mtab doesn't exist and procfs=/proc (#1470) | Cedric Lamoriniere | 2019-03-28 | 1 | -4/+4 |
| | | | | | | | | | | In some Linux configurations the `/etc/mtab` does not exist but the procfs_path is equal to `/proc`. With the fix done for the issue #1307, the described configuration didn't work. This Commit introduce an additional check that verifies if the `/etc/mtab` file exists before using it, else it defaults to `<procfs_path>/self/mounts` Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com> | ||||
* | issue #1404 / linux / phys CPUs count | Giampaolo Rodola | 2019-03-14 | 1 | -2/+12 |
| | | | | | determine CPUs from /sys/devices/system/cpu/cpu[0-9]/topology/core_id in case /proc/cpuinfo does not provide this info | ||||
* | fix #1447: we weren't use @wrap_exceptions around oneshot() (doh\!) | Giampaolo Rodola | 2019-03-03 | 1 | -0/+3 |
| | |||||
* | _assert_alive() refactor (linux) | Giampaolo Rodola | 2019-02-27 | 1 | -9/+11 |
| | |||||
* | fix #1402: move psutil exceptions back into __init__.py | Giampaolo Rodola | 2019-02-04 | 1 | -3/+7 |
| |