Description
I can't remember the exact time when this behavior started, it's probably at least a week old. (Further investigation showed this issue likely arose when I upgraded to 3.4.0 on March 10)
htop shows massively too small CPU/RAM stats for individual processes. I don't remember seeing a single row at or above 2% in a long time. What can I share to help debug this? Is it just me? I can't see any setting that might cause this. I've recorded top and htop in split panes as a GIF to show how blatant the differences are (e.g. factor of 40 for the Gifox process).
I'm observing this on the latest homebrew installed htop.
htop --version
reports 3.4.0-dev
.
I'm on macOS 15.3.1, on M1 Apple silicon.
I'm getting the same results with the latest main branch compiled from source htop 3.4.1-dev-3.4.0-16-g28a62d7
.
Things look much better on version 3.3.0 compiled from source. (I don't know if correct but I'm immediately getting 40% CPU usage)
Here's my htoprc just in case:
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.4.0-dev
config_reader_min_version=3
fields=0 48 17 18 38 39 2 99 46 47 49 1
hide_kernel_threads=1
hide_userland_threads=0
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=0
highlight_base_name=0
highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=1
header_margin=1
screen_tabs=1
detailed_cpu_time=0
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cached_memory=1
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
hide_function_bar=0
header_layout=two_50_50
column_meters_0=LeftCPUs2 Memory Swap
column_meter_modes_0=1 1 1
column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
column_meter_modes_1=1 2 2 2
tree_view=0
sort_key=46
tree_sort_key=46
sort_direction=-1
tree_sort_direction=-1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE TRANSLATED PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PERCENT_CPU
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=-1
.all_branches_collapsed=0