Skip to content

Instantly share code, notes, and snippets.

@sekomer
Created October 9, 2022 09:58
Show Gist options
  • Save sekomer/d3c5c1e7a99d3005c2505ec9c1fd97b0 to your computer and use it in GitHub Desktop.
Save sekomer/d3c5c1e7a99d3005c2505ec9c1fd97b0 to your computer and use it in GitHub Desktop.
sekomer's conky configuration file for 12 core intel cpu, nvidia gpu machine
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# This file was modified by Neon Cipher (http://neoncipher.net)
#
# ███╗ ██╗███████╗ ██████╗ ███╗ ██╗
# ████╗ ██║██╔════╝██╔═══██╗████╗ ██║
# ██╔██╗ ██║█████╗ ██║ ██║██╔██╗ ██║
# ██║╚██╗██║██╔══╝ ██║ ██║██║╚██╗██║
# ██║ ╚████║███████╗╚██████╔╝██║ ╚████║
# ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═╝ ╚═══╝
#
# ██████╗██╗██████╗ ██╗ ██╗███████╗██████╗
# ██╔════╝██║██╔══██╗██║ ██║██╔════╝██╔══██╗
# ██║ ██║██████╔╝███████║█████╗ ██████╔╝
# ██║ ██║██╔═══╝ ██╔══██║██╔══╝ ██╔══██╗
# ╚██████╗██║██║ ██║ ██║███████╗██║ ██║
# ╚═════╝╚═╝╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
background yes
use_xft yes
xftfont 123:size=10
xftalpha 0.1
update_interval 1.25
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent no
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 0
double_buffer yes
minimum_size 240 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color gray
default_shade_color red
default_outline_color white
alignment top_right
gap_x 10
gap_y 10
stippled_borders 3
border_inner_margin 4
border_width 5
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
#override_utf8_locale yes
use_spacer right
text_buffer_size 256
TEXT
${font Arial:bold:size=10}${color #0000CD}${color #9806E1}LINUX KERNEL ${color #9806E1} ${hr 2}
$font${color Silver}$sysname $kernel $alignr $machine
#Date $alignr${time %A, %B %e}
#Time $alignr${time %I:%M:%S}
#Uptime $alignr${uptime_short}
#File System $alignr${fs_type}
${font Arial:bold:size=10}${color #0000CD}STORAGE ${color #0000CD}${hr 2}
$font${color Silver}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
#
${font Arial:bold:size=10}${color #00CD00}PROCESSORS ${color #00CD00}${hr 2}
$font${color Silver}Core(1) ${cpu cpu1}% ${cpubar cpu1}
Freq: ${freq 1}MHz
Core(2) ${cpu cpu2}% ${cpubar cpu2}
Freq: ${freq 2}MHz
Core(3) ${cpu cpu3}% ${cpubar cpu3}
Freq: ${freq 3}MHz
Core(4) ${cpu cpu4}% ${cpubar cpu4}
Freq: ${freq 4}MHz
Core(5) ${cpu cpu5}% ${cpubar cpu5}
Freq: ${freq 5}MHz
Core(6) ${cpu cpu6}% ${cpubar cpu6}
Freq: ${freq 6}MHz
Core(7) ${cpu cpu7}% ${cpubar cpu7}
Freq: ${freq 7}MHz
Core(8) ${cpu cpu8}% ${cpubar cpu8}
Freq: ${freq 8}MHz
Core(9) ${cpu cpu9}% ${cpubar cpu9}
Freq: ${freq 9}MHz9
Core(10) ${cpu cpu10}% ${cpubar cpu10}
Freq: ${freq 10}MHz
Core(11) ${cpu cpu11}% ${cpubar cpu11}
Freq: ${freq 11}MHz
Core(12) ${cpu cpu12}% ${cpubar cpu12}
Freq: ${freq 12}MHz
#
${font Arial:bold:size=10}${color #CD0000}CPU Temperature °C${color #CD0000}${hr 2}
$font${color DimGray}${color Silver}CPU1: ${hwmon 5 temp 1} CPU2: ${hwmon 5 temp 2} CPU3: ${hwmon 5 temp 3}
CPU4: ${hwmon 5 temp 4} CPU5: ${hwmon 5 temp 5} CPU6: ${hwmon 5 temp 6}
${font Arial:bold:size=10}${color #FCAF3E}CPU Mode: ${color #FC5F34}${exec cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}
#GPU Attributes:
${color1}${font sans-serif:bold:size=8}GPU's: ${hr 2}${font}
${color1}GPU 0: ${color #FCAF3E}${exec nvidia-smi -i 0 --query-gpu=gpu_name --format=csv,noheader,nounits} $color
${color1}Temperature ${color} ${execi 60 nvidia-settings -query [gpu:0]/GPUCoreTemp -t} °C
${color1}Utilization ${color} ${exec nvidia-smi -i 0 | grep % | cut -c 61-63} %
${color1}VRAM Utilization ${color} ${exec nvidia-smi -i 0| grep % | cut -c 37-40} MB
${color1}Power Draw ${color} ${exec nvidia-smi -i 0| grep % | cut -c 21-23} W
${font Arial:bold:size=10}${color #2454CD}MEMORY ${color ##2454CD2}
$font${color Silver}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
#${color #0000CD}Disk I/O: $color${diskio}
#${color DimGray}Read:
#${color DimGray}${diskiograph_read 20,250 DimGray DimGray 750}
#${color DimGray}Write:
#${color DimGray}${diskiograph_write 20,250 DimGray DimGray 750}
$font${color Silver}SWAP $alignc $swap / $swapmax $alignr $swapperc%
$swapbar
$font${color #00BFFF}Entropy: ${color}${entropy_avail}${color Silver}/${color}${entropy_poolsize} ${color Silver}${entropy_bar}
${font Arial:bold:size=10}${color #00CD00}PROCESSES ${color #00CD00}${hr 2}
$font${color #FF0000}TOTAL: ${color}$alignr${processes}
#
${font Arial:bold:size=10}${color #7470CD}Max_MEMORY ${color #7470CD}${hr 2}
${color Silver}$font${top_mem name 1}${alignr}${top_mem mem 1} %
$font${top_mem name 2}${alignr}${top_mem mem 2} %
$font${top_mem name 3}${alignr}${top_mem mem 3} %
${font Arial:bold:size=10}${color #7470CD}Max_CPU ${color #7470CD}${hr 2}
${color Silver}$font${top name 1}${alignr}${top cpu 1} %
$font${top name 2}${alignr}${top cpu 2} %
$font${top name 3}${alignr}${top cpu 3} %
@sekomer
Copy link
Author

sekomer commented Oct 9, 2022

this is how it looks
conky

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