===== Conky sous GNU/LINUX ===== === installation === apt-get install conky Installer les outils de mesures de températures: apt-get install lm-sensors hddtemp Après son installation, on peut personnaliser le fichier de configuration qui s'appel : conky.conf === Mon fichier de configuration === nano /etc/conky/conky.conf alignment top_right background no border_width 0 cpu_avg_samples 2 default_color white default_outline_color white default_shade_color white draw_borders no draw_graph_borders yes draw_outline no draw_shades no use_xft yes xftfont Monospace:size=10 gap_x 10 gap_y 10 maximum_width 300 minimum_size 5 5 net_avg_samples 2 no_buffers no double_buffer yes out_to_console no out_to_stderr no extra_newline no own_window yes own_window_transparent yes own_window_class Conky own_window_type desktop stippled_borders 0 update_interval 3 uppercase no use_spacer none show_graph_scale no show_graph_range no TEXT ${color #7f8c8d}${alignc}----- Hardware ----- $alignc $color ${color grey}RAM:$color $mem - $memperc% ${color grey} Swap:$color $swap - $swapperc% ${color grey}CPU:$color $cpu% ${color grey} Proc:$color $processes ${color grey}Run:$color $running_processes ${color grey}HDD:$color ${fs_used} - ${texeci 300 hddtemp /dev/sda}° ${fs_bar 4} ${color grey}CPU :$color ${hwmon 1 temp 2}° ${color grey}M/B :$color ${hwmon 1 temp 1}° $hr ${color #7f8c8d}${alignc}----- Network(s) ----- $alignc $color ${color grey}Pub:$color ${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1} ${color grey}Pass:$color ${texeci 1200 traceroute 212.129.0.109 -m 1 | cut -d \( -f 1 | cut -c 5-20 | grep '^[0-9]'} ${color grey}Eth0:$color ${texeci 1200 ifconfig eth0 | grep -e "Bcast" | cut -c 20-33} ${downspeed eth0}▼ ${upspeed eth0}▲ $hr ${color #7f8c8d}${alignc}----- Most processus used ----- $alignc $color ${top name 1} ${top pid 1} ${top cpu 1}% ${top mem 1}% ${top name 2} ${top pid 2} ${top cpu 2}% ${top mem 2}% $hr ${color #7f8c8d}${alignc}----- Monitoring ----- $alignc $color ${color grey}bruno-tatu.com:$color HTTP (${if_match ${texeci 600 curl -I http://bruno-tatu.com | grep HTTP | cut -c 9-12} != 200} ${color red}Error$color ${else} OK $endif) ${color grey}www.start-it.fr:$color HTTP (${if_match ${texeci 600 curl -I http://www.start-it.fr | grep HTTP | cut -c 9-12} != 200} ${color red}Error$color ${else} OK $endif) ${color grey}la-pince-creative.fr:$color HTTP (${if_match ${texeci 600 curl -I http://la-pince-creative.fr | grep HTTP | cut -c 9-12} != 200} ${color red}Error$color ${else} Ok $endif)