Install Conky
$ touch /home/user/.conkyrc
$ vi .conkyrc # and add following details in ++++
$ conky &
user@server:~$ cat .conkyrc
##################Start of Config File##############################
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_left
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right
text_buffer_size 256
TEXT
${font openlogos:size=20}the${font Arial:size=20}${color Tan1}Server${color Ivory}Name${font openlogos:size=20}
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2} $font${color DimGray}
#$sysname $kernel $alignr $machine
Processor $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
Load $alignr $loadavg
#File System $alignr${fs_type}
Hostname $alignr $nodename
eth1 $alignr ${addr eth1}
${font Arial:bold:size=10}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2} $font${color DimGray}
CPU ${cpu cpu0}% ${cpubar cpu0}
$color${cpugraph cpu0 000000 0077ff}
#CPU1 ${cpu cpu1}% ${cpubar cpu1}
#CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${memgraph 000000 0077ff}
${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2} $font${color DimGray}
#IP on eth1 $alignr ${addr eth1}
Down: ${downspeed eth1} $alignr Up: ${upspeed eth1}
Downloaded: ${totaldown eth1} $alignr Uploaded: ${totalup eth1}
${downspeedgraph eth1 27,120 000000 0077ff 180} ${upspeedgraph eth1 27,120 000000 0077ff 25}
${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
HD IO: ${color lightgrey}${diskio} ${alignr}
${color #0077ff}${diskiograph 000000 0077ff}
#/disk $alignc ${fs_used /media/disk} / ${fs_size /media/disk} $alignr ${fs_free_perc /media/disk}%
#${fs_bar /media/disk}
#/disk-1 $alignc ${fs_used /media/disk-1} / ${fs_size /media/disk-1} $alignr ${fs_free_perc /media/disk-1}%
#${fs_bar /media/disk-1}
#Inbound: ${downspeed eth1} $alignr ${upspeed eth1}:Outbound
${font Arial:bold:size=10}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2} $font${color DimGray}
#$font${top_mem name 2}${alignr}${top mem 2} %
#$font${top_mem name 3}${alignr}${top mem 3} %
#$font${top_mem name 4}${alignr}${top mem 4} %
#$font${top_mem name 5}${alignr}${top mem 5} %
#$font${top_mem name 6}${alignr}${top mem 6} %
NAME $alignr PID CPU MEM
$font${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
$font${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
$font${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
$font${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
$font${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
$font${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
#${font Arial:bold:size=10}${color Tan2}WEATHER ${color DarkSlateGray}${hr 2} ${font}${color DimGray}
#${voffset -25}${font Weather:size=45}${execi 1800 conkyForecast –location=BEXX0008 –datatype=WF}
#${alignc 22}${voffset -60}${font Arial:bold:size=10}${color DimGray}${execi 1800 conkyForecast –location=BEXX0008 –datatype=HT}
#$font${voffset -55}${alignr}${color DimGray}Wind: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=WS}
#${alignr}${color DimGray}Humidity: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=HM}
#${alignr}${color DimGray}Precipitation: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=PC}
#${color DimGray}Sunrise: $alignr${execi 1800 conkyForecast –location=BEXX0008 –datatype=SR}${alignr}
#Sunset: $alignr${execi 1800 conkyForecast –location=BEXX0008 –datatype=SS}$color
#${font Arial:bold:size=10}${color Tan2}MUSIC ${color DarkSlateGray}${hr 2} ${color DimGray}
#$font${if_running mpd}
#${font Arial:bold:size=10}${color Tan2}TIME ${color DarkSlateGray}${hr 2}
#${color DarkSlateGray} ${font :size=30}$alignc${time %H:%Mh}
#${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
#${font :bold:size=8}$alignc${time %A}
#$endif
############################END Config##############################
See latest updates to conky config on below blog.
http://blog.kamranshah.com/2011/09/install-and-configure-conky-stats.html
$ sudo apt-get install conky -y
$ touch /home/user/.conkyrc
$ vi .conkyrc # and add following details in ++++
$ conky &
user@server:~$ cat .conkyrc
##################Start of Config File##############################
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_left
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right
text_buffer_size 256
TEXT
${font openlogos:size=20}the${font Arial:size=20}${color Tan1}Server${color Ivory}Name${font openlogos:size=20}
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2} $font${color DimGray}
#$sysname $kernel $alignr $machine
Processor $alignr${freq_g cpu0}Ghz
Uptime $alignr${uptime}
Load $alignr $loadavg
#File System $alignr${fs_type}
Hostname $alignr $nodename
eth1 $alignr ${addr eth1}
${font Arial:bold:size=10}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2} $font${color DimGray}
CPU ${cpu cpu0}% ${cpubar cpu0}
$color${cpugraph cpu0 000000 0077ff}
#CPU1 ${cpu cpu1}% ${cpubar cpu1}
#CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${memgraph 000000 0077ff}
${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2} $font${color DimGray}
#IP on eth1 $alignr ${addr eth1}
Down: ${downspeed eth1} $alignr Up: ${upspeed eth1}
Downloaded: ${totaldown eth1} $alignr Uploaded: ${totalup eth1}
${downspeedgraph eth1 27,120 000000 0077ff 180} ${upspeedgraph eth1 27,120 000000 0077ff 25}
${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
HD IO: ${color lightgrey}${diskio} ${alignr}
${color #0077ff}${diskiograph 000000 0077ff}
#/disk $alignc ${fs_used /media/disk} / ${fs_size /media/disk} $alignr ${fs_free_perc /media/disk}%
#${fs_bar /media/disk}
#/disk-1 $alignc ${fs_used /media/disk-1} / ${fs_size /media/disk-1} $alignr ${fs_free_perc /media/disk-1}%
#${fs_bar /media/disk-1}
#Inbound: ${downspeed eth1} $alignr ${upspeed eth1}:Outbound
${font Arial:bold:size=10}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2} $font${color DimGray}
#$font${top_mem name 2}${alignr}${top mem 2} %
#$font${top_mem name 3}${alignr}${top mem 3} %
#$font${top_mem name 4}${alignr}${top mem 4} %
#$font${top_mem name 5}${alignr}${top mem 5} %
#$font${top_mem name 6}${alignr}${top mem 6} %
NAME $alignr PID CPU MEM
$font${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}
$font${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
$font${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
$font${top name 4} $alignr ${top pid 4} ${top cpu 4} ${top mem 4}
$font${top name 5} $alignr ${top pid 5} ${top cpu 5} ${top mem 5}
$font${top name 6} $alignr ${top pid 6} ${top cpu 6} ${top mem 6}
#${font Arial:bold:size=10}${color Tan2}WEATHER ${color DarkSlateGray}${hr 2} ${font}${color DimGray}
#${voffset -25}${font Weather:size=45}${execi 1800 conkyForecast –location=BEXX0008 –datatype=WF}
#${alignc 22}${voffset -60}${font Arial:bold:size=10}${color DimGray}${execi 1800 conkyForecast –location=BEXX0008 –datatype=HT}
#$font${voffset -55}${alignr}${color DimGray}Wind: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=WS}
#${alignr}${color DimGray}Humidity: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=HM}
#${alignr}${color DimGray}Precipitation: ${execi 1800 conkyForecast –location=BEXX0008 –datatype=PC}
#${color DimGray}Sunrise: $alignr${execi 1800 conkyForecast –location=BEXX0008 –datatype=SR}${alignr}
#Sunset: $alignr${execi 1800 conkyForecast –location=BEXX0008 –datatype=SS}$color
#${font Arial:bold:size=10}${color Tan2}MUSIC ${color DarkSlateGray}${hr 2} ${color DimGray}
#$font${if_running mpd}
#${font Arial:bold:size=10}${color Tan2}TIME ${color DarkSlateGray}${hr 2}
#${color DarkSlateGray} ${font :size=30}$alignc${time %H:%Mh}
#${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
#${font :bold:size=8}$alignc${time %A}
#$endif
############################END Config##############################
See latest updates to conky config on below blog.
http://blog.kamranshah.com/2011/09/install-and-configure-conky-stats.html