Δημοσιεύτηκε: 04 Φεβ 2011, 16:16
από yiannis66
Πολύ ωραία δουλειά.
Για να βλέπω τα δεδομένα του ανα πάσα στιγμή έχω αυτό το Conky

Spoiler: show
#############################
## yiannis66 vnstat ##
#############################

####
## Use XFT? Required to Force UTF8 (see below).
#
use_xft yes
xftfont LiberationSans:size=12
xftalpha 0.1
text_buffer_size 2048

####
## Force UTF8? Requires XFT (see above).
## Displays degree symbol, instead of °, etc.
#
override_utf8_locale yes

####
## Update interval in seconds.
#
update_interval 1.5

####
## This is the number of times Conky will update before quitting.
## Set to zero to run forever.
#
total_run_times 0

####
## Create own window instead of using desktop (required in nautilus)?
#
own_window yes
own_window_type override
own_window_transparent yes

####
## Use double buffering? Reduces flicker.
#
double_buffer yes

####
## Draw shades?
#
draw_shades no

####
## Draw outlines?
#
draw_outline no

####
## Draw borders around text?
#
draw_borders no

####
## Draw borders around graphs?
#
draw_graph_borders no

####
## Print text to stdout?
## Print text in console?
#
out_to_ncurses no
out_to_console no

####
## Text alignment.
#
alignment tr

####
## Minimum size of text area.
#
minimum_size 350 0

####
## Specify width and height for bars.
#
default_bar_size 0 4

####
## Gap between text and screen borders.
#
gap_x 40
gap_y 48

####
## Shorten MiB/GiB to M/G in stats.
#
short_units yes

####
## Pad % symbol spacing after numbers.
#
pad_percents 0

####
## Limit the length of names in "Top Processes".
#
top_name_width 10

####
## Subtract file system -/+buffers/cache from used memory?
## Set to yes, to produce meaningful physical memory stats.
#
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

####
## Add spaces to keep things from moving around?
## Only affects certain objects.
#
use_spacer right

####
## My colors.
#
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black

TEXT

${voffset 5}${goto 240}${color FFFF00}Month:${goto 300}${execi 60 vnstat -m | grep "`LANG=en_GB.UTF-8 date +"%b '%y"`"| awk '{print $3 $4}'}
${goto 240}Week:${goto 300}${execi 60 vnstat -w | grep "current week" | awk '{print $3 $4}'}
${goto 240}Today:${goto 300}${execi 60 vnstat | grep "today" | awk '{print $2 $3}'}
${goto 240}Total:${goto 300}${totaldown eth0}
${goto 240}Down:${goto 300}${downspeedf eth0}
${voffset 30}${goto 240}Up:${goto 300}${upspeedf eth0}
${goto 240}Total:${goto 300}${totalup eth0}
${goto 240}Today:${goto 300}${execi 60 vnstat | grep "today" | awk '{print $5 $6}'}
${goto 240}Week:${goto 300}${execi 60 vnstat -w | grep "current week" | awk '{print $6 $7}'}
${goto 240}Month:${goto 300}${execi 60 vnstat -m | grep "`LANG=en_GB.UTF-8 date +"%b '%y"`" | awk '{print $6 $7}'}

Έτσι φαίνονται στην οθόνη μου
Εικόνα