Commit graph

164 commits

Author SHA1 Message Date
simplepad aeea53518b
use Shared::procPath, fix Logger error type 2022-06-29 14:42:27 +03:00
aristocratos f35d36ab6c Fixed kernel proc filter clearing issue + optimization 2022-06-29 09:54:28 +02:00
aristocratos b450293f7f Optimize away clear_kernel_cache() function 2022-06-29 09:43:17 +02:00
aristocratos 39f3ac4785 Merge branch 'kernel-filtering' 2022-06-29 09:33:33 +02:00
simplepad d402f4cece
Remove duplicate fstype setter 2022-06-25 20:07:13 +03:00
simplepad a88671b68f
Remove forgotten debug logger calls 2022-06-25 20:02:01 +03:00
simplepad fbba6b69d3
Added support for ZFS pool io stats monitoring 2022-06-25 18:12:35 +03:00
Jakob P. Liljenberg 7d86602ede
Changed: Disable battery monitoring if it fails instead of exiting 2022-06-21 14:42:06 +02:00
0xJoeMama d916e064d1
Changed spaces to tabs 2022-05-29 16:11:27 +03:00
0xJoeMama 482734766a
Finished kernel proc filtering. 2022-05-29 16:09:55 +03:00
aristocratos 7291c7dfdc Fixed: Net sync scale bug 2022-05-28 20:48:02 +02:00
0xJoeMama 2b4000b857
Added a check for filter kernel mode 2022-05-24 15:42:59 +03:00
0xJoeMama 8ed8d43f5a
Added caching for kernel processes. 2022-05-24 12:01:33 +03:00
0xJoeMama 3e097faecc
More indentation 2022-05-21 15:16:35 +03:00
0xJoeMama 224c065eed
Replaced my spaces with tabs 2022-05-21 15:14:16 +03:00
0xJoeMama f340fa6a48
Indentation fix. 2022-05-21 15:06:03 +03:00
0xJoeMama d53998f37c
Woops that went unnoticed, didn't it? 2022-05-21 15:03:07 +03:00
0xJoeMama 7b50543be3
Made kernel process filtering more efficient 2022-05-21 14:37:21 +03:00
0xJoeMama c0f6084159
Replaced $*\s with tabs 2022-05-20 23:54:07 +03:00
0xJoeMama e70dbc1bce
Fixed some formatting issues. 2022-05-20 23:48:59 +03:00
0xJoeMama e1341a17cb
Moved to correct version of the code 2022-05-20 23:35:41 +03:00
Jakob P. Liljenberg c257938d46
Merge pull request #326 from abrasumente233/main
Added: Case insensitive process filtering
2022-05-16 16:03:58 +02:00
Matt Ickstadt a7384483a4 Include ZFS ARC in cached/available memory on Linux 2022-05-05 10:18:35 -05:00
abrasumente abc4fb25c3 Added: Case insensitive process filtering 2022-05-01 01:08:27 +08:00
aristocratos 0f117a0273 Fixed: Disk IO stats for individual partitions instead of whole disk 2022-04-26 20:43:35 +02:00
aristocratos 4e7a212f83 Fixed: Ignore duplicate disks with same mountpoint 2022-02-17 22:28:10 +01:00
aristocratos 2aeae24b88 Fixed: string to wstring conversion crash when string is too big 2022-02-15 07:11:22 +01:00
aristocratos baabbe78b2 Added: Toggle for showing free disk space for privileged or normal users 2022-02-13 00:33:20 +01:00
aristocratos 64cdb44343 Fixed: Net speed rollover for 32-bit 2022-01-12 20:49:27 +01:00
aristocratos 56deec4988 Fixed: Account for system rolling over net speeds in Net::collect() 2021-12-30 11:26:23 +01:00
aristocratos 5453e82a95 Changed: From rng::sort() to rng::stable_sort() for more stability 2021-12-27 10:55:17 +01:00
aristocratos 9465e9b014 Fixed: coretemp ordering 2021-11-27 18:24:40 +01:00
aristocratos 1bce1be695 Merge branch 'sensor-fix' 2021-11-27 18:20:30 +01:00
aristocratos e1074cd15b Mem::collect optimization 2021-11-22 21:43:40 +01:00
Krzysztof Filipek 5fb484a299 Fix coretemp iteration due to missing temp9_input (i9-9940X)
There are cases when some files are missing:
1. Due to specific CPU topology (e.g. {cpu6: core_id=6; but cpu7: core_id=8})
2. On architectures older than SandyBridge (missing per-package sensor)
2021-11-22 19:07:53 +01:00
aristocratos 156998073a Fixed: Bad values for disks and network on 32-bit 2021-11-03 21:01:34 +01:00
aristocratos 9ecea2c94e Fixed: Removed extra spaces in cpu name 2021-10-26 23:50:28 +02:00
aristocratos 587005f094 v1.0.20 Bug fixes 2021-10-26 23:41:40 +02:00
CS Adnan 73a0ad73c0 remove log warning + extra if for k10temp 2021-10-26 11:26:52 +06:00
CS Adnan 602cef8760 add support for AMD Ryzen 5000 temp sensor 2021-10-25 00:17:54 +06:00
aristocratos 7d89c75abb FIxed: Battery error if non existant battery named is entered 2021-10-17 22:55:36 +02:00
aristocratos 4cacdf28fe Added: Displayed battery selectable in options menu 2021-10-17 22:26:43 +02:00
Jan Günter 22297f7954 added try catch block as suggested in review
https://github.com/aristocratos/btop/pull/97#discussion_r730428842
2021-10-17 17:06:18 +02:00
Jan Günter 966c9f5e5e improved battery detection
- new considering all power supplies (instead of path name filtering)
- only consider power supplies that are currently present
- only consider power supplies of type Batter or UPS
2021-10-17 16:31:25 +02:00
Jan Günter 816270750d readability change request in review
https://github.com/aristocratos/btop/pull/92#discussion_r730321422
2021-10-17 01:45:26 +02:00
Jan Günter c8a7c0dc19 changed static build behavior
restrict getpwuid usage only in static builds with glibc
2021-10-16 13:02:06 +02:00
aristocratos e20258ea9f Added: Try to restart secondary thread in case of stall and addiotional error checks for ifstream in Proc::collect() 2021-10-15 08:32:37 +02:00
aristocratos d96fdd7eb2 Fixed: Extra "root" partition when running in snap 2021-10-06 18:06:05 +02:00
aristocratos dbcd12b9d0 Fixed: snap root disk and changed to compiler flags instead of env variables for detection 2021-10-06 11:25:10 +02:00
aristocratos 69c5eba1db Fixed: Uid -> User fallback to getpwuid() if failure for non static builds 2021-10-06 10:47:24 +02:00
aristocratos 02fcb8c34a Changed: Total system memory is checked at every update instead of once at start 2021-10-05 09:18:04 +02:00
aristocratos 304b9af4e8 Fixed: Exception handling for faulty net download/upload speed 2021-09-30 22:49:14 +02:00
aristocratos ab013b989b Changed: Snap new / mountpoint detection 2021-09-28 21:54:51 +02:00
aristocratos 06cac6756d Fixed: Get real / mountpoint when running inside snap 2021-09-28 21:01:50 +02:00
aristocratos 528df4d84f Added: ifstream check and try-catch for stod() in Tools::system_uptime() 2021-09-26 01:03:57 +02:00
aristocratos 5e6d1babdc Fixed: Processes not completely hidden when collapsed in tree mode 2021-09-23 12:44:46 +02:00
aristocratos 6d11c8b4db Fixed: Use /proc/pid/statm if RSS memory from /proc/pid/stat is faulty 2021-09-21 21:24:58 +02:00
aristocratos 8d3e4575be Fixed: stoi 0 literal pointer to nullptr and added more clamping for gradient array access 2021-09-21 17:21:42 +02:00
aristocratos 85f945ada0 Fixed: Color gradient array out of bounds, added clamp 0-100 for cpu percent values 2021-09-20 17:23:34 +02:00
aristocratos 33884e2bf0 Fixed variables to support 32-bit and added preset selection 2021-09-18 14:42:53 +02:00
aristocratos 650df9ac39 Added collect for battery 2021-09-17 14:25:54 +02:00
aristocratos 8583a8a2ef Added menu system 2021-09-12 15:58:23 +02:00
aristocratos db96a20e16 Added menus and boxes for signal sending 2021-09-01 21:40:13 +02:00
aristocratos 214d8962e0 Moving stuff around 2021-08-23 22:52:52 +02:00