четверг, 26 марта 2009 г.

My conky.conf

# Xft font when Xft is enabled
use_xft
xftfont LiberationMono-Bold:size=13
# Text alpha when using Xft
xftalpha 0.8

alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color green
default_outline_color lightblue
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window no
own_window_class Conky
own_window_type desktop
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer no

TEXT
$nodename - $sysname $kernel
Current Time: $color ${time %k:%M:%S} Uptime:$color $uptime Load:$color $loadavg
$hr
${color green}Frequency:$color $freq_g GHz
${color green}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color green}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color green}CPU Usage:$color $cpu% ${cpubar 4}
${color green}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color green}File systems:
/ $color${fs_free /}/${fs_size /} ${fs_bar 6 /}
/home $color${fs_free /home}/${fs_size /home} ${fs_bar 6 /home}
/var $color${fs_free /var}/${fs_size /var} ${fs_bar 6 /var}
$hr
${color green}Networking:
eth0 Up:$color ${upspeed eth0} k/s${color red} - Down:$color ${downspeed eth0} k/s
wlan0 Up:$color ${upspeed wlan0} k/s${color red} - Down:$color ${downspeed wlan0} k/s
$hr
${color green}Name PID CPU% MEM%
${color lightgreen} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgreen} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgreen} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgreen} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgreen} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
$hr
${color green}Port(s):${alignr}
$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}
${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}

Комментариев нет: