Commit Graph

293 Commits

Author SHA1 Message Date
aristocratos
8940d68f47 Fixed cpu usage in cpu box, process cpu usage still wrong 2021-10-24 16:15:29 +02:00
Jos Dehaes
235c95274f fix boottime (not sure if needed) 2021-10-23 23:49:51 +02:00
Jos Dehaes
cc2a4987ef temp 2021-10-23 23:38:00 +02:00
Jos Dehaes
30ef6ee050 cpu freq 2021-10-23 22:58:17 +02:00
aristocratos
735894b6ca Fixed leaks and proc tree mode 2021-10-23 21:46:57 +02:00
Jos Dehaes
cd644cfc55 get rid of warnings 2021-10-22 15:49:39 +02:00
Jos Dehaes
81b63652bf battery 2021-10-22 15:43:22 +02:00
Jos Dehaes
41ba986954 process args 2021-10-22 15:31:04 +02:00
Jos Dehaes
137e876da6 remove debug 2021-10-22 14:29:36 +02:00
Jos Dehaes
5249be0a40 net stats 2021-10-22 14:28:40 +02:00
Jos Dehaes
96461f4d94 sane memory stats 2021-10-22 13:54:00 +02:00
Jos Dehaes
e5ceeee197 processes 2021-10-22 13:38:27 +02:00
Jos Dehaes
889433d4c6 cpu model + cpu load 2021-10-22 12:08:47 +02:00
Jos Dehaes
f037ab306a freebsd first work 2021-10-22 10:31:37 +02:00
Jos Dehaes
de62167921 Merge branch 'main' into OSX
# Conflicts:
#	CHANGELOG.md
#	Makefile
#	src/btop.cpp
2021-10-20 23:10:36 +02:00
aristocratos
a0ee4046c6 v1.0.18 Fix for build platform detection 2021-10-19 17:29:57 +02:00
aristocratos
997bfd2712 v1.0.17 New features and bug fixes 2021-10-18 18:56:27 +02:00
Jos Dehaes
4c30742d41 comments about temp sensors 2021-10-18 10:08:01 +02:00
Jos Dehaes
46030de77c available = total - used 2021-10-18 08:10:37 +02: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
Jos Dehaes
4c228de0ef use sysconf to get arg_max - seems simpler 2021-10-17 22:19:41 +02:00
Jos Dehaes
c60fc29f0f arg_max should be int on macos 2021-10-17 22:10:50 +02:00
Jos Dehaes
0b5a931a6d only fetch max_args once 2021-10-17 22:01:42 +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
aristocratos
8a1211ec59
Merge pull request #92 from jan-guenter/musl-build
static musl builds
2021-10-17 01:59:07 +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
aristocratos
1601422613 Changed: Reverted mutexes back to custom atomic bool based locks 2021-10-16 23:52:06 +02:00
aristocratos
71d5cd5fd9 Reverted mutexes back to custom atomic bool based locks 2021-10-16 23:24:07 +02:00
Jos Dehaes
3f34a67df6 these helpers can be static 2021-10-16 21:47:55 +02:00
Jos Dehaes
fc19c46c8a code cleanup: put the code in .cpp to enable incremental build 2021-10-16 21:45:16 +02:00
Jos Dehaes
c252c618c0 don't crash on intel 2021-10-16 21:09:21 +02:00
Jos Dehaes
9f88187c29 small improvement 2021-10-16 21:06:18 +02:00
Jos Dehaes
808f09c974 don't iterate 3 times 2021-10-16 20:59:48 +02:00
Jos Dehaes
d8408336e3 remove debug 2021-10-16 20:59:27 +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
3e936bfa8e v1.0.16 Bug fixes 2021-10-16 11:14:11 +02:00
Javier López Úbeda
084e231f1e fix: when vim keys [k]ill should be [K]ill
When we activate the vim_keys new option the label for kill a process
should be capitalized as "Kill" for match the shortcut Shift+K

fix: #87
2021-10-16 03:29:39 +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
832699ffe6 Changed: Removed unnecessary async threads in Runner thread 2021-10-14 21:44:39 +02:00
aristocratos
79a030ca82 Changed: Reverted thread mutex lock to atomic bool with wait and timeout 2021-10-14 09:22:14 +02:00
Jos Dehaes
4f078c3beb more temperature (M1 + intel) 2021-10-13 23:38:36 +02:00
aristocratos
289880aaa6 Merge branch 'OSX' of github.com:aristocratos/btop into OSX 2021-10-16 19:37:09 +02:00
aristocratos
88a2528ca3 Merge changes from main 2021-10-16 19:34:10 +02:00
Jos Dehaes
3ffb21203a release a bit more - still has negative temps for 2 cores on my system 2021-10-16 19:20:45 +02:00
aristocratos
70b4871062 Fixed leaks in Mem and attempt at fixing leaks in sensors.cpp 2021-10-16 01:59:44 +02:00
Jos Dehaes
fbae907720 temperature sensors via IOKit 2021-10-15 23:41:46 +02:00
aristocratos
cef0f0a68d Process command line arguments 2021-10-15 18:39:17 +02:00
Jos Dehaes
a416c888c7 temperature 2021-10-13 21:16:54 +02:00