3 # This must appear before "column_meters_*" options
4 xdg.configFile."htop/htoprc".text = lib.mkBefore ''
5 header_layout=two_50_50
7 home.packages = [ pkgs.htop ];
9 enable = lib.mkDefault true;
11 account_guest_in_cpu_meter = false;
12 all_branches_collapsed = false;
14 column_meter_modes_0 = "3 1 1 1";
15 column_meter_modes_1 = "2 2 2 3 1 3 1 1 1 1";
16 column_meters_0 = "AllCPUs Memory Swap Zram";
17 column_meters_1 = "Systemd LoadAverage Uptime DiskIO DiskIO NetworkIO NetworkIO ZFSARC ZFSCARC PressureStallIOFull";
18 cpu_count_from_one = false;
19 degree_fahrenheit = false;
21 detailed_cpu_time = true;
23 find_comm_in_cmdline = true;
25 hide_function_bar = false;
26 hide_kernel_threads = false;
28 hide_userland_threads = true;
29 highlight_base_name = true;
30 highlight_changes = true;
31 highlight_changes_delay_secs = 5;
32 highlight_deleted_exe = true;
33 highlight_megabytes = true;
34 highlight_threads = true;
36 shadow_other_users = false;
37 show_cpu_frequency = true;
38 show_cpu_temperature = false;
39 show_cpu_usage = true;
40 show_merged_command = false;
41 show_program_path = false;
42 show_thread_names = false;
44 sort_key = 46; # PERCENT_CPU
45 strip_exe_from_cmdline = true;
46 tree_sort_direction = 0;
47 tree_sort_key = 46; # PERCENT_CPU
49 tree_view_always_by_pid = false;
50 update_process_names = false;
53 PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
55 .tree_sort_key=PERCENT_CPU
57 .tree_view_always_by_pid=0
59 .tree_sort_direction=0
60 .all_branches_collapsed=0
63 PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE
67 .tree_view_always_by_pid=0
69 .tree_sort_direction=1
70 .all_branches_collapsed=0