Replace per-user htoprc with system-wide config
Also update to newer htoprc layout from BLSE.
This commit is contained in:
48
roles/base/templates/etc/htoprc.j2
Normal file
48
roles/base/templates/etc/htoprc.j2
Normal file
@ -0,0 +1,48 @@
|
||||
# htop configuration file (Debian)
|
||||
# {{ ansible_managed }}
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
sort_key=46
|
||||
{% if debian_version|int >= 11 %}
|
||||
sort_direction=0
|
||||
{% else %}
|
||||
sort_direction=1
|
||||
{% endif %}
|
||||
tree_sort_key=0
|
||||
tree_sort_direction=1
|
||||
hide_kernel_threads=0
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=1
|
||||
show_program_path=1
|
||||
highlight_base_name=1
|
||||
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=0
|
||||
tree_view=0
|
||||
tree_view_always_by_pid=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=1
|
||||
cpu_count_from_one=1
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=1
|
||||
show_cpu_temperature=1
|
||||
degree_fahrenheit=0
|
||||
update_process_names=1
|
||||
account_guest_in_cpu_meter=1
|
||||
color_scheme=0
|
||||
enable_mouse=1
|
||||
delay=10
|
||||
left_meters=Hostname Clock Uptime Blank LeftCPUs2 Blank CPU Blank
|
||||
left_meter_modes=2 2 2 2 1 2 1 2
|
||||
{% if debian_version|int >= 11 %}
|
||||
right_meters=LoadAverage Tasks Systemd Blank RightCPUs2 Blank Memory Swap
|
||||
right_meter_modes=2 2 2 2 1 2 1 1
|
||||
{% else %}
|
||||
right_meters=LoadAverage Tasks Blank Blank RightCPUs2 Blank Memory Swap
|
||||
right_meter_modes=2 2 2 2 1 2 1 1
|
||||
{% endif %}
|
||||
hide_function_bar=0
|
Reference in New Issue
Block a user