~ strex
/.conkyrc
conkyrc monitoring all the usual, plus temps, net connections, gmail, rss, messages, and local news.
#conky configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window no
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
stippled_borders 4
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer yes
TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime: ${color #6699ff}$uptime ${color lightgrey}- Load:${color #6699ff}$loadavg
${color lightgrey}CPU Temp: ${color #6699ff}${execi 6 /usr/bin/sensors -f |grep CPU |awk '{ print $3 }'}${alignr}${color lightgrey}MB Te
mp: ${color #6699ff}${execi 6 /usr/bin/sensors -f |grep M/B |awk '{print $3}'}
${color lightgrey}CPU Usage:${color #6699ff} $cpu% ${cpubar}
${cpugraph 000000 6699ff}
${color lightgrey}RAM Usage:${color #6699ff}$mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:${color #6699ff}$swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:${color #6699ff}$processes ${color grey}Running:${color #6699ff}$running_processes
${color lightgrey} $stippled_hr
${color lightgrey}File systems:
/ ${color #6699ff}${fs_used /}/${fs_size /} ${color #6699ff} ${fs_bar /}
${color lightgrey}$stippled_hr
${color}Name PID CPU% MEM%
${color #6699ff} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #6699ff} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$stippled_hr
${color lightgrey}Networking:
Down:${color #6699ff} ${downspeed eth0} k/s${color lightgrey} ${offset 100}Up:${color #6699ff} ${upspeed eth0} k/s
${downspeedgraph eth0 22,175 000000 6699ff} ${upspeedgraph eth0 22,175 000000 6699ff}
$color#Port(s)${alignr}#Connections
$color Inbound: ${color #6699ff}${tcp_portmon 1 32767 count} $color Outbound: ${color #6699ff}${tcp_portmon 32768 61000 count}${alignr}
$color ALL: ${color #6699ff}${tcp_portmon 1 65535 count}
${color lightgrey}Inbound Connection ${alignr} Local Service/Port$color
${color #6699ff} ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${color #6699ff} ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${color lightgrey}Outbound Connection ${alignr} Remote Service/Port$color
${color #6699ff} ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${color #6699ff} ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${color lightgrey}MAIL $stippled_hr$color
${color #6699ff}${execi 120 /usr/bin/python ~/.conky/gmail.py}
${color lightgrey}LOGGING $stippled_hr$color
${color #6699ff}${execi 30 tail -n2 /var/log/messages | fold -w55}
${color lightgrey}WEATHER $stippled_hr$color
${color #6699ff}${execi 120 ~/.conky/weather/weather.sh 85044}
${color lightgrey}LOCAL NEWS $stippled_hr$color
${color #6699ff}${execi 300 ~/.conky/conky-rss.sh http://www.abc15.com/rss/704.rss 4 2}