Skip to content
Extraits de code Groupes Projets
Valider dcd78819 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

feat: setup htop configuration

parent 86dbb51c
Branches
Étiquettes v1.1.16
Aucune requête de fusion associée trouvée
htop_version=3.3.0
config_reader_min_version=3
fields=0 48 17 18 38 39 40 2 46 47 49 1
hide_kernel_threads=1
hide_userland_threads=1
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=1
highlight_deleted_exe=1
shadow_distribution_path_prefix=1
highlight_megabytes=1
highlight_threads=1
highlight_changes=1
highlight_changes_delay_secs=3
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
header_margin=1
screen_tabs=1
detailed_cpu_time=1
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=1
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
hide_function_bar=0
header_layout=three_50_25_25
column_meters_0=AllCPUs CPU Blank Memory Memory Blank Swap Swap
column_meter_modes_0=1 2 2 1 2 2 1 2
column_meters_1=PressureStallCPUSome Blank PressureStallIOSome PressureStallIOFull Blank PressureStallMemorySome PressureStallMemoryFull
column_meter_modes_1=2 2 2 2 2 2 2
column_meters_2=Hostname DateTime Uptime Blank Tasks LoadAverage DiskIO NetworkIO
column_meter_modes_2=2 2 2 2 2 2 2 2
tree_view=0
sort_key=46
tree_sort_key=0
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 M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view_always_by_pid=0
.tree_view=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0
......@@ -278,6 +278,45 @@
mode: '0644'
when: ansible_os_family == "Debian"
- name: "Copy htoprc file to system configuration"
tags:
- "config"
- "config_htop"
- "config_htop_system"
ansible.builtin.copy:
src: "htoprc"
dest: "/etc/htoprc"
owner: "root"
group: "root"
mode: '0644'
when: ansible_os_family == "Debian"
- name: "Copy htoprc file to user configuration"
tags:
- "config"
- "config_htop"
- "config_htop_user"
ansible.builtin.file:
path: "/home/{{ host_user }}/.config/htop"
state: directory
owner: "{{ host_user }}"
group: "{{ host_user }}"
mode: '0700'
when: ansible_os_family == "Debian"
- name: "Copy htoprc file to user configuration"
tags:
- "config"
- "config_htop"
- "config_htop_user"
ansible.builtin.copy:
src: "htoprc"
dest: "/home/{{ host_user }}/.config/htop/htoprc"
owner: "{{ host_user }}"
group: "{{ host_user }}"
mode: '0644'
when: ansible_os_family == "Debian"
- name: Add session timeout
ansible.builtin.blockinfile:
path: /etc/bashrc
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter