Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HTOP not showing CPU anymore

Featured Replies

I noticed that hop lost its cpu bars.

 

I tried to add them but ger error:

munmap_chunk(): invalid pointer

 

Anyone else have this problem?

 

Thanks

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.

  • Author

Ok, thanks.

 

So it seems like the bars and meters work. The problem is saving the settings.

 

I am doing it both as user and with sudo. F10 "Done" results in invalid pointer.

 

Thanks

  • Author

Thanks, removning it does not help.

 

However, creating a new one works. But htop seems not to save any changes. But no crash.

 

Could you post the armbian default or whatever you have?

 

Thanks

 

 

 ____      _     _      _                         _   ____  
 / ___|   _| |__ (_) ___| |__   ___   __ _ _ __ __| | |___ \ 
| |  | | | | '_ \| |/ _ \ '_ \ / _ \ / _` | '__/ _` |   __) |
| |__| |_| | |_) | |  __/ |_) | (_) | (_| | | | (_| |  / __/ 
 \____\__,_|_.__/|_|\___|_.__/ \___/ \__,_|_|  \__,_| |_____|
                                                             
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

  • Author

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=

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.