man sed
man awk
Модератор: /dev/random
Ryamblex писал(а): ↑09.05.2009 12:38Всем привет! Помогите,пожалуйста!
Есть два сетевых интерфейса-ppp0(для vpn) и eth0(локалка).Хочу узнать,какой командой можно смотреть текущее использование интерфейса(кб/сек) на вход и на выход, входящий и исходящий трафик(в терминале!!! как в коньках я знаю),потом скриптом просуммировать соответствующие значения для ppp0 и eth0 и вывести значения в conky. Как это можно реализовать?
Код: Выделить всё
sensors
it8718-isa-0290
Adapter: ISA adapter
in0: +1.10 V (min = +0.00 V, max = +4.08 V)
in1: +1.87 V (min = +0.00 V, max = +4.08 V)
in2: +3.30 V (min = +0.00 V, max = +4.08 V)
in3: +2.99 V (min = +0.00 V, max = +4.08 V)
in4: +0.50 V (min = +0.00 V, max = +4.08 V)
in5: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
in6: +1.22 V (min = +0.00 V, max = +4.08 V)
in7: +3.07 V (min = +0.00 V, max = +4.08 V)
in8: +3.07 V
fan1: 1033 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 0 RPM (min = 0 RPM)
temp1: +36.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
temp2: +28.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode
temp3: -2.0°C (low = +127.0°C, high = +127.0°C) sensor = thermistor
cpu0_vid: +2.050 V
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +50.0°C (high = +78.0°C, crit = +100.0°C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +44.0°C (high = +78.0°C, crit = +100.0°C)baldman88 писал(а): ↑05.07.2009 10:34Подскажите, пожалуйста, что случилоь с conky? Раньше он всё показывал хорошо (в плане оформления) -- значения выводил с форматированием по правому краю и с умом (допустим если выводятся проценты и их значение, допустим, 15, то конки выравнивал это значение по ширине вправо (как бы добавлял пробел перед 15), и ничего не ездило туда-сюда (не смещалось на экране)). Сейчас всё пляшет (кроме значений $top, они выровнены как надо) и смотрится просто отвратительно. Конфиг не трогал вообще.
/dev/random писал(а): ↑12.08.2009 05:13
Когда "с кэшем связано", программы её наоборот завышают.
Укажите данные conky о памяти и вывод команды free, взятые в одно и то же время.
Код: Выделить всё
total used free shared buffers cached
Mem: 1295096 385464 909632 0 23284 220644
-/+ buffers/cache: 141536 1153560
Swap: 1357484 0 1357484Код: Выделить всё
top - 21:02:17 up 1:00, 2 users, load average: 0.05, 0.49, 0.81
Tasks: 72 total, 2 running, 70 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.3%us, 1.0%sy, 0.0%ni, 94.7%id, 0.3%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 1295096k total, 385472k used, 909624k free, 23276k buffers
Swap: 1357484k total, 0k used, 1357484k free, 220516k cachedКод: Выделить всё
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=8
# Text alpha when using Xft
xftalpha 0.8
# Print everything to stdout?
# out_to_console no
# MPD host/port
# mpd_host localhost
# mpd_port 6600
# mpd_password tinker_bell
# Print everything to console?
# out_to_console no
# mail spool
mail_spool $MAIL
# Update interval in seconds
update_interval 2.0
# 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 no
# If own_window is yes, you may use type normal, desktop or override
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background colour here
own_window_colour hotpink
# If own_window is yes, these window manager hints may be used
#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
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# 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 no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Shows the maximum value in scaled graphs.
show_graph_scale no
# Shows the time range covered by a graph.
show_graph_range no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)
# Strictness of if_up. One of: up, link or address. The later ones imply the further ones.
# Defaults to up.
#if_up_strictness address
# 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
# stuff after 'TEXT' will be formatted on screen
TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
${color red}${cpugraph 0000ff 00ff00}
${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
${color lightgrey}Processes:$color $processes ${color grey}Running:$color $running_processes
$color$stippled_hr
${color lightgrey}Networking:
Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
${color lightgrey}File systems:
${color red} root $color${fs_used /}/${fs_size /} ${fs_bar /}
home $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
data $color${fs_used /home/haku/data}/${fs_size /home/haku/data} ${fs_bar /home/haku/data}
${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
${color #88aadd}$mpd_bar
${color #88aadd}${alignc}$mpd_status
${color}Name PID CPU% MEM%
${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
$stippled_hr
${color #ddaa00}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}haku писал(а): ↑12.08.2009 22:12ок комманды free и top одинаково рассказывают,что используется ~385Mb памяти из ~1295Mb,
Код: Выделить всё
total used free shared buffers cached Mem: 1295096 385464 909632 0 23284 220644 -/+ buffers/cache: 141536 1153560 Swap: 1357484 0 1357484
durc писал(а): ↑13.08.2009 00:26haku писал(а): ↑12.08.2009 22:12ок комманды free и top одинаково рассказывают,что используется ~385Mb памяти из ~1295Mb,
Код: Выделить всё
total used free shared buffers cached Mem: 1295096 385464 909632 0 23284 220644 -/+ buffers/cache: 141536 1153560 Swap: 1357484 0 1357484
Просто conky показывает используемую память без учёта буфера и кэша.
-/+ buffers/cache: 141536
В конфиге это видимо строчка:
# Subtract file system buffers from used memory?
no_buffers yes
neudachnik писал(а): ↑12.08.2009 22:46Друзья,![]()
добросовестно прочитал все 3 страницы темы и не нашел ответ на один из многих мучащих меня вопросов, а именно : "После прописки own_window_no не знаю, как отключить conky. Использую команду kill PID, conky-картинка замирает, но исчезать не собираеться. Как у вас получаеться отключать conky, когда не видно окна с хрестиком ?"
P.S. Ярлычков на рабочем столе нет, запускаю conky из терминала...
Код: Выделить всё
# Conky sample configuration
#
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# 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
# If own_window is yes, you may use type normal, desktop or override
own_window_type normal
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window is yes, these window manager hints may be used
#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 300 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders no
# Stippled borders?
stippled_borders 8
# border margins
border_margin 40
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_right
#alignment bottom_right
#alignment none
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 12
# 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 no
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
# Shows the maximum value in scaled graphs.
show_graph_scale no
# Shows the time range covered by a graph.
show_graph_range no
# Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
#max_port_monitor_connections 256
# Maximum number of special things, e.g. fonts, offsets, aligns, etc.
#max_specials 512
# Maximum size of buffer for user text, i.e. below TEXT line.
#max_user_text 16384
# Timing interval for music player thread, e.g. mpd, audacious
#music_player_interval (update_interval is default)
# Strictness of if_up. One of: up, link or address. The later ones imply the further ones.
# Defaults to up.
#if_up_strictness address
# 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
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #5b6dad} $sysname $kernel on $machine${alignr}${color #5b6dad} ${time %k:%M:
%S}
${color #5b6dad}$alignc${exec whoami} @ $nodename
$stippled_hr
${color #5b6dad}Uptime:${color #7f8ed3} ${uptime %k:%M:%S} ${color #5b6dad}- Load:$
{color #5b6dad} $loadavg
${color #5b6dad}CPU1 Frequency:${color #7f8ed3} $freq_dyn_g ${color #5b6dad} Maximum:$
{color #7f8ed3} $freq_g
${color #5b6dad}CPU1 Usage:${color #7f8ed3} ${cpu cpu1}% ${cpubar cpu1} ${acpitemp}C
${color 000000} ${cpugraph cpu1 32,309 000000 7f8ed3}
${color #5b6dad}CPU2 Frequency:${color #7f8ed3} $freq_dyn_g ${color #5b6dad} Maximum:$
{color #7f8ed3} $freq_g
${color #5b6dad}CPU2 Usage:${color #7f8ed3} ${cpu cpu2}% ${cpubar cpu2} ${acpitemp}C
${color 000000} ${cpugraph cpu2 32,309 000000 7f8ed3}
${color #5b6dad}RAM Usage:${color #7f8ed3} $mem/$memmax - $memperc% ${membar}
${color #5b6dad} Swap Usage:${color #7f8ed3} $swap/$swapmax - $swapperc% ${swapbar}
${color #5b6dad} Processes:${color #7f8ed3} $processes ${color #5b6dad}Running:${color
#7f8ed3} $running_processes
${color #5b6dad}File Systems:
${color #5b6dad}/ ${color #7f8ed3}${fs_used /}/${fs_size /} ${color #7f8ed3}${fs_bar /}
${color #5b6dad}$stippled_hr
${color #5b6dad}Networking:
${color #5b6dad}Down:${color #7f8ed3} ${downspeed wlan0} k/s${color #5b6dad}${offset
80}Up:${color #7f8ed3} ${upspeed wlan0} k/s
${color #000000}${downspeedgraph wlan0 32,150 000000 000000 7f8ed3} ${color #000000}$
{upspeedgraph wlan0 32,150 000000 7f8ed3}
${color #5b6dad}Address: ${color #7f8ed3}${addr wlan0}${alignr}${color #5b6dad}TCP
Connections: ${color #7f8ed3}${tcp_portmon 1 65535 count}
$stippled_hr
${color #5d6dad}Name PID CPU% MEM%
${color #7f8ed3} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #7f8ed3} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #7f8ed3} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #7f8ed3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #5b6dad}Mem usage
${color #7f8ed3} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #7f8ed3} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #7f8ed3} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #5b6dad}Portage:
${color #5b6dad}Last Sync ${color #7f8ed3}${execi 300
/home/tyler/scripts/lastsync.pl}
${color #5b6dad}Current Package ${color #7f8ed3}${execibar 30
/home/tyler/scripts/emerge-progress.sh}
${color #5b6dad}Current Status ${color #7f8ed3}${execi 30
/home/tyler/scripts/emerge-status.sh}Код: Выделить всё
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
${color #00FFC4}$sysname $kernel ${color #00FFC4}uptime: $uptime_short
$stippled_hr
CPU Core 0: ${hwmon 1 temp 1} C
CPU Core 1: ${hwmon 2 temp 1} C
temp1(Bridge): ${hwmon 0 temp 1} C
temp2(Corpus): ${hwmon 0 temp 2} C
GPU temp.: ${nvidia temp} C
sda (140 Gb): ${hddtemp sda} C
sdb (250 Gb): ${hddtemp sdb} C
$stippled_hr
CPU Core1: ${cpu cpu1}% ${cpugraph cpu1 10,150 00FFC4 00FFC4}
CPU Core2: ${cpu cpu2}% ${cpugraph cpu2 10,150 00FFC4 00FFC4}
iosda: ${diskio_read sda}/${diskio_write sda} ${diskiograph sda 10,80 00FFC4 00FFC4}${alignr}${ioscheduler sda}
iosdb: ${diskio_read sdb}/${diskio_write sdb} ${diskiograph sdb 10,80 00FFC4 00FFC4}${alignr}${ioscheduler sdb}
${color #00FFC4}RAM Usage: $mem/$memmax
Swap Usage: $swap/$swapmax - $swapperc%
CPU freq.: ${freq_g cpu0} GHz
GPU/MEM freq.: ${nvidia gpufreq} MHz /${nvidia memfreq} MHz
${color #00FFC4}Processes:${color #00FFC4} $processes ${color #00FFC4}Run:${color #00FFC4} $running_processes ${color #00FFC4}
PID CPU% MEM% I/O%
${color red}Top-3 CPU${color #00FFC4}
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} ${top io_perc 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${top io_perc 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${top io_perc 3}
${color red}Top-3 RAM${color #00FFC4}
${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1} ${top_mem io_perc 1}
${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2} ${top_mem io_perc 2}
${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3} ${top_mem io_perc 3}
${color red}Top-3 disk${color #00FFC4}
${top_io name 1} ${top_io pid 1} ${top_io cpu 1} ${top_io mem 1} ${top_io io_perc 1}
${top_io name 2} ${top_io pid 2} ${top_io cpu 2} ${top_io mem 2} ${top_io io_perc 2}
${top_io name 3} ${top_io pid 3} ${top_io cpu 3} ${top_io mem 3} ${top_io io_perc 3}
$stippled_hr
${if_up eth1}eth1 dwnld ${downspeed eth1}${downspeedgraph eth1 10,40 00FFC4 00FFC4} upld ${upspeed eth1}${upspeedgraph eth1 10,40 00FFC4 00FFC4}${endif}
${if_up eth2}wi-fi dwnld ${downspeed eth2}${downspeedgraph eth2 10,40 00FFC4 00FFC4} upld ${upspeed eth2}${upspeedgraph eth2 10,40 00FFC4 00FFC4}${endif}
${if_up eth0}eth0 dwnld ${downspeed eth0}${downspeedgraph eth0 10,40 00FFC4 00FFC4} upld ${upspeed eth0}${upspeedgraph eth0 10,40 00FFC4 00FFC4}${endif}
${if_up ppp0}radugavl dwnld ${downspeed ppp0}${downspeedgraph ppp0 10,40 00FFC4 00FFC4} upld ${upspeed ppp0}${upspeedgraph ppp0 10,40 00FFC4 00FFC4}
${color red}${exec ~/bin/radugavl2}${color #00FFC4}
inet addr: ${exec /sbin/ifconfig | grep addr:192.168.240. | cut -c21-36}${color #00FFC4}
${endif}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
${tcp_portmon 32768 61000 rhost 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7}
${tcp_portmon 32768 61000 rhost 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8}Код: Выделить всё
./configure --enable-iostats --enable-nvidia --enable-lua --enable-lua-imlib2 --enable-lua-cairoКод: Выделить всё
${color red}${exec ~/bin/radugavl2}${color #00FFC4}Код: Выделить всё
override_utf8_locale yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
... ... ...
TEXT
${time %a}
... ... ...syao писал(а): ↑11.09.2009 05:28Привет. Никак не получается впихнуть кириллицу в conky (и форум и google облазил). Прописал:
Код: Выделить всё
override_utf8_locale yes use_xft yes xftfont Bitstream Vera Sans Mono:size=9 ... ... ... TEXT ${time %a} ... ... ...
Что я упустил?
Код: Выделить всё
override_utf8_locale yessyao писал(а): ↑11.09.2009 05:28Привет. Никак не получается впихнуть кириллицу в conky (и форум и google облазил). Прописал:
Код: Выделить всё
override_utf8_locale yes use_xft yes xftfont Bitstream Vera Sans Mono:size=9 ... ... ...
разделяю печаль непонимания и ищу разрешения проблемы. archlinux x86_64, openbox, conky 1.7.2 compiled aug 25
Код: Выделить всё
use_xft yes
xftfont verdana:size=12Код: Выделить всё
override_utf8_locale yes
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9Код:
use_xft yes
xftfont Sans:size=8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
default_color ffffff
alignment tr
update_interval 1
gap_y 0
gap_x -150
TEXT
$uptime
${exec date}
$kernel
бла бла блаПривет.
Подскажите плиз как сделать чтобы коньки запускались при включении...я его добавил в автозапукс, но он не работает...Alt+F2 пишу команду коньков тоже не включается...запускается только с терминала под рутом...
там еще пара траблов есть но о них напишу позже конфиги дома на ноуте)))
да кстати дефолтный конфиг стартовал при запуске только у меня нет резервной копии...
nice, thx!