{"id":7043,"date":"2019-09-15T20:08:19","date_gmt":"2019-09-16T00:08:19","guid":{"rendered":"https:\/\/alt-fw.org\/public\/?p=7043"},"modified":"2020-09-15T22:50:20","modified_gmt":"2020-09-16T02:50:20","slug":"sample-conkyrc-file","status":"publish","type":"post","link":"https:\/\/alt-fw.org\/public\/?p=7043","title":{"rendered":"Sample .conkyrc file"},"content":{"rendered":"<p><a href=\"http:\/\/conky.sourceforge.net\/documentation.html\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"7044\" data-permalink=\"https:\/\/alt-fw.org\/public\/?attachment_id=7044\" data-orig-file=\"https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?fit=295%2C1080&amp;ssl=1\" data-orig-size=\"295,1080\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"sample conky file\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?fit=295%2C1080&amp;ssl=1\" class=\"alignleft wp-image-7044 size-full\" src=\"https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?resize=295%2C1080&#038;ssl=1\" alt=\"\" width=\"295\" height=\"1080\" srcset=\"https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?w=295&amp;ssl=1 295w, https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?resize=82%2C300&amp;ssl=1 82w, https:\/\/i0.wp.com\/alt-fw.org\/public\/wp-content\/uploads\/2020\/09\/sample-conky-file.png?resize=41%2C150&amp;ssl=1 41w\" sizes=\"auto, (max-width: 295px) 100vw, 295px\" \/><\/a>Conky Documentation can be found at <a href=\"http:\/\/conky.sourceforge.net\/documentation.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/conky.sourceforge.net\/documentation.html<\/a>.<\/p>\n<pre>conky.config = {\r\n    alignment = 'top_right',\r\n    background = true,\r\n    border_width = 1,\r\n    cpu_avg_samples = 2,\r\n    default_color = 'FFFFCC',\r\n    default_outline_color = 'white',\r\n    default_shade_color = 'gray',\r\n    draw_borders = false,\r\n    draw_graph_borders = true,\r\n    draw_outline = false,\r\n    draw_shades = false,\r\n    use_xft = true,\r\n    font = 'Arial:size=9',\r\n    gap_x = 5,\r\n    gap_y = 6,\r\n    minimum_height = 5,\r\n    minimum_width = 200,\r\n    maximum_width = 280,\r\n    net_avg_samples = 2,\r\n    no_buffers = true,\r\n    double_buffer = true,\r\n    out_to_console = false,\r\n    out_to_stderr = false,\r\n    extra_newline = false,\r\n    own_window = true,\r\n    own_window_class = 'Conky',\r\n    own_window_type = 'panel',\r\n    own_window_hints = 'undecorated',\r\n    own_window_hints = 'below',\r\n    own_window_hints = 'sticky',\r\n    own_window_hints = 'skip_taskbar',\r\n    own_window_hints = 'skip_pager',\r\n    own_window_transparent= false,\r\n    stippled_borders = 0,\r\n    update_interval = 4.0,\r\n    uppercase = false,\r\n    use_spacer = 'none',\r\n    show_graph_scale = false,\r\n    show_graph_range = false\r\n}\r\nconky.text = [[\r\n${color FFAA00}SYSTEM ${hr 2}$color\r\n$nodename $sysname $kernel on $machine\r\n${color yellow}Kernel:${color } $kernel  ${color yellow}UpTime: ${color }$uptime\r\n${color yellow}Users: ${color red}${font Verdana:style=bold:size=8}${exec users} ${font}${color}\r\n${color FFAA00}BATTERY ${hr 2}$color\r\n${apcupsd localhost 3551}${color}Line: ${color green}${apcupsd_linev} ${color AAAAFF}VAC${color} Time: ${color green}${apcupsd_timeleft} ${color AAAAFF}min ${color}Charge: ${color green}${apcupsd_charge}%${color}\r\n${color}Load: ${color green}${apcupsd_load}% ${color ivory} ${apcupsd_loadbar}${color}\r\n${color FFAA00}Process Status ${hr 2}$color\r\n     SSH: ${exec service ssh status | sed -n '\/Active:\/p' | cut -c 11-27}\r\n MySQL: ${exec service mysql status | sed -n '\/Active:\/p' | cut -c 11-27}\r\nApache: ${exec service apache2 status | sed -n '\/Active:\/p' | cut -c 11-27}\r\n${color FFAA00}CPU ${cpu cpu0}% ${freq_g cpu0}GHz ${hwmon 1 temp 1}\u00b0C${hr 2}$color\r\n#${color CC00CC}${font arial:bold:size=12}Total CPU: ${color 00CC00}${cpu cpu0}% ${freq_g cpu0}GHz  ${color 00FF00}${acpitemp}\u00b0C ${font}${color}\r\n#${color CC00CC}${font arial:bold:size=12}Total CPU: ${color 00CC00}${cpu cpu0}% ${freq_g cpu0}GHz ${color 00FF00}${exec sensors | grep 'CPU Temperature:' | cut -c19-28} MB:${color 00FF00}${exec sensors | grep 'MB Temperature:' | cut -c19-28} ${font}${color} \r\n#${font arial:bold:size=12}${color 00CC00}CPU ${color 00FF00}${cpu cpu0}%${color 00CC00} ${freq_g cpu0}GHz ${color 00FF00}${hwmon 1 temp 1}\u00b0C${color} ${font}${color}\r\n#Core 1: ${freq 1} MHz ${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color\r\n#Core 2: ${freq 2} MHz ${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color\r\n#Core 3: ${freq 3} MHz ${cpu cpu3}% ${color 597DB2}${cpubar cpu3}$color\r\n#Core 4: ${freq 4} MHz ${cpu cpu4}% ${color 597DB2}${cpubar cpu4}$color\r\n#Core 5: ${freq 5} MHz ${cpu cpu5}% ${color 597DB2}${cpubar cpu5}$color\r\n#Core 6: ${freq 6} MHz ${cpu cpu6}% ${color 597DB2}${cpubar cpu6}$color\r\n#\r\n1: ${cpu cpu1}% ${color 597DB2}${cpubar cpu1 5,100}$color  2: ${cpu cpu2}% ${color 597DB2}${cpubar cpu2 5,100}$color\r\n3: ${cpu cpu3}% ${color 597DB2}${cpubar cpu3 5,100}$color  4: ${cpu cpu4}% ${color 597DB2}${cpubar cpu4 5,100}$color\r\n5: ${cpu cpu5}% ${color 597DB2}${cpubar cpu5 5,100}$color  6: ${cpu cpu6}% ${color 597DB2}${cpubar cpu6 5,100}$color\r\n7: ${cpu cpu7}% ${color 597DB2}${cpubar cpu7 5,100}$color  8: ${cpu cpu8}% ${color 597DB2}${cpubar cpu8 5,100}$color\r\n#\r\n${alignr}${font fixed:size=10}NAME               PID    CPU%   MEM% \r\n${alignr}${color CCFFFF}${top name 1} ${top pid 1}    ${top cpu 1}     ${top mem 1} \r\n${alignr}${top name 2} ${top pid 2}    ${top cpu 2}     ${top mem 2} \r\n${alignr}${top name 3} ${top pid 3}    ${top cpu 3}     ${top mem 3} \r\n${alignr}${top name 4} ${top pid 4}    ${top cpu 4}     ${top mem 4} ${font}\r\n#\r\n${color FFAA00}MEMORY ${hr 2}$color\r\n RAM: ${color green}$memfree${color} Free of ${color green}$memmax${color} or ${color green}$memperc%${color} in use\r\n${color FF6600} ${membar 6}$color\r\nSwap: ${color green}$swapfree${color} Free of ${color green}$swapmax${color} or ${color green}$swapperc%${color} in use\r\n${color FF6600} ${swapbar 6}$color\r\n#\r\n${color FFAA00}DISK ${hr 2}$color\r\n\/: ${color green}${fs_free \/}$color Free of ${color green}${fs_size \/}$color or ${color green}${fs_used_perc \/}%$color in use\r\n${color FF6600} ${fs_bar 6 \/}$color\r\n\/a: ${color green}${fs_free \/a}$color Free of ${color green}${fs_size \/a}$color or ${color green}${fs_used_perc \/a}%$color in use\r\n${color FF6600} ${fs_bar 6 \/a}$color\r\n\/a\/Backups: ${color green}${fs_free \/a\/Backups}$color Free of ${color green}${fs_size \/a\/Backups}$color or ${color green}${fs_used_perc \/a\/Backups}%$color in use\r\n${color FF6600} ${fs_bar 6 \/a\/Backups}$color\r\n\/vmware: ${color green}${fs_free \/vmware}$color Free of ${color green}${fs_size \/vmware}$color or ${color green}${fs_used_perc \/vmware}%$color in use\r\n${color FF6600} ${fs_bar 6 \/vmware}$color\r\n#\/nash_data: ${color green}${fs_free \/nash_data}$color Free of ${color green}${fs_size \/nash_data}$color or ${color green}${fs_used_perc \/nash_data}%$color in use\r\n#${color FF6600} ${fs_bar 6 \/nash_data}$color\r\n${color FFAA00}NETWORK ${hr 2}$color\r\n${exec cat wwraw.xme}\r\n${color 00FF00}${font bold:size=9}${addr enp2s0}${font}$color Down: $color${downspeed enp2s0}\/s ${alignr}Up: ${upspeed enp2s0}\/s\r\n${downspeedgraph enp2s0 25,140 000000 ff0000} ${alignr}${upspeedgraph enp2s0 25,140 000000 00ff00}$color\r\nTotal: ${totaldown enp2s0} ${alignr}Total: ${totalup enp2s0}\r\n#\r\n${color 00FF00}${font bold:size=9}${addr enp5s5f0}${font}$color Down: $color${downspeed enp5s5f0}\/s ${alignr}Up: ${upspeed enp5s5f0}\/s\r\n${downspeedgraph enp5s5f0 25,140 000000 ff0000} ${alignr}${upspeedgraph enp5s5f0 25,140 000000 00ff00}$color\r\nTotal: ${totaldown enp5s5f0} ${alignr}Total: ${totalup enp5s5f0}\r\n#\r\n#${color 00FF00}${font bold:size=9}${addr enp5s5f1}${font}$color Down: $color${downspeed enp5s5f1}\/s ${alignr}Up: ${upspeed enp5s5f1}\/s\r\n#${downspeedgraph enp5s5f1 25,140 000000 ff0000} ${alignr}${upspeedgraph enp5s5f1 25,140 000000 00ff00}$color\r\n#Total: ${totaldown enp5s5f1} ${alignr}Total: ${totalup enp5s5f1}\r\nInbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}\r\n${color FFAA00}WEATHER ${hr 2}$color${font Verdana:size=9}\r\n#${execi 3600 curl -s w1.weather.gov\/xml\/current_obs\/KFWA.xml &gt; wwraw.txt}\r\n#${execi 3600 wget -q --output-document=\"walerts.xml\" http:\/\/alerts.weather.gov\/cap\/wwaatmget.php?x=INC003&amp;y=0}\r\n${color 00FF00}${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}${color}\r\n${color 00FF00}${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}${color}\r\n${color 888888}Wind: ${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}${color}\r\n${color FFFF00}Humidity: ${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}% ${color}\r\n${color 00FF00}Temperature: ${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}${color}\r\n${color 888888}Dew Point: ${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1}${color}\r\n${color 888888}Pressure: ${exec cat wwraw.xml | sed -n '\/\/p' | cut -d'&gt;' -f2 | cut -d'&lt;' -f1} in Hg${color}${font}\r\n${font Verdana:style=bold:size=10}Warnings:${font}${color}\r\n${exec cat walerts.xml | sed -n '\/\\<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Sample .conkyrc file<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[33],"tags":[1614],"class_list":["post-7043","post","type-post","status-publish","format-standard","hentry","category-general-information","tag-conky-conkyrc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p3sKnr-1PB","_links":{"self":[{"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/posts\/7043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7043"}],"version-history":[{"count":1,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/posts\/7043\/revisions"}],"predecessor-version":[{"id":7045,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=\/wp\/v2\/posts\/7043\/revisions\/7045"}],"wp:attachment":[{"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alt-fw.org\/public\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}