Commit graph

368 commits

Author SHA1 Message Date
Στέφανος 478a44cc57 Clean up btop_tools.{hpp,cpp} files 2022-10-02 18:52:18 +03:00
aristocratos 24f06094f8 Fixed: Crashing when cores are offline 2022-10-02 15:25:10 +02:00
aristocratos 3796a8ccee Fixed: Extra checks to avoid crash on trying to replace empty strings in tree mode 2022-10-02 13:20:15 +02:00
aristocratos 26ac007777 Fixed: Process tree filtering not case insensitive 2022-08-28 14:22:36 +02:00
aristocratos 0c6a2f701d v1.2.9 Bug fixes + new features and themes 2022-08-28 13:47:37 +02:00
aristocratos 90034156dd Fixed: Memory values not clearing properly when not in graph mode in mem box 2022-08-28 13:36:00 +02:00
Aristocratos 2d6bf1f4aa Added: Option to hide the small cpu graphs for processes 2022-07-29 16:18:06 +02:00
Aristocratos edbafa9060 Changed: Small graphs now show colors for each character 2022-07-26 21:34:14 +02:00
aristocratos 7dc398f0c0 Merge branch 'main' of github.com:aristocratos/btop 2022-07-13 17:26:46 +02:00
aristocratos a84a7e6a5c Fixed: Getting selfpath on macos (fix for finding theme folder) 2022-07-13 17:24:34 +02:00
Jakob P. Liljenberg b48596486e
Merge pull request #385 from simplepad/zfs-iostat-new
Implement new ZFS pool io monitoring and the option to show ZFS pools only
2022-07-11 19:24:08 +02:00
simplepad a33bab3000
switch Logger calls to debug() to avoid filling up the logfile 2022-07-11 19:16:19 +03:00
simplepad bc608e862e
rename zfs_pools_only option to zfs_hide_datasets, make its description clearer 2022-07-11 19:08:25 +03:00
simplepad 189cba73e4
check if at least one object was read before updating ZFS pool io in zfs_collect_pool_total_stats(), use try-catch to prevent possible crashes from int_64t conversions 2022-07-09 03:46:15 +03:00
aristocratos 45c8a3f3d5 Merge branch 'main' of github.com:aristocratos/btop 2022-07-08 19:40:23 +02:00
mohammad hashemy 3e049046f7 add "?" to see help
Signed-off-by: mohammad hashemy <smhd.hashemy@outlook.com>
2022-07-07 17:56:05 +04:30
aristocratos ab92ed1257 Fixed: Logo transparency 2022-07-05 11:52:12 +02:00
simplepad 4969dd8dc6
Use fs::directory_iterator() instead of readdir() in ZFS functions, use fs::path instead of strings. 2022-07-05 01:12:19 +03:00
simplepad 30cc42fcd9
Move get_zfs_stat_file() and zfs_collect_pool_total_stats() functions declarations to btop_collect.cpp so they aren't included when compiling for macos and freebsd 2022-07-05 00:20:33 +03:00
simplepad 7feff854fd
Made ZFS stats collection compatible with zfs_pools_only option. ZFS pool's stat filepath points to the objset-* file when the option is disabled, otherwise it points to the pool's stats directory. Made ZFS total pool stat collection into a separate function for clean code. Also removed an unnecessary variable in the default ZFS stat collection, and changed io_ticks to track the number of reads/writes, reducing unnecessary calculations. 2022-07-04 01:28:25 +03:00
simplepad ed20cb9e07
Re-implemented ZFS stat collection to be compatible with new ZFS versions, now it uses files "/proc/spl/kstat/zfs/*pool_name*/objset*". Needs additional work to be compatible with the option "zfs_pools_only". 2022-07-03 21:05:40 +03:00
aristocratos 4818441817 Pass const string ref 2022-07-03 12:56:04 +02:00
aristocratos 6b1b9f8142 Changed: Rewrite of process sorting and tree generation including fixes for tree sorting and mouse support 2022-07-03 12:37:54 +02:00
simplepad d8d7e40814
Add zfs_pools_only option 2022-07-01 19:30:50 +03:00
aristocratos 102b6dbc9d v1.2.8 New features & themes 2022-06-29 18:59:27 +02:00
Jakob P. Liljenberg b0f5eb6ea7
Merge pull request #374 from simplepad/zfs-pool-io-support
Added support for ZFS pool io stats monitoring
2022-06-29 13:46:14 +02:00
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 126e89bf17
fix identation 2022-06-27 19:12:23 +03: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 c3eb02f27f v1.2.7 Bug fixes & new features 2022-05-28 21:08:30 +02: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 af07067782
Fixed menu description 2022-05-21 14:56:23 +03:00
0xJoeMama 271750999f
Added linux label on the config option 2022-05-21 14:41:26 +03:00
0xJoeMama 82948c06c1
Fixed clang-format off labels 2022-05-21 14:40:10 +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 ba0b34db3f
Added TUI option for kernel proc filtering. 2022-05-20 23:46:49 +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 df205fb23c v1.2.6 Bug fixes 2022-04-13 11:19:47 +02:00
aristocratos 2d9399389c Changed: Enter symbol to a more common variant 2022-04-13 08:13:39 +02:00
aristocratos 9373d9d702 Merge branch 'main' of github.com:aristocratos/btop 2022-03-26 03:02:48 +01:00
aristocratos b0d5c03787 Fixed: Use cpu cores avarage temp if missing cpu package temp for FreeBSD 2022-03-26 03:00:54 +01:00
mohammad hashemy c6c08708ec
Fixed: Wrong memory unit when shorten and size is less than 10 2022-03-07 16:11:36 +03:30
aristocratos 76e26b0c51 v1.2.5 Bug fixes 2022-03-06 00:27:23 +01:00
aristocratos 294b753164 Fixed: Mouse mappings for net box 2022-03-04 20:26:04 +01:00
aristocratos 7097c1c790 Merge branch 'main' of github.com:aristocratos/btop 2022-03-04 20:23:12 +01:00
aristocratos 2b569266d3 Fixed: Small ui fixes for mem and disks 2022-03-04 20:22:46 +01:00
Jakob P. Liljenberg c0d54f5e45
Merge pull request #275 from mrdotx/draw_fix
fix: title_left symbol between auto and zero in the net box is not di...
2022-03-04 20:21:33 +01:00
aristocratos 27791602ff Fixed: Fallback to less accurate UTF8 char count if conversion to wstring fails 2022-03-04 19:39:06 +01:00
aristocratos a98b031a0d v1.2.4 Bug fixes 2022-02-27 14:24:39 +01:00
mrdotx ccfbf182e3
fix: title_left symbol between auto and zero in the net box is not displayed 2022-02-24 11:55:16 +01:00
NMrocks 8dd587dac2
Fixed the "cpu responsive" string in btop_config.cpp as well
See previous commit for more info
2022-02-23 21:19:44 +05:30
NMrocks b4334a590d
Fixed a string in the options menu
The "Proc Sorting" option in the proc section of the options menu has "cpu direct" as the 7th option but the description of the option mentioned it using its older name, "cpu responsive". Changed this to "cpu direct" in the description.
2022-02-23 20:04:46 +05:30
mohammad hashemy 682313027f add "g" and "G" to vim keys 2022-02-21 20:52:08 +03:30
aristocratos 7b3d996a73 Changed: Restrict command line for processes to 1000 characters to fix utf8 conversion errors 2022-02-20 00:27:03 +01:00
aristocratos 4e7a212f83 Fixed: Ignore duplicate disks with same mountpoint 2022-02-17 22:28:10 +01:00
aristocratos f7860f9d1b Optimization: Proc::draw() 2022-02-16 08:06:24 +01:00
aristocratos 17979139c3 v1.2.3 Bug fixes 2022-02-15 18:39:36 +01:00
aristocratos 2aeae24b88 Fixed: string to wstring conversion crash when string is too big 2022-02-15 07:11:22 +01:00
aristocratos 58846af516 Fixed: Process tree not redrawing properly 2022-02-15 06:58:22 +01:00
aristocratos 2fa800e21e Changed: floating_humanizer() now shows fractionals when shortened < 10 2022-02-14 12:45:17 +01:00
aristocratos 18457d1181 v1.2.2 Bug fixes 2022-02-13 00:59:00 +01:00
aristocratos 36a3c7fb8c Added: Clarification on signal screen that number can be manually entered 2022-02-13 00:44:55 +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 d804d3ab33 Changed: Reverted uncolor() back to using regex 2022-02-12 22:27:11 +01:00
aristocratos fc1500007c v1.2.1 Bug fixes 2022-02-11 20:02:21 +01:00
aristocratos ac5ad87121 Fixed: Battery meter draw fix 2022-02-11 19:46:29 +01:00
aristocratos 31555d8a7e Fixed: Alignment of columns in proc box when wide UTF8 characters are used 2022-02-11 19:30:06 +01:00
aristocratos 8e81bf2ccb Removed: Unnecessary counter for atomic_lock 2022-02-09 22:30:53 +01:00
aristocratos 08f3957817 Fixed: Fx::uncolor() optimization 2022-02-09 22:08:27 +01:00
aristocratos 897769a90d Fixed: Logic of Fx::uncolor() 2022-02-09 21:58:41 +01:00
aristocratos 932bb15e79 Fixed: Wrong type for max() in msgBox 2022-02-09 15:45:28 +01:00
aristocratos c77aee2211 Fixed: Terminal resize warning getting stuck 2022-02-09 15:42:09 +01:00
aristocratos ec4bc6823f Description correction 2022-02-09 15:39:50 +01:00
aristocratos 1f4b724d60 Fixed: Text alignment for popup boxes 2022-02-09 15:38:48 +01:00
aristocratos 3b9144dff3 Fixed: Fx::uncolor not removing all escapes 2022-02-09 15:38:05 +01:00
NavigationHazard 3887389e0a Added or and if statement 2022-02-08 10:36:21 +01:00
NavigationHazard eebcb08e49 Best of Both Worlds. Both ways are workings now. Using enter and then moving with arrows or just using arrow down. 2022-02-08 01:24:28 +01:00
NavigationHazard 0790520818 Added Request - Arrow only after use of "f" in Process search 2022-02-06 18:32:35 +01:00
NavigationHazard 4c5e48c6a8 Added Request https://github.com/aristocratos/btop/issues/234 2022-02-06 18:29:33 +01:00
aristocratos 22061fa627 v1.2.0 FreeBSD Support 2022-01-16 14:19:31 +01:00