Conky
Un article de Tifauve|NET.
Conky
Conky est une petite application très légère, lancée en tâche de fond, permettant de monitorer facilement le système, avec des compteurs personnalisés.
Voici ce que cela rend sur mon poste au 10/11/2008, avec deux colonnes d'indicateurs
avec les deux fichiers de configuration suivants:
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Terminal Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
#on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_colour black
own_window yes
own_window_type normal
#own_window_hints undecorated
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 390
gap_y 34
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}df913f
TEXT
${font Dungeon:style=Bold:pixelsize=12}
${color #ffffff}Réseau ${hr 2}$color
${color #df7505}Ethernet:${alignr}DL :${color #af3b12} ${totaldown wlan0} ${color #df7505}/ UP :${color #af3b12} ${totalup wlan0}
${color #df7505}Adresse IP locale: ${color #af3b12}${addr wlan0}
${color #df7505}Adresse IP externe: ${color #af3b12}${execi 600 mono /home/tifauve/scripts/GetMyIP/GetMyIP.exe}
${color #df7505}Down :${color #af3b12} ${downspeed wlan0} k/s${color #df7505} ${offset 70}Up:${color #af3b12} ${upspeed wlan0} k/s
${color #af3b12}${downspeedgraph wlan0 25,150 df7505 df913f} $alignr${color #af3b12}${upspeedgraph wlan0 25,150 df7505 df913f}
${color #ffffff}Consommation ${hr 2}$color
${color #df7505}Usage (Moy):${color #af3b12} ${cpu cpu0}% ${alignr}${color #af3b12}${cpubar cpu0 5,150}
${color #df7505}Usage (Core 1):${color #af3b12} ${cpu cpu1}% ${alignr}${color #af3b12}${cpubar cpu1 5,150}
${color #df7505}Usage (Core 2):${color #af3b12} ${cpu cpu2}% ${alignr}${color #af3b12}${cpubar cpu2 5,150}
${color #df7505}Core 1 ${offset 110} Core 2
${color #af3b12}${cpugraph cpu1 25,150 df7505 df913f} ${color #af3b12} $alignr${color #af3b12}${cpugraph cpu2 25,150 df7505 df913f}
${color #df7505}Liste des processus gourmants:
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}CPU%
${offset 80}${color #af3b12}${top name 1} ${alignr 30}${top pid 1} ${alignr 15}${top cpu 1}
${offset 80}${color #888888}${top name 2} ${alignr 30}${top pid 2} ${alignr 15}${top cpu 2}
${offset 80}${color #888888}${top name 3} ${alignr 30}${top pid 3} ${alignr 15}${top cpu 3}
${offset 80}${color #888888}${top name 4} ${alignr 30}${top pid 4} ${alignr 15}${top cpu 4}
${offset 80}${color #888888}${top name 5} ${alignr 30}${top pid 5} ${alignr 15}${top cpu 5}
${color #df7505}Batterie : ${color #af3b12}${battery_percent BAT0} % ${color #af3b12}${battery_bar BAT0}
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Terminal Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
#on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_colour black
own_window yes
own_window_type normal
#own_window_hints undecorated
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
maximum_width 310
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 31
gap_y 34
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
TEXT
${font Dungeon:style=Bold:pixelsize=12}
${color #ffffff}Occupation mémoire ${hr 2}$color
${color lightgrey}ram : ${color #88bbff}$mem ${color lightgrey}/ $memmax - ${color #88bbff}$memperc% ${color #88bbff}$membar
${color lightgrey}swap : ${color #88bbff}$swap ${color lightgrey}/ $swapmax - ${color #88bbff}$swapperc% ${color #88bbff}$swapbar
${color lightgrey}Liste des processus gourmants:
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}Mem%
${offset 80}${color #88bbff}${top_mem name 1} ${alignr 30}${top_mem pid 1} ${alignr 15}${top_mem mem 1}
${offset 80}${color #888888}${top_mem name 2} ${alignr 30}${top_mem pid 2} ${alignr 15}${top_mem mem 2}
${offset 80}${color #888888}${top_mem name 3} ${alignr 30}${top_mem pid 3} ${alignr 15}${top_mem mem 3}
${offset 80}${color #888888}${top_mem name 4} ${alignr 30}${top_mem pid 4} ${alignr 15}${top_mem mem 4}
${offset 80}${color #888888}${top_mem name 5} ${alignr 30}${top_mem pid 5} ${alignr 15}${top_mem mem 5}
${color #ffffff}Systèmes de fichiers ${hr 2}$color
${color #88bbff}/ ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
${color #88bbff}/HOME ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /home}%
${fs_bar 8 /home}
${color #88bbff}VISTA ${fs_used /media/vista}/${fs_size /media/vista}${alignr}${fs_used_perc /media/vista}%
${fs_bar 8 /media/vista}
et voici l'ancienne version (Conky sur une seule colonne)
avec le fichier de configuration suivant:
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
out_to_console no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 7x12
#font 6x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Terminal Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
#on_bottom yes
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_colour black
own_window yes
own_window_type normal
#own_window_hints undecorated
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
#minimum_size 280 5
#maximum_width 150
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 10
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#minimum_size 10 10
gap_x 13
gap_y 34
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# boinc (seti) dir
# seti_dir /opt/seti
# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from therm_adt746x
# adt746xfan Fan speed from therm_adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar's height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I'd recommend coding wanted
# behaviour in C and posting a patch :-).
# execi interval, shell Same as exec but with specific interval.
# command Interval can't be less than
# update_interval in configuration.
# fs_bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fs_free (fs) Free space on a file system available
# for users.
# fs_free_perc (fs) Free percentage of space on a file
# system available for users.
# fs_size (fs) File system size
# fs_used (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new_mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# new_mails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre_exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# running_processes Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled_hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn't
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptime_short Uptime in a shorter format
#
# seti_prog Seti@home current progress
# seti_progbar (height) Seti@home current progress bar
# seti_credit Seti@hoome total user credit
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
# stuff after 'TEXT' will be formatted on screen
#${font Grunge:size=12}${time %a %b %d}${alignr -25}${time %k:%M}
TEXT
${font Dungeon:style=Bold:pixelsize=12}
${color lightgrey}Ethernet:${alignr}DL :${color #88bbff} ${totaldown wlan0} ${color lightgrey}/ UP :${color #88bbff} ${totalup wlan0}
${color lightgrey}Adresse IP locale: ${color #88bbff}${addr wlan0}
${color lightgrey}Adresse IP externe: ${color #88bbff}${execi 3600 mono /home/tifauve/scripts/GetMyIP/GetMyIP.exe}
${color lightgrey}Down :${color #88bbff} ${downspeed wlan0} k/s${color lightgrey} ${offset 70}Up:${color #88bbff} ${upspeed wlan0} k/s
${color #88bbff}${downspeedgraph wlan0 25,150 88bbff eeeeee} $alignr${color #88bbff}${upspeedgraph wlan0 25,150 88bbff eeeeee}
${color lightgrey}$stippled_hr
${color #ffffff}Consommation CPU
${color lightgrey}Usage (Moy):${color #88bbff} ${cpu cpu0}% ${alignr}${color #88bbff}${cpubar cpu0 5,150}
${color lightgrey}Usage (Core 1):${color #88bbff} ${cpu cpu1}% ${alignr}${color #88bbff}${cpubar cpu1 5,150}
${color lightgrey}Usage (Core 2):${color #88bbff} ${cpu cpu2}% ${alignr}${color #88bbff}${cpubar cpu2 5,150}
${color lightgrey}Moyenne
${color #88bbff}${cpugraph cpu0 88bbff eeeeee}
${color lightgrey}Core 1 ${offset 110} Core 2
${color #88bbff}${cpugraph cpu1 25,150 88bbff eeeeee} ${color #88bbff} $alignr${color #88bbff}${cpugraph cpu2 25,150 88bbff eeeeee}
${color lightgrey}Liste des processus gourmants:
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}CPU%
${offset 80}${color #88bbff}${top name 1} ${alignr 30}${top pid 1} ${alignr 15}${top cpu 1}
${offset 80}${color #888888}${top name 2} ${alignr 30}${top pid 2} ${alignr 15}${top cpu 2}
${offset 80}${color #888888}${top name 3} ${alignr 30}${top pid 3} ${alignr 15}${top cpu 3}
${offset 80}${color #888888}${top name 4} ${alignr 30}${top pid 4} ${alignr 15}${top cpu 4}
${offset 80}${color #888888}${top name 5} ${alignr 30}${top pid 5} ${alignr 15}${top cpu 5}
${color lightgrey}$stippled_hr
${color #ffffff}Occupation mémoire
${color lightgrey}ram : ${color #88bbff}$mem ${color lightgrey}/ $memmax - ${color #88bbff}$memperc% ${color #88bbff}$membar
${color lightgrey}swap : ${color #88bbff}$swap ${color lightgrey}/ $swapmax - ${color #88bbff}$swapperc% ${color #88bbff}$swapbar
${color lightgrey}Liste des processus gourmants:
${offset 80}${color #CCCCCC}Nom ${alignr 50}PID ${alignr 20}Mem%
${offset 80}${color #88bbff}${top_mem name 1} ${alignr 30}${top_mem pid 1} ${alignr 15}${top_mem mem 1}
${offset 80}${color #888888}${top_mem name 2} ${alignr 30}${top_mem pid 2} ${alignr 15}${top_mem mem 2}
${offset 80}${color #888888}${top_mem name 3} ${alignr 30}${top_mem pid 3} ${alignr 15}${top_mem mem 3}
${offset 80}${color #888888}${top_mem name 4} ${alignr 30}${top_mem pid 4} ${alignr 15}${top_mem mem 4}
${offset 80}${color #888888}${top_mem name 5} ${alignr 30}${top_mem pid 5} ${alignr 15}${top_mem mem 5}
${color lightgrey}$stippled_hr
${color #ffffff}Systèmes de fichiers
${color #88bbff}/ ${fs_used /}/${fs_size /}${alignr}${fs_used_perc /}%
${fs_bar 8 /}
${color #88bbff}/HOME ${fs_used /home}/${fs_size /home}${alignr}${fs_used_perc /home}%
${fs_bar 8 /home}
Autre configuration en utilisant une font type webding
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=9
xftalpha 0.8
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# On dit à Conky de ne pas se mettre sur le bureau mais dans une fenêtre propre
own_window yes
# type de fenêtre "maison" (le type desktop convient si on n'a pas d'ombre)
own_window_type override
# définition du type
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 5
maximum_width 200
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color white
#default_shade_color white
#default_outline_color white
own_window_colour white
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 50
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${font :size=10}SYSTÈME ${voffset -3}${hr 1}
${voffset -10}
${font StyleBats:size=16}Q${voffset -4}${font} Kernel${alignr}${kernel}
${voffset 4}${font StyleBats:size=16}A${voffset -4}${font} CPU 1${alignr}${voffset 1}${cpubar cpu1 8,70}
${voffset -16}${alignr 72}${font :size=8}${cpu cpu1}%
${voffset 4}${font StyleBats:size=16}A${voffset -4}${font} CPU 2${alignr}${voffset 1}${cpubar cpu2 8,70}
${voffset -16}${alignr 72}${font :size=8}${cpu cpu2}%
${voffset 4}${font StyleBats:size=16}G${voffset -4}${font} RAM${alignr}${voffset 1}${membar 8,70}
${voffset -16}${alignr 72}${font :size=8}$memperc%
${voffset 4}${font StyleBats:size=16}J${voffset -4}${font} SWAP${alignr}${voffset 1}${swapbar 8,70}
${voffset -16}${alignr 72}${font :size=8}$swapperc%
${voffset 4}${font StyleBats:size=16}U${voffset -4}${font} Batterie${alignr}${voffset 1}${battery_bar 8,70 BAT0}
${voffset -16}${alignr 72}${font :size=8}${battery_percent BAT0}%
${voffset 4}${font StyleBats:size=16}P${voffset -4}${font} Uptime${font :size=8}${alignr}${uptime}
${font :size=10}DISQUES ${voffset -3}${hr 1}
${voffset -10}
${font StyleBats:size=16}4${voffset -4}${font} Système${alignr}${voffset -1}${fs_bar 8,70 /}
${voffset -15}${alignr}${diskiograph /dev/sda2 8,70 FFFFFF 666666}
${voffset -7}${font :size=8}${alignr}${fs_free /}
${voffset -3}${font StyleBats:size=16}4${voffset -4}${font} Home${alignr}${voffset -1}${fs_bar 8,70 /home}
${voffset -15}${alignr}${diskiograph /dev/sdb1 8,70 FFFFFF 666666}
${voffset -7}${font :size=8}${alignr}${fs_free /home}${if_existing /proc/net/route wlan0}
${font :size=10}RESEAUX ${voffset -3}${hr 1}
${voffset -10}
${font StyleBats:size=16}N${voffset -4}${font} Wifi${alignr}${voffset -5}${wireless_link_bar 8,70 wlan0}
${voffset -16}${alignr 72}${font :size=8}${wireless_link_qual wlan0}%
${voffset -4}${font :size=8}${alignr}${wireless_essid wlan0}
${voffset 2}${font PizzaDude Bullets:size=13}U${voffset -2}${font} Down${alignr}${voffset 1}${downspeedgraph wlan0 8,70 999999 222222}
${voffset -16}${alignr 72}${font :size=8}${downspeed wlan0}
${voffset -4}${font :size=8}${alignr}${totaldown wlan0}
${voffset -3}${font PizzaDude Bullets:size=13}O${voffset -2}${font} Up${alignr}${voffset 1}${upspeedgraph wlan0 8,70 999999 222222}
${voffset -16}${alignr 72}${font :size=8}${upspeed wlan0}
${voffset -4}${font :size=8}${alignr}${totalup wlan0}
${voffset -3}${font PizzaDude Bullets:size=13}a${font} Adresse IP${font :size=8}${alignr}${addr wlan0}${endif}${if_existing /proc/net/route eth0}
${font :size=10}RESEAUX ${voffset -3}${hr 1}
${voffset -10}
${font PizzaDude Bullets:size=13}U${voffset -2}${font} Down${alignr}${voffset 1}${downspeedgraph eth0 8,70 999999 222222}
${voffset -16}${alignr 72}${font :size=8}${downspeed eth0}kb/s
${voffset -4}${font :size=8}${alignr}${totaldown eth0}
${voffset -3}${font PizzaDude Bullets:size=13}O${voffset -2}${font} Up${alignr}${voffset 1}${upspeedgraph eth0 8,70 999999 222222}
${voffset -16}${alignr 72}${font :size=8}${upspeed eth0}kb/s
${voffset -4}${font :size=8}${alignr}${totalup eth0}
${voffset -3}${font PizzaDude Bullets:size=13}a${font} Adresse IP${font :size=8}${alignr}${addr eth0}${endif}
${font :size=10}$processes PROCESSUS ${voffset -3}${hr 1}
${voffset -15}
${font :size=8}${top_mem pid 1}:${top_mem name 1}${alignr}${top_mem mem 1}%
${font :size=8}${top_mem pid 2}:${top_mem name 2}${alignr}${top_mem mem 2}%
${font :size=8}${top_mem pid 3}:${top_mem name 3}${alignr}${top_mem mem 3}%
${font :size=8}${top_mem pid 4}:${top_mem name 4}${alignr}${top_mem mem 4}%
${font :size=8}${top_mem pid 5}:${top_mem name 5}${alignr}${top_mem mem 5}%