Skip to content

Instantly share code, notes, and snippets.

@dperelman
Created March 5, 2015 04:29
Show Gist options
  • Save dperelman/1e051f5705685cb41f31 to your computer and use it in GitHub Desktop.
Save dperelman/1e051f5705685cb41f31 to your computer and use it in GitHub Desktop.
My configuration for htop. Goes in ~/.config/htop/htoprc
# 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=47
sort_direction=1
hide_threads=0
hide_kernel_threads=0
hide_userland_threads=0
shadow_other_users=1
show_thread_names=0
highlight_base_name=1
highlight_megabytes=1
highlight_threads=1
tree_view=0
header_margin=0
detailed_cpu_time=1
cpu_count_from_zero=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
delay=15
left_meters=AllCPUs Memory Swap
left_meter_modes=1 1 1
right_meters=Hostname Tasks LoadAverage Uptime
right_meter_modes=2 2 2 2
@Tecnocrat
Copy link

Tecnocrat commented May 12, 2018

I have the same file in my server. Do you know what is this file for?

@duraki
Copy link

duraki commented May 15, 2018

@Tecnocrat it's for htop process viewer configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment