conky配置

just posted @ 2008年12月20日 20:13 in linux , 1426 阅读

background yes
font Monaco:size=8
xftfont Monaco:size=8
xftalpha 0.1

update_interval 1.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
minimum_size 220 5
maximum_width 220
#default_color d7d7d7
default_color 1A1A1A
default_shade_color black
default_outline_color black
alignment bottom_right
gap_x 10
gap_y 200
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
out_to_console no

TEXT
${font Monaco:style=Bold:pixelsize=38}${alignc}${time %H:%M}${font Monaco:size=8}${time %m.%d/%Y}
SYSTEM ${hr 1 }

Hostname: $alignr$nodename
Kernel: $alignr$kernel
Uptime: $alignr$uptime
Processes: ${alignr}$processes ($running_processes running)
Load: ${alignr}$loadavg
CPU ${alignc} ${freq}MHz / ${acpitemp}C ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1}
${cpugraph}
RAM ${alignr}$mem / $memmax ($memperc%)
${membar 4}
SWAP ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

Highest CPU $alignr PID CPU% MEM%
${color black}${top name 1}$alignr${top pid 1}${top cpu 1}${top mem 1}
${top name 2}$alignr${top pid 2}${top cpu 2}${top mem 2}
${top name 3}$alignr${top pid 3}${top cpu 3}${top mem 3}

Highest MEM $alignr PID CPU% MEM%
${color black}${top_mem name 1}$alignr${top_mem pid 1}${top_mem cpu 1}${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2}${top_mem cpu 2}${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3}${top_mem cpu 3}${top_mem mem 3}

NETWORK ${addr eth0}${hr 1}${color}
Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
disk r/w:${hr 1}${color}
${color black}${diskiograph 000000 5000a0}

  • 无匹配
  • 无匹配

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter