Adult life training inc banner
Menu
  • Home
  • Minutes
    • Minutes — Advisory Board
    • Minutes — Board of Directors
  • Ramsey+ Financial Peace
    • Introduction
    • Get your free Ramsey Plus Membership
    • Details for Managers
    • Sign Up for FPU Class
    • Get Coaching
    • Volunteer to Help
    • Underwriters
  • Computer Classes
    • Instructor Lead Classes
    • Individual Instruction
    • WIN System
    • Download Class Manuals
    • Creative Commons License
  • 501(c)(3) Info
    • Introduction
    • Determination Letter
    • Articles of Incorporation
    • Bylaws
  • Privacy Policy
  • About Us
    • Introduction
    • Contact Us
    • What we do
    • Mission Statement
    • Impact Statement
    • In Review – Year 2022
    • Board of Directors
      • John D. Nash, Jr.
      • Philip Lock
      • Jolene A. Nash
      • Paula Echols
      • John D. Nash, 3rd
    • Advisory Board
      • John D. Nash, Jr.
    • Non-Discrimination Policy
    • Conflict of Interest Policy
    • Effectiveness Assessment Policy
    • Funding Opportunities
    • Budget
    • Year to Date Financials
    • Last Year’s Financials
Menu

Sample .conkyrc file

Posted on September 15, 2019September 15, 2020 by John Nash

Conky Documentation can be found at http://conky.sourceforge.net/documentation.html.

conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'FFFFCC',
    default_outline_color = 'white',
    default_shade_color = 'gray',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font = 'Arial:size=9',
    gap_x = 5,
    gap_y = 6,
    minimum_height = 5,
    minimum_width = 200,
    maximum_width = 280,
    net_avg_samples = 2,
    no_buffers = true,
    double_buffer = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'panel',
    own_window_hints = 'undecorated',
    own_window_hints = 'below',
    own_window_hints = 'sticky',
    own_window_hints = 'skip_taskbar',
    own_window_hints = 'skip_pager',
    own_window_transparent= false,
    stippled_borders = 0,
    update_interval = 4.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}
conky.text = [[
${color FFAA00}SYSTEM ${hr 2}$color
$nodename $sysname $kernel on $machine
${color yellow}Kernel:${color } $kernel  ${color yellow}UpTime: ${color }$uptime
${color yellow}Users: ${color red}${font Verdana:style=bold:size=8}${exec users} ${font}${color}
${color FFAA00}BATTERY ${hr 2}$color
${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}
${color}Load: ${color green}${apcupsd_load}% ${color ivory} ${apcupsd_loadbar}${color}
${color FFAA00}Process Status ${hr 2}$color
     SSH: ${exec service ssh status | sed -n '/Active:/p' | cut -c 11-27}
 MySQL: ${exec service mysql status | sed -n '/Active:/p' | cut -c 11-27}
Apache: ${exec service apache2 status | sed -n '/Active:/p' | cut -c 11-27}
${color FFAA00}CPU ${cpu cpu0}% ${freq_g cpu0}GHz ${hwmon 1 temp 1}°C${hr 2}$color
#${color CC00CC}${font arial:bold:size=12}Total CPU: ${color 00CC00}${cpu cpu0}% ${freq_g cpu0}GHz  ${color 00FF00}${acpitemp}°C ${font}${color}
#${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} 
#${font arial:bold:size=12}${color 00CC00}CPU ${color 00FF00}${cpu cpu0}%${color 00CC00} ${freq_g cpu0}GHz ${color 00FF00}${hwmon 1 temp 1}°C${color} ${font}${color}
#Core 1: ${freq 1} MHz ${cpu cpu1}% ${color 597DB2}${cpubar cpu1}$color
#Core 2: ${freq 2} MHz ${cpu cpu2}% ${color 597DB2}${cpubar cpu2}$color
#Core 3: ${freq 3} MHz ${cpu cpu3}% ${color 597DB2}${cpubar cpu3}$color
#Core 4: ${freq 4} MHz ${cpu cpu4}% ${color 597DB2}${cpubar cpu4}$color
#Core 5: ${freq 5} MHz ${cpu cpu5}% ${color 597DB2}${cpubar cpu5}$color
#Core 6: ${freq 6} MHz ${cpu cpu6}% ${color 597DB2}${cpubar cpu6}$color
#
1: ${cpu cpu1}% ${color 597DB2}${cpubar cpu1 5,100}$color  2: ${cpu cpu2}% ${color 597DB2}${cpubar cpu2 5,100}$color
3: ${cpu cpu3}% ${color 597DB2}${cpubar cpu3 5,100}$color  4: ${cpu cpu4}% ${color 597DB2}${cpubar cpu4 5,100}$color
5: ${cpu cpu5}% ${color 597DB2}${cpubar cpu5 5,100}$color  6: ${cpu cpu6}% ${color 597DB2}${cpubar cpu6 5,100}$color
7: ${cpu cpu7}% ${color 597DB2}${cpubar cpu7 5,100}$color  8: ${cpu cpu8}% ${color 597DB2}${cpubar cpu8 5,100}$color
#
${alignr}${font fixed:size=10}NAME               PID    CPU%   MEM% 
${alignr}${color CCFFFF}${top name 1} ${top pid 1}    ${top cpu 1}     ${top mem 1} 
${alignr}${top name 2} ${top pid 2}    ${top cpu 2}     ${top mem 2} 
${alignr}${top name 3} ${top pid 3}    ${top cpu 3}     ${top mem 3} 
${alignr}${top name 4} ${top pid 4}    ${top cpu 4}     ${top mem 4} ${font}
#
${color FFAA00}MEMORY ${hr 2}$color
 RAM: ${color green}$memfree${color} Free of ${color green}$memmax${color} or ${color green}$memperc%${color} in use
${color FF6600} ${membar 6}$color
Swap: ${color green}$swapfree${color} Free of ${color green}$swapmax${color} or ${color green}$swapperc%${color} in use
${color FF6600} ${swapbar 6}$color
#
${color FFAA00}DISK ${hr 2}$color
/: ${color green}${fs_free /}$color Free of ${color green}${fs_size /}$color or ${color green}${fs_used_perc /}%$color in use
${color FF6600} ${fs_bar 6 /}$color
/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
${color FF6600} ${fs_bar 6 /a}$color
/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
${color FF6600} ${fs_bar 6 /a/Backups}$color
/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
${color FF6600} ${fs_bar 6 /vmware}$color
#/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
#${color FF6600} ${fs_bar 6 /nash_data}$color
${color FFAA00}NETWORK ${hr 2}$color
${exec cat wwraw.xme}
${color 00FF00}${font bold:size=9}${addr enp2s0}${font}$color Down: $color${downspeed enp2s0}/s ${alignr}Up: ${upspeed enp2s0}/s
${downspeedgraph enp2s0 25,140 000000 ff0000} ${alignr}${upspeedgraph enp2s0 25,140 000000 00ff00}$color
Total: ${totaldown enp2s0} ${alignr}Total: ${totalup enp2s0}
#
${color 00FF00}${font bold:size=9}${addr enp5s5f0}${font}$color Down: $color${downspeed enp5s5f0}/s ${alignr}Up: ${upspeed enp5s5f0}/s
${downspeedgraph enp5s5f0 25,140 000000 ff0000} ${alignr}${upspeedgraph enp5s5f0 25,140 000000 00ff00}$color
Total: ${totaldown enp5s5f0} ${alignr}Total: ${totalup enp5s5f0}
#
#${color 00FF00}${font bold:size=9}${addr enp5s5f1}${font}$color Down: $color${downspeed enp5s5f1}/s ${alignr}Up: ${upspeed enp5s5f1}/s
#${downspeedgraph enp5s5f1 25,140 000000 ff0000} ${alignr}${upspeedgraph enp5s5f1 25,140 000000 00ff00}$color
#Total: ${totaldown enp5s5f1} ${alignr}Total: ${totalup enp5s5f1}
Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}Total: ${tcp_portmon 1 65535 count}
${color FFAA00}WEATHER ${hr 2}$color${font Verdana:size=9}
#${execi 3600 curl -s w1.weather.gov/xml/current_obs/KFWA.xml > wwraw.txt}
#${execi 3600 wget -q --output-document="walerts.xml" http://alerts.weather.gov/cap/wwaatmget.php?x=INC003&y=0}
${color 00FF00}${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}${color}
${color 00FF00}${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}${color}
${color 888888}Wind: ${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}${color}
${color FFFF00}Humidity: ${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}% ${color}
${color 00FF00}Temperature: ${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}${color}
${color 888888}Dew Point: ${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1}${color}
${color 888888}Pressure: ${exec cat wwraw.xml | sed -n '//p' | cut -d'>' -f2 | cut -d'<' -f1} in Hg${color}${font}
${font Verdana:style=bold:size=10}Warnings:${font}${color}
${exec cat walerts.xml | sed -n '/\
Share on Social Media
x facebook pinterest linkedin tumblr reddit emailwhatsapptelegrammastodon
Category: General Information

Post navigation

← YTD Financials Posted
Server Side Weather data collection script for GNU/Linux →
Donations to Adult Life Training, Inc. are deductible under IRC Section 170.
Click for details


Dave Ramsey FPU


Office 365


WIN System


Indiana Career Connect


Indiana Uplink CS3 System

Ramsey+ is FREE for your family through a 3Rivers Foundation grant.

Racially nondiscriminatory policy

“The Adult Life Training, Inc. school admits students of any race, color, and national origin and ethnic origin to all the rights, privileges, programs, and activities generally accorded or made available to students at the school. It does not discriminate on the basis of race, color, national origin, and ethnic origin in administration of its educational policies, admission policies, scholarship and loan programs, and athletic or other school-administered programs.” (Rev. Proc. 75-50, 1975-2 C.B. 587 Section .01 Rev. Rul. 71-447)

Subscribers

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 Adult Life Training, Inc.
 

Loading Comments...
 

You must be logged in to post a comment.