My /home is on a LVM partition. Strangely it only shows the first part of the LVM in total space. vgdisplay shows the total. Guess I don't really need full space in conky, just how much used. Like the weather script, just changed location to mine, KIND, and it works great. I never show swap since the machine never seems to use it. Have 16Gb ram, so probably the reason.
CPU and MB temp disagree with Hardware sensors indicator. Not sure where to get the right temp readings from.
Current .conkyrc is
Commented sections I am (obviously) not using. Most of config 'stolen' from other configs I have found here and there
CPU and MB temp disagree with Hardware sensors indicator. Not sure where to get the right temp readings from.
Current .conkyrc is
Code:
background yes use_xft yes xftfont Sans:size=10 xftalpha 1 update_interval 5.0 total_run_times 0 own_window yes own_window_transparent no own_window_type normal own_window_argb_visual yes own_window_argb_value 120 own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 200 maximum_width 370 draw_shades yes draw_outline no draw_borders no draw_graph_borders yes default_color white default_shade_color black default_outline_color gray alignment top_right gap_x 12 gap_y 42 no_buffers yes uppercase no cpu_avg_samples 2 override_utf8_locale no #template0 (disks) template0 ${color 90DDC0}${font sans-serif:normal:size=10}\1 ${color gray}$alignc ${fs_used \2} / ${fs_size \2} / ${fs_type \2} ${color white}$alignr ${fs_used_perc \2}% TEXT ### General ### ${color FFFFFF}${font sans-serif:bold:size-=10}SYSTEM ${color 8888FF}${hr 2} ${color gray}${font sans-serif:normal:size-=10}$sysname $kernel $alignr ${color 90DDC0}$machine ${color gray}Host:${color 90DDC0}$alignr$nodename ${color gray}OS:${color 90DDC0}$alignr${execi 6000 cat /etc/os-release|grep 'PRETTY_NAME'|sed 's/PRETTY_NAME="//'|sed 's/"//'} ${color gray}GUI:${color 90DDC0}$alignr${execi 6000 konsole -version|grep 'KDE' |awk '{print $1" "$4}'} ${color gray}Uptime:${color 90DDC0}$alignr$uptime_short # ${color gray}Load: ${color 90DDC0}${alignr}${loadavg 1}, ${loadavg 2}, ${loadavg 3} ### Processor ### ${color FFFFFF}${font sans-serif:bold:size-=10}PROCESSOR ${color 8888FF}${hr 2} ${font sans-serif:normal:size=9}${color gray}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq} ${font sans-serif:bold:size-=10}${color 90DDC0}Processes: ${color gray}$processes ${alignr}${color 90DDC0}Running: ${color gray}$running_processes ${color #ff6600}${cpubar cpu1 3,120} ${offset 10}${color #cc0033}${cpubar cpu2 3,120}$color ${color gray}${cpugraph cpu1 26,120 000000 ff6600 -t} ${offset 10}${cpugraph cpu2 26,120 000000 cc0033 -t} ${font sans-serif:normal:size-=10}${color 90DDC0}CPU Total Usage: $alignr ${color FFFFFF}${cpu cpu0}% ${font sans-serif:normal:size-=10}${color 90DDC0}CPU FAN Speed: $alignr ${color FFFFFF}${exec sensors|grep 'CPU FAN Speed'|awk '{print $4}'} RPM ${font sans-serif:normal:size-=10}${color 90DDC0}CPU Temperature: $alignr ${color FFFFFF}${iconv_start UTF-8 ISO_8859-1}${exec sensors|grep 'CPU Temp'|awk '{print $3}'} ${iconv_stop} ${font sans-serif:normal:size-=10}${color 90DDC0}MB Temperature: $alignr ${color FFFFFF}${iconv_start UTF-8 ISO_8859-1}${exec sensors|grep 'MB Temperature'|awk '{print $3}'} ${iconv_stop} ### Video ### ${color FFFFFF}${font sans-serif:bold:size-=10}VIDEO ${color 8888FF}${hr 2} ${color 90DDC0}${font sans-serif:normal:size-=10}NVidia GeForce GPU ${color FFFFFF}$alignr ${nvidia gpufreq} Mhz ${color 90DDC0}${font sans-serif:normal:size-=10}NVidia Memory ${color FFFFFF}$alignr ${nvidia memfreq} Mhz ${color 90DDC0}${font sans-serif:normal:size-=10}GPU Temperature ${color FEF606}$alignr ${nvidia temp} ${iconv_start UTF-8 ISO_8859-1}°C ${iconv_stop} # ${color 90DDC0}${font sans-serif:normal:size-=10}GPU Temperature Threshold${color FFFFFF}$alignr ${nvidia threshold} ${iconv_start UTF-8 ISO_8859-1}°C ${iconv_stop} ### Memory ### ${color FFFFFF}${font sans-serif:bold:size-=10}MEMORY ${color 8888FF}${hr 2} ${color 90DDC0}${font sans-serif:normal:size-=10}RAM ${color gray}$alignc $mem / $memmax ${color FFFFFF}$alignr $memperc% ${color 80E0A0}$membar #${color 90DDC0}${font sans-serif:normal:size-=10}SWAP ${color gray}$alignc $swap / #$swapmax ${color FFFFFF}$alignr $swapperc% #${color 80E0A0}$swapbar ### Disk space ### ${color FFFFFF}${font sans-serif:bold:size-=10}DISKS ${color 8888FF}${hr 2} ${template0 Root /} ${color 80E0A0}${fs_bar /} ${template0 Home /home} ${color 80E0A0}${fs_bar /home} ###Top CpU ### ${color FFFFFF}${font sans-serif:bold:size-=10}TOP PROCESSES ${color 8888FF}${hr 2} ${color gray}${font sans-serif:normal:size-=10}${top name 1}${color 90DDC0}${alignr}${top cpu 1} % ${color gray}${top name 2}${color 90DDC0}${alignr}${top cpu 2} % ${color gray}$font${top name 3}${color 90DDC0}${alignr}${top cpu 3} % ${color gray}$font${top name 4}${color 90DDC0}${alignr}${top cpu 4} % #${color gray}$font${top name 5}${color 90DDC0}${alignr}${top cpu 5} % ### Network ### ${color FFFFFF}${font sans-serif:bold:size-=10}NETWORK ${color 8888FF}${hr 2} ${color gray}${font sans-serif:normal:size-=10}IP address: ${color 90DDC0}$alignr ${addr eth0} ${color gray}Download:${color 90DDC0}${downspeedf eth0} kB/s${alignr}${color gray}Upload:${color 90DDC0}${upspeedf eth0} kB/s ${color gray}${downspeedgraph eth0 26,120 000000 009933 -t} ${offset 10}${color gray}${upspeedgraph eth0 26,120 000000 0000FF -t} ${color gray}Total Down:${color 90DDC0}${totaldown eth0} ${alignr}${color gray}Total Up:${color 90DDC0}${totalup eth0} ${color 90DDC0}Inbound: ${color gray}${tcp_portmon 1 32767 count}${alignc -36}${color 90DDC0}Outbound: ${color gray}${tcp_portmon 32768 61000 count}${alignr}${color 90DDC0}Total: ${color gray}${tcp_portmon 1 65535 count} ######### WX #################### ${color CC9900}${font Arial:style=Bold}LOCAL WX${hr 1}$color$font ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |grep 'LIN'|awk '{print $1,$2,$3,$7}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 2p|awk '{print $1,$2,$3,$4,$5,$6,$7}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 3p|awk '{print $1,$2,$5,$6,$7,$8,$9}'} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 5p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 6p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 7p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 8p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 9p} ${execi 3600 curl -s http://weather.noaa.gov/pub/data/observations/metar/decoded/KIND.TXT |sed -n 10p|awk '{print $1,$2,$3,$4}'}
Comment