CS Adnan
73a0ad73c0
remove log warning + extra if for k10temp
2021-10-26 11:26:52 +06:00
Jos Dehaes
98693aac25
devstat WIP
2021-10-24 21:04:04 +02:00
CS Adnan
602cef8760
add support for AMD Ryzen 5000 temp sensor
2021-10-25 00:17:54 +06:00
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
aristocratos
a1ba01980f
v1.0.19 Improved build system
2021-10-21 16:54:18 +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
aristocratos
804fe60ca9
Fixed: Swapped from atomic bool spinlocks to mutexes to fix rare deadlock
2021-10-13 20:54:36 +02:00
aristocratos
e7afe00ce7
Cpu usage working again
2021-10-13 12:54:43 +02:00
aristocratos
4193ef8921
Fixed cpu lazy sorting
2021-10-13 10:36:51 +02:00
aristocratos
8a399c499a
pointer to smart pointer, first pass
2021-10-12 21:50:46 +02:00
aristocratos
a1bda5f30c
Fixed: atomic_wait() and atomic_lock{} use cpu pause instructions instead of thread sleep
2021-10-12 20:09:35 +02:00
aristocratos
772605003a
Fixed detailed memory not updating
2021-10-12 18:54:38 +02:00
aristocratos
903ab4cc8a
v1.0.15 Vim keys
2021-10-12 17:39:21 +02:00
aristocratos
2df9b58ff1
Added: Toggle in options for enabling directional vim keys "h,j,k,l"
2021-10-12 17:34:52 +02:00
aristocratos
07145f9351
Fixed: Removed unneeded lock in Runner::run()
2021-10-12 16:56:47 +02:00
aristocratos
4b4bac7edd
Changed: Limit atomic_wait() to 1000ms to fix rare stall
2021-10-12 16:49:10 +02:00
Jos Dehaes
28cb677533
more memory free-up - still leaks like crazy
2021-10-11 22:19:25 +02:00
Jos Dehaes
304457863f
more RAII cleanup
2021-10-11 21:48:07 +02:00
aristocratos
82e2e3c55c
Removed non present cpu fields and fixed calculation for selectable cpu field graphs
2021-10-11 12:40:25 +02:00
aristocratos
68603f2b37
RAII Wrappers for Cpu::get_battery()
2021-10-11 10:57:04 +02:00
Jos Dehaes
d5cb24fbeb
RAII
2021-10-10 20:23:11 +02:00
Jos Dehaes
8fad5a61be
get more disk IO stats
2021-10-09 21:44:16 +02:00
Jos Dehaes
7fa903cf16
fix build
2021-10-09 21:43:48 +02:00
Jos Dehaes
98036db660
remove unnecessary uptime param
2021-10-09 21:18:25 +02:00
Jos Dehaes
aae7ae35ca
remove debug logging
2021-10-09 21:07:23 +02:00
Jos Dehaes
5187420b04
fix process elapsed time
2021-10-09 21:06:43 +02:00
Jos Dehaes
89582c0ea6
don't double free
2021-10-09 21:06:29 +02:00
aristocratos
099592bccd
Ignore empty pid 0 to fix tree mode
2021-10-09 17:52:10 +02:00
aristocratos
aee9179c0a
Disable failed tty mode detection for OSX
2021-10-09 17:36:46 +02:00
aristocratos
4b7b98058d
Fixed disk io and added io activity based on read/write
2021-10-09 11:28:32 +02:00
Jos Dehaes
bfa0629e7d
fill in 0 for ioticks
2021-10-08 22:28:10 +02:00
Jos Dehaes
a016ff8a03
disk io from IOreg. Does not show any io though
2021-10-08 22:16:01 +02:00
Jos Dehaes
f98606c6db
per process IO stats
2021-10-08 09:32:06 +02:00
Jos Dehaes
c8b50ed488
don't show autofs, it's useless
2021-10-08 00:21:55 +02:00
aristocratos
b3e6f495f7
Fixed clk_tck -> clkTck
2021-10-07 18:26:15 +02:00
aristocratos
b864edf984
Fixed cumulative cpu usage
2021-10-07 18:24:37 +02:00
aristocratos
6a3c5d9b97
Proc::collect() better cpu percent accurazy
2021-10-07 13:20:30 +02:00
aristocratos
84d0596294
Merge branch 'OSX' of github.com:aristocratos/btop into OSX
2021-10-07 12:56:55 +02:00
aristocratos
3564f8e4c2
Proc::collect() fixed cputimes and cpu percentage calc
2021-10-07 12:56:27 +02:00
Jos Dehaes
98e1e87405
Merge branch 'main' into OSX
2021-10-07 11:32:41 +02:00
Jos Dehaes
60c5636cd7
fix warning
2021-10-06 22:45:54 +02:00
Jos Dehaes
489e446152
details + process states
2021-10-06 22:38:40 +02:00
Jos Dehaes
7e5a808c73
avoid details crash
2021-10-06 22:38:19 +02:00
Jos Dehaes
9c9da4606b
fix quit on macos
2021-10-06 21:03:21 +02:00
aristocratos
d96fdd7eb2
Fixed: Extra "root" partition when running in snap
2021-10-06 18:06:05 +02:00
aristocratos
2d013e857f
v1.0.14 Bug fixes and start of OSX development
2021-10-06 17:11:10 +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
Jos Dehaes
5ac8fa4c8a
don't show /dev
2021-10-06 18:56:32 +02:00
Jos Dehaes
c7f1e71e29
comment
2021-10-06 16:00:41 +02:00
Jos Dehaes
b9d58e3faf
impossible to get CPU freq on M1 apparently
2021-10-06 15:55:58 +02:00
Jos Dehaes
66072711c2
detect full
2021-10-06 15:34:12 +02:00