Commit graph

579 commits

Author SHA1 Message Date
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
Jakob P. Liljenberg 12dad37e04
Merge pull request #386 from mohi001/main
add "?" as an option to see help
2022-07-07 15:41:50 +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
Juhana Laurinharju b32e8f124b Add solarized_light theme 2022-07-02 18:51:55 +03: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 78ebd4afed Merge branch 'main' of github.com:aristocratos/btop 2022-06-29 11:10:42 +02:00
Jakob P. Liljenberg d10f95a954
Merge pull request #378 from appuchias/main
Add tomorrow night theme
2022-06-29 10:14:55 +02:00
Jakob P. Liljenberg 76c7560324
Merge pull request #359 from iambeingtracked/main
Add everforest-dark-hard.theme
2022-06-29 10:05:07 +02: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
Appuchia f67365d493 Add tomorrow night theme 2022-06-28 20:35:55 +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
iambeingtracked 40db134273
Add everforest-dark-hard.theme
Add an everforest dark hard theme
2022-06-07 17:32:39 +03:00
Jakob P. Liljenberg 83e9942d67
Merge pull request #345 from mapi68/patch-1
Update btop.desktop
2022-06-03 08:21:54 +02:00
Jakob P. Liljenberg 15c5107144
Merge pull request #348 from 00davidr/main
Update README.md
2022-06-03 08:21:01 +02:00
00davidr e60a5123b9
Update README.md
update on Color standards for terminal emulators
2022-06-02 11:39:57 +02:00
mapi68 fc8ac1590a
Update btop.desktop
Hello,
I propose these changes in btop.desktop:

line 4: "Name" supports special character, so it's possible to write full name with "++"
line 6: "Comment" no need dot (.) at the end
added italian translation of "GenericName" and "Comment"

Regards
2022-05-30 09:34:24 +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
Jakob P. Liljenberg dfac006b92
Merge pull request #338 from Schievel1/main
Added tokyo-night & tokyo-storm theme
2022-05-28 20:53:12 +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
Pascal Jäger 7eae5fcd2c
Added tokyo-night & tokyo-storm theme 2022-05-22 13:05:39 +02: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