summaryrefslogtreecommitdiff
path: root/psutil/_pslinux.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor ionice() on LinuxGiampaolo Rodola2019-04-041-6/+3
|
* refactor ionice() on LinuxGiampaolo Rodola2019-04-041-30/+9
|
* #1404: fix regression not returning CPUs > 9Giampaolo Rodola2019-04-021-1/+2
|
* Fix corner case when /etc/mtab doesn't exist and procfs=/proc (#1470)Cedric Lamoriniere2019-03-281-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 countGiampaolo Rodola2019-03-141-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 Rodola2019-03-031-0/+3
|
* _assert_alive() refactor (linux)Giampaolo Rodola2019-02-271-9/+11
|
* fix #1402: move psutil exceptions back into __init__.pyGiampaolo Rodola2019-02-041-3/+7
|
* #1373: different approach to oneshot() cache (pass Process instances around ↵Giampaolo Rodola2018-12-131-7/+7
| | | | - which is faster)
* Linux: refactor _parse_stat_file() and return a dict instead of a list (+ ↵Giampaolo Rodola2018-12-101-17/+30
| | | | maintainability)
* fix #1357: do not expose Process' memory_maps() and io_counters() methods if ↵Giampaolo Rodola2018-12-101-11/+4
| | | | not supported by the kernel
* Fix #1354 [Linux] disk_io_counters() fails on Linux kernel 4.18+ (#1360)Koen Kooi2018-11-051-1/+3
| | | | Linux kernel 4.18+ added 4 fields, ingore them and parse the rest as usual.
* sensors_temperatures() / linux: convert defaultdict to dictGiampaolo Rodola2018-10-201-1/+1
|
* fix #1004: Process.io_counters() may raise ValueErrorGiampaolo Rodola2018-10-191-10/+19
|
* fix #1307: [Linux] disk_partitions() does not honour PROCFS_PATHGiampaolo Rodola2018-10-191-2/+9
|
* refactor hasattr() checks as global constantsGiampaolo Rodola2018-10-161-1/+3
|
* #1197 / linux / cpu_freq(): parse /proc/cpuinfo in case ↵Giampaolo Rodola2018-10-161-0/+13
| | | | /sys/devices/system/cpu fs is not available
* Add parsing for /sys/class/thermal (#1345)Alex Manuskin2018-10-011-0/+44
| | | Add parsing for /sys/class/thermal
* #1341: move open() utilities/wrappers in _common.pyGiampaolo Rodola2018-09-261-18/+2
|
* fix #1323: [Linux] sensors_temperatures() may fail with ValueErrorGiampaolo Rodola2018-08-131-5/+13
|
* #1321: refactoringGiampaolo Rodola2018-08-131-39/+52
|
* make disk_io_counters more robust (#1324)Lawrence Ye2018-08-131-2/+17
|
* update is_storage_device() docstringGiampaolo Rodola2018-08-011-4/+4
|
* fix #1305 / disk_io_counters() / Linux: assume SECTOR_SIZE is a fixed 512Giampaolo Rodola2018-08-011-17/+16
|
* disk_io_counters() - linux: mimic iostat behavior (#1313)Giampaolo Rodola2018-07-291-33/+45
| | | Fix #1244, #1305, #1312. disk_io_counters(perdisk=False) on Linux was counting disk device + partitions(s) twice
* fix #1309: add STATUS_PARKED constant and fix STATUS_IDLE (both on linux)Giampaolo Rodola2018-07-251-2/+7
|
* fix #1279: catch and skip ENODEV in net_if_stat()Giampaolo Rodola2018-07-161-4/+10
|
* fix #1274 / Process.children / Linux: do not swallow AccessDeniedGiampaolo Rodola2018-05-081-3/+2
|
* rename function argGiampaolo Rodola2018-03-241-2/+2
|
* fix #1238: sensors_battery() may return None in case battery is not listed ↵Giampaolo Rodola2018-03-201-2/+6
| | | | as BAT0 under /sys/class/power_supply.
* Adding 'slab' info to virtual_memory on linux (#1239)maxime mouial2018-03-171-2/+7
| | | 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.
* #1222 / linux / memory_full_info: we were erroneously adding "Pss:" and ↵Giampaolo Rodola2018-03-131-3/+4
| | | | "SwapPss"
* #1222: [Linux] Process.memory_full_info() was summing both 'swap PSS' (swap ↵Giampaolo Rodola2018-03-131-1/+1
| | | | 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-131-2/+3
|
* Speedup Process.children() (#1185)Giampaolo Rodola2017-12-011-0/+24
| | | | | | | | | | | | | | | | * 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
* fix #1179 / linux / cmdline: handle processes erroneously overwriting ↵Giampaolo Rodola2017-11-281-2/+10
| | | | /proc/pid/cmdline by using spaces instead of null bytes as args separator
* #1174: use TimeoutExpired in wait_pid()Giampaolo Rodola2017-11-131-5/+1
|
* sort imports by nameGiampaolo Rodola2017-11-121-2/+2
|
* Move exceptions to separate file (#1174)wiggin152017-11-121-6/+4
|
* #1141: sensors_fans / linux: skip unreadable _input label for firstGiampaolo Rodola2017-09-281-6/+5
|
* 1129: have sensors_fans() on Linux skip entry on IOError (#1141)Sebastian Saip2017-09-281-1/+5
|
* 1129: have sensors_temperatures() on Linux skip entry on IOErrorGiampaolo Rodola2017-09-281-10/+11
|
* add test for parsing of /status file on LinuxGiampaolo Rodola2017-07-311-1/+1
|
* variables rewordingGiampaolo Rodola2017-07-181-8/+6
|
* fix #928: turn connections()' 'laddr' and 'raddr' into named tuplesGiampaolo Rodola2017-06-231-1/+1
|
* fix #1101: [Linux] sensors_temperatures() may raise ENODEV.Giampaolo Rodola2017-06-131-1/+2
|
* fix #1071: provide fallback for cpu_freq() in case main current freq file is ↵Giampaolo Rodola2017-06-071-3/+12
| | | | not available on old RedHat versions
* small refactoringGiampaolo Rodola2017-06-021-4/+6
|
* small refactoringGiampaolo Rodola2017-05-161-3/+3
|