My Conky.

Conky is a lightweight system monitor for Linux. It is highly configurable and renders onto the x window directly.

Conky is so highly configurable it is worth googling for conky screenshots to find out just how varied people can make it; below is a screen shot of mine.

You will need to install conky and hdtemp.

sudo apt-get install conky hdtemp

Hdtemp will ask you if you would like it to be run as a boot up service and also which port. Say yes and accept the default port;7634.

Running conky is done by conky. It will by default pick up the config file from ~/.conkyrc if it exists if not it will use the default configuration file. Copy the configuration file into a text file in ~/.conkyrc

You will need to configure the params for hd partitions, wifi and ethernet interfaces if they vary from eth0, wifif and also if you don’t have partitions for / /home and /data like me.

You will also need to configure hdtemp entry. See the next post on how to do this.

update_interval 1
double_buffer yes

own_window no
#own_window_transparent yes
#own_window_colour black
#own_window_transparent yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

default_color black
no_buffers yes
alignment top_right
minimum_size 300 1000
maximum_size 300 1000
background no
use_spacer no
draw_borders no

border_margin 90
border_width 10
gap_x 10
gap_y 35

# Text stuff
draw_shades no
draw_outline no
uppercase no

# Font
use_xft yes
#xftfont dejavu sans condensed:style=condensed:size=12
xftfont liberation sans:size=9

# Colour
color0 black  #displayed values
color1 black  #headers
color2 black  #swap graph
color3 black  #disk graph
color4 black   #labels for values
color5 black   #cpugraphs for values

${font Radio Space:size=20}${alignc}${time %A}
${font Radio Space:size=20}${alignc}${time %d %b %Y}
${font Radio Space:size=45}${alignc}${time %H:%M}${font}
$color1${font sans:style=bold:size=9}System$font $hr
${color4}OS:$alignr$color0${pre_exec lsb_release -d | cut -c14-}
${color4}Kernel:$alignr$color0$sysname $kernel

$color1${font sans:style=bold:size=9}CPU$font $hr
${color4}CPU 1:$alignr$color0${cpu cpu1}%
$alignr${cpugraph cpu1 30,400 color5 color5}
${color4}CPU 2:$alignr$color0${cpu cpu2}%
$alignr${cpugraph cpu2 30,400 color5 color5}
${top name 1} $alignr${top cpu 1}%
${top name 2} $alignr${top cpu 2}%
${top name 3} $alignr${top cpu 3}%
${top name 4} $alignr${top cpu 4}%
${top name 5} $alignr${top cpu 5}%

$color1${font sans:style=bold:size=9}Memory$font $hr
${color4}RAM Usage: $alignr$color0$memperc% ($mem/$memmax)
${color4}Swap Usage:$alignr$color0$swapperc% ($swap/$swapmax)

${top_mem name 1} $alignr${top_mem mem 1}% (${top_mem mem_res 1})
${top_mem name 2} $alignr${top_mem mem 2}% (${top_mem mem_res 2})
${top_mem name 3} $alignr${top_mem mem 3}% (${top_mem mem_res 3})
${top_mem name 4} $alignr${top_mem mem 4}% (${top_mem mem_res 4})
${top_mem name 5} $alignr${top_mem mem 5}% (${top_mem mem_res 5})

$color1${font sans:style=bold:size=9}Disk$font $hr
${color4}Temperature:$alignr$color0${execi 300 nc localhost 7634  | cut -c24-25;}°C
${color4}/:$alignr$color0${fs_used_perc /}% (${fs_used /}/${fs_size /})
$color2${fs_bar /}$color0
${color4}/home:$alignr$color0${fs_used_perc /home}% (${fs_used /home}/${fs_size /home})
$color2${fs_bar /home}$color0
${color4}/data:$alignr$color0${fs_used_perc /data}% (${fs_used /data}/${fs_size /data})
$color2${fs_bar /data}$color0

$color1${font sans:style=bold:size=9}Network$font $hr
${color4}External IP:$alignr$color0${execi 300 curl ‘’}
${color4}Ethernet IP:$alignr$color0${addr eth0}
${color4}Wireless IP:$alignr$color0${addr wlan0}
${color4}Wifi Connection:$alignr$color0${wireless_essid wlan0}
${color4}Wifi Signal:$alignr$color0${wireless_link_qual_perc wlan0}%

${color4}Ethernet:${color4}Down: ${downspeed eth0}k/s (${totaldown eth0})${alignr}Up: ${upspeed eth0}k/s (${totalup eth0})
${color4}${downspeedgraph eth0 32,200}${alignr}${upspeedgraph eth0 32,200}

${color4}Wireless:${color4}Down: ${downspeed wlan0}k/s (${totaldown wlan0})${alignr}Up: ${upspeed wlan0}k/s (${totalup wlan0})
${color4}${downspeedgraph wlan0 32,200}${alignr} ${upspeedgraph wlan0 32,200}


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s