HTOP not showing CPU anymore


Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

10 hours ago, Sigge said:

munmap_chunk(): invalid pointer

This is a classical memory corruption.

 

Htop has possibly crashed. During a crash Htop emits a backtrace with some info.  If you have the backtrace info, please post here with your Htop version.

 

You can also try a few things:

* Remove every meter, F2 and delete all the meters, exit. Start again and add one cpu bar. If it is Ok then proceed with the rest.

* If you have some skills build Htop with debug info, the backtrace will show the function previous to the free() memory.

Link to post
Share on other sites
 ____      _     _      _                         _   ____  
 / ___|   _| |__ (_) ___| |__   ___   __ _ _ __ __| | |___ \ 
| |  | | | | '_ \| |/ _ \ '_ \ / _ \ / _` | '__/ _` |   __) |
| |__| |_| | |_) | |  __/ |_) | (_) | (_| | | | (_| |  / __/ 
 \____\__,_|_.__/|_|\___|_.__/ \___/ \__,_|_|  \__,_| |_____|
                                                             
Welcome to Armbian 20.08.1 Focal with Linux 5.8.5-sunxi

No end-user support: community creations

System load:   0.27 0.62 0.34      Up time:       5 min        
Memory usage:  8 % of 990MB      IP:            192.168.254.71
CPU temp:      44°C               
Usage of /:    4% of 29G        

Last login: Wed Nov 25 15:45:51 2020 from 192.168.254.253
root@cubieboard2:~# htop
root@cubieboard2:~# htop --version
htop 2.2.0 - (C) 2004-2020 Hisham Muhammad
Released under the GNU GPL.

root@cubieboard2:~# 

 

a20.png

a20_config.png

a20_restart.png

Link to post
Share on other sites

That is neat! Shell in a box, have to look into that.

 

For anyone with the same problem I had, here is a htoprc to start with:

 

# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=1
hide_threads=0
hide_kernel_threads=0
hide_userland_threads=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=1
highlight_megabytes=1
highlight_threads=1
tree_view=0
header_margin=1
detailed_cpu_time=0
cpu_count_from_zero=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=AllCPUs Swap CPU Memory
left_meter_modes=1 1 1 1
right_meters=Hostname Tasks LoadAverage Uptime
right_meter_modes=2 2 2 2
# SBC hardware and Kernel specific path.
# Editable manually.
BoardName=
CpuFreq_handler=
CpuTemp_handler=
CpuVCore_l_handler=
CpuVCore_b_handler=
GpuVCore_handler=
GpuTemp_handler=
# Wlan / Eth alias
eth0_alias=
eth1_alias=
wlan0_alias=
wlan1_alias=

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...