LINUX.ORG.RU

background no
use_xft yes
xftfont Courier New:size=8
xftalpha 0.8
mail_spool /var/spool/mail/user
update_interval 1.0
total_run_times 0
own_window no
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_colour 1E72A0
double_buffer yes
minimum_size 280 5
draw_shades yes
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color black
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no
TEXT
$nodename - $sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
${color lightgrey}Local time: ${color yellow}${time %F %H:%M:%S}
${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$hr
MAIL: ${color red}${new_mails}/${color green}${mails}
$color$hr
${color green}${execi 10 ~/bin/amarok_np.sh}
$color$hr
${color lightgrey}Networking:
${color yellow}eth0
${color lightgray}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 yellow}ra0
${color lightgray}Down:${color #8844ee} ${downspeed ra0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed ra0} k/s
${color #0000ff}${downspeedgraph ra0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph ra0 32,150 0000ff ff0000}
${color}Network connections
${execi 5 ~/bin/network_stat.sh}
${color lightgrey}File systems:$color
 stuff $color${fs_used /mnt/stuff}/${fs_size /mnt/stuff} ${fs_bar /mnt/stuff}
 home  $color${fs_used /home}/${fs_size /home} ${fs_bar /home}
${color lightgrey}Disk monitor
${diskiograph}
${color lightgrey}Temperatures:$color
 CPU:$color ${i2c temp 2}C${color grey} - MB:$color ${i2c temp 1}C
 GPU:$color ${nvidia_model} ${color yellow}${nvidia_coretemp}.0C $color ${nvidia_gpufreq}/${nvidia_memfreq} MHz
 Outside:${color yellow} ${texeci 3600 ~/bin/WGTemp.py}C
${color lightgrey}Fan speed:
 CPU: $color ${i2c fan 2} RPM Chassic: $color ${i2c fan 3} RPM
${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_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}

Соответственно скрипты:
  network_stat.sh -- комбинация netstat -npt и awk/sed
  WGTemp.py -- скрипт, который таскает температуру на улице с ближайшего сайта

phoenix ★★★★
()

background black

use_xft yes

xftfont aqua:size=10

double_buffer yes

update_interval 1

alignment top_left

gap_x 0

gap_y 1003

no_buffers yes

minimum_size 1250x20

pad_percents 3

TEXT

${color #6aff66}:::$color ${color #ffcb48}$nodename$color ${color #98c2c7}$kernel$color ${color #6aff66}:::$color ${color #ffcb48}.cpu:$color$color${color #b5b5b5}${cpugraph 11,60 78af78 a3a3a3} ${color #6aff66}:::$color ${color #ffcb48}.ram:$color${color #b5b5b5}${membar 11,60}${color} ${color #6aff66}:::$color ${color #ffcb48}.root:$color ${color #b5b5b5}${fs_bar 11,60 /}$color ${color #ffcb48}.home:$color ${color #b5b5b5}${fs_bar 11,60 /home/}$color ${color #ffcb48}.filez:$color ${color #b5b5b5}${fs_bar 11,60 /filez/}$color ${color #ffcb48}.dowloads:$color ${color #b5b5b5}${fs_bar 11,60 /home/downloads/}$color ${color #6aff66}:::$color ${color #ffcb48}net$color ${color #6aff66}:$color ${color #ffcb48}down$color ${color #b5b5b5}${downspeedgraph ra0 11,60 78af78 a3a3a3} ${color #ffcb48}up $color${color #b5b5b5}${upspeedgraph ra0 11,60 78af78 a3a3a3}$color ${color #6aff66}:::$color $time ${color #6aff66}:::$color

djung ★★
()

font -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-r

use_xft no

xftfont Terminus:size=10

xftalpha 0.8

update_interval 2.0

total_run_times 0

own_window no

double_buffer yes

minimum_size 5 5

draw_shades no

draw_outline yes

draw_borders no

stippled_borders 8

border_margin 4

border_width 1

default_color white

default_shade_color darkgray

default_outline_color black

alignment top_right

gap_x -10

gap_y 65

no_buffers yes

uppercase no

cpu_avg_samples 2

net_avg_samples 2

override_utf8_locale yes

use_spacer yes

TEXT

${offset 240}${color yellow}${time %a, } ${color }${time %e %B %G}

${offset 240}${color yellow}UpTime: ${color }$uptime

${offset 240}${color cyan}CPU:${color } $cpu% ${color cyan}Temp:$color ${i2c 9191-0290 temp 2}C ${offset 240}${cpugraph 20,130 000000 ffffff}

${offset 240}${color cyan}Load: ${color }$loadavg

${offset 240}${color yellow}Processes: ${color }$processes

${offset 240}${color yellow}Highest CPU:

${offset 240}${color #A00000} ${top name 1}${top_mem cpu 1}

${offset 240}${color #804010} ${top name 2}${top_mem cpu 2}

${offset 240}${color #906040} ${top name 3}${top_mem cpu 3}

${offset 240}${color #AA9090} ${top name 4}${top_mem cpu 4}

${offset 240}${color yellow}Highest MEM:

${offset 240}${color #A00000} ${top_mem name 1}${top_mem mem 1}

${offset 240}${color #804010} ${top_mem name 2}${top_mem mem 2}

${offset 240}${color #906040} ${top_mem name 3}${top_mem mem 3}

${offset 240}${color #AA9090} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color cyan}MEM: ${color } $memperc% $mem/$memmax ${offset 240}${membar 3,100}

${offset 240}${color cyan}SWAP: ${color }$swapperc% $swap/$swapmax ${offset 240}${swapbar 3,100}

${offset 240}${color yellow}ROOT: ${color }${fs_free /}/${fs_size /}

${offset 240}${fs_bar 3,100 /}

${offset 240}${color yellow}HOME: ${color }${fs_free /home}/${fs_size /home}

${offset 240}${fs_bar 3,100 /home}

${offset 240}${color yellow}STORAGE: ${color }${fs_free /mnt/storage}/${fs_size /mnt/storage}

${offset 240}${fs_bar 3,100 /mnt/storage}

${offset 240}${color yellow}BACKUP: ${color }${fs_free /mnt/backup}/${fs_size /mnt/backup}

${offset 240}${fs_bar 3,100 /mnt/backup}

h8 ★★★
()

а ты типа конфиги быдлоконьков собираешь? юзал в хфце. кривые они :(
щаз юзаю карамбу и рад. конфиг даю.

# 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 -*-*-*-*-*-*-8-*-*-*-*-*-*-*
#font -artwiz-glisp-*-*-normal-*-11-*-*-*-*-*-*-r


# Use Xft?
use_xft no

# Set conky on the bottom of all other applications
on_bottom no

# Xft font when Xft is enabled
xftfont artwiz: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

# Use pseudo transparency with own_window?
own_window_transparent no

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour white

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
# minimum_size 10 5

# 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 10

# 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
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 20
gap_y 40

# 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 1

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 1

# 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 no

# mldonkey_hostname Hostname for mldonkey stuff, defaults to localhost
# mldonkey_port Mldonkey port, 4001 default
# mldonkey_login Mldonkey login, default none
# mldonkey_password Mldonkey password, default none

# boinc (seti) dir
# seti_dir /opt/seti

# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
#min_port_monitors 16

# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
#min_port_monitor_connections 256

# 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 red}Хост ${color}$nodename - $sysname $kernel на $machine машине
${color red}Сегодня:${color} ${exec date "+%A, %e %B %H:%M"}
${color red}Не перегружаемся:${color} $uptime

${execi 21600 cal -m}

${color red}Нагрузка CPU:${color white} $cpu% ${cpubar}
${color white}${cpugraph white white}

${color red}Нагрузка RAM:$color $mem/$memmax - $memperc% ${membar}
${color red}Нагрузка SWAP:$color $swap/$swapmax - $swapperc% ${swapbar}


${color white}Параметры сети:
${color red}Down:${color white} ${downspeed eth0} k/s${color red} ${offset 80}Up:${color white} ${upspeed eth0} k/s
${color white}${downspeedgraph eth0 32,150 white white} ${color white}${upspeedgraph eth0 32,150 white white}

${exec tail -c 45 /var/log/messages}

${color red}Файловые системы:$color
/ $color${fs_used /}/${fs_size /} ${fs_bar /}
ftp $color${fs_used /mnt/ftp}/${fs_size /mnt/ftp} ${fs_bar /mnt/ftp}
install $color${fs_used /mnt/ftp/pub/install}/${fs_size /mnt/ftp/pub/install} ${fs_bar /mnt/ftp/pub/install}
windows $color${fs_used /mnt/windows}/${fs_size /mnt/windows} ${fs_bar /mnt/windows}
2nd HDD $color${fs_used /mnt/hd}/${fs_size /mnt/hd} ${fs_bar /mnt/hd}

${color red}Порт(ы)${alignr}Соединения
${color} Вместе: ${alignr}$color ${tcp_portmon 1 65535 count}
$color ftpd: ${alignr}$color ${tcp_portmon 21 21 count}
$color sshd: ${alignr}$color ${tcp_portmon 22 22 count}
$color httpd: ${alignr}$color ${tcp_portmon 80 80 count}
${color red}Удаленный хост ${alignr} Локальный сервис/Порт$color
${tcp_portmon 1 65535 rip 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rip 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rip 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rip 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rip 4} ${alignr} ${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rip 5} ${alignr} ${tcp_portmon 1 65535 lservice 5}
${tcp_portmon 1 65535 rip 6} ${alignr} ${tcp_portmon 1 65535 lservice 6}
${tcp_portmon 1 65535 rip 7} ${alignr} ${tcp_portmon 1 65535 lservice 7}
${tcp_portmon 1 65535 rip 8} ${alignr} ${tcp_portmon 1 65535 lservice 8}
${tcp_portmon 1 65535 rip 9} ${alignr} ${tcp_portmon 1 65535 lservice 9}
${tcp_portmon 1 65535 rip 10} ${alignr} ${tcp_portmon 1 65535 lservice 10}

Komintern ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.