From 0e16cdb7ab7d5b6ef658ea075e7f8709c6bb6e4d Mon Sep 17 00:00:00 2001 From: dbroqua Date: Thu, 7 Jan 2021 20:36:09 +0100 Subject: [PATCH] Updated bpytop --- .gitignore | 1 + config/bpytop/bpytop.conf | 23 +++++++++++++++-------- config/bpytop/error.log | 6 ------ 3 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 config/bpytop/error.log diff --git a/.gitignore b/.gitignore index 8f9098d..cae2f69 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ config/i3/wallpaper dotfiles/vim/plugged dotfiles/vim/autoload/plug.vim config/gtk-3.0/bookmarks +config/bpytop/error.log diff --git a/config/bpytop/bpytop.conf b/config/bpytop/bpytop.conf index bfc6555..be3becf 100644 --- a/config/bpytop/bpytop.conf +++ b/config/bpytop/bpytop.conf @@ -1,11 +1,11 @@ -#? Config file for bpytop v. 1.0.43 +#? Config file for bpytop v. 1.0.54 #* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme. #* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai" color_theme="nord" #* If the theme set background should be shown, set to False if you want terminal background transparency -theme_background=False +theme_background=True #* Set bpytop view mode, "full" for everything shown, "proc" for cpu stats and processes, "stat" for cpu, mem, disks and net stats shown. view_mode=full @@ -13,9 +13,13 @@ view_mode=full #* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs. update_ms=2000 +#* Processes update multiplier, sets how often the process list is updated as a multiplier of "update_ms". +#* Set to 2 or higher to greatly decrease bpytop cpu usage. (Only integers) +proc_update_mult=2 + #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive", #* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly. -proc_sorting="program" +proc_sorting="cpu lazy" #* Reverse sorting order, True or False. proc_reversed=False @@ -44,6 +48,9 @@ check_temp=True #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. cpu_sensor=Auto +#* Show temperatures for cpu cores also if check_temp is True and sensors has been found +show_coretemp=True + #* Draw a clock at top of screen, formatting according to strftime, empty string to disable. draw_clock="%X" @@ -53,8 +60,8 @@ background_update=True #* Custom cpu model name, empty string to disable. custom_cpu_name="" -#* Optional filter for shown disks, should be last folder in path of a mountpoint, "root" replaces "/", separate multiple values with comma. -#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=boot, home" +#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with a comma ",". +#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=/boot, /home/user" disks_filter="" #* Show graphs instead of meters for memory values. @@ -64,7 +71,7 @@ mem_graphs=True show_swap=True #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. -swap_disk=False +swap_disk=True #* If mem box should be split to also show disks info. show_disks=True @@ -83,13 +90,13 @@ net_sync=False net_color_fixed=False #* Show battery stats in top right if battery is present -show_battery=True +show_battery=False #* Show init screen at startup, the init screen is purely cosmetical show_init=True #* Enable check for new version from github.com/aristocratos/bpytop at start. -update_check=True +update_check=False #* Set loglevel for "~/.config/bpytop/error.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. diff --git a/config/bpytop/error.log b/config/bpytop/error.log deleted file mode 100644 index 214e4d3..0000000 --- a/config/bpytop/error.log +++ /dev/null @@ -1,6 +0,0 @@ -19/10/20 (16:22:23) | ERROR: Exception when sending signal 2 to pid 982 -19/10/20 (16:22:23) | ERROR: [Errno 1] Operation not permitted -Traceback (most recent call last): - File "/usr/local/lib/python3.7/dist-packages/bpytop.py", line 4683, in process_keys - os.kill(pid, sig) -PermissionError: [Errno 1] Operation not permitted