| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|\ |
|
| |
| |
| | |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
psutil/_psutil_linux.c: In function ‘psutil_proc_cpu_affinity_set’:
psutil/_psutil_linux.c:317:80: warning: unknown conversion type character ‘R’ in format [-Wformat=]
317 | return PyErr_Format(PyExc_TypeError, "sequence argument expected, got %R", Py_TYPE(py_cpu_set));
| ^
psutil/_psutil_linux.c:317:46: warning: too many arguments for format [-Wformat-extra-args]
317 | return PyErr_Format(PyExc_TypeError, "sequence argument expected, got %R", Py_TYPE(py_cpu_set));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-2.7
|
| |
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
B028: No explicit stacklevel argument found. The warn method from
the warnings module uses a stacklevel of 1 by default. This will
only show a stack trace for the line on which the warn method is
called. It is therefore recommended to use a stacklevel of 2 or
greater to provide more information to the user.
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
On windows, starting with python 3.7,
virtual environments use a venvlauncher startup process
This does not play well when counting spawned processes or
when relying on the pid of the spawned process to do some checks
e.g. connection check per pid
This commit detects this situation and uses the base python
executable to spawn processes when required.
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
|
|
|
|
| |
Signed-off-by: Gerard Weatherby <gweatherby@uchc.edu>
Co-authored-by: Gerard Weatherby <gweatherby@uchc.edu>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tests are being run with psutil installed in a virtual environment
within cibuildwheel builds.
The scripts folder is not being found in this installation & thus,
those tests are skipped.
This commit allows to pass the path of the scripts folder through
an environment variable & re-enables those tests.
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
|
| |
|
| |
|
|
|
| |
The problem is that the open quote messes up the formatting of the entire document for other developers, which includes mentioning the author and his permission to freely use psutil.
|
|
|
|
|
|
| |
In case of exception, display a cleaner error traceback by hiding the `KeyError` bit deriving from a missed cache hit.
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
|
|
|
|
|
| |
partitions
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
|
| |
Reference: https://github.com/freebsd/freebsd-ports/commit/4131f9bfd8d3adb98d096856ee08d2ac7756d7cd
Co-authored-by: Dimitry Andric <dim@FreeBSD.org>
|
| |
|
|\ |
|
| |
| |
| | |
- this should be referring to `sysctl`, like the statement below
|
|/ |
|
| |
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
|
|
|
|
|
| |
...also refactor it a bit and add install instructions for Alpine Linux
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
|
|
|
| |
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
On MacOS, arm64 IFM_1000_TX and IFM_1000_T are the same value, causing
a build failure.
Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>
|
|/
|
|
| |
#2156, #2010
|
|
|
| |
Signed-off-by: Amir Rossert <amir.rossert@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use system-level values for Windows virtual memory
Submitting this as a draft PR as I believe it will address #2074. I do not have either a C or Python development environment to test these changes, so they are provided in the hopes someone else can test and confirm they fix the issue.
There's probably some room to simplify the code with temporary variables to reduce redundancy.
For background, I have implemented precisely this logic in my own (Java-based) project [here](https://github.com/oshi/oshi/blob/3bb9eafbe2062edad4108b7b12501b1f9be27361/oshi-core/src/main/java/oshi/hardware/platform/windows/WindowsVirtualMemory.java#L110-L118) and [here](https://github.com/oshi/oshi/blob/3bb9eafbe2062edad4108b7b12501b1f9be27361/oshi-core/src/main/java/oshi/hardware/platform/windows/WindowsGlobalMemory.java#L253-L263) following a detailed investigation in https://github.com/oshi/oshi/issues/1182
Signed-off-by: Daniel Widdis <widdis@gmail.com>
* Formatting, credits, change log
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
|