码迷,mamicode.com
首页 > 其他好文 > 详细

conky配置

时间:2015-01-20 20:13:23      阅读:242      评论:0      收藏:0      [点我收藏+]

标签:

alignment top_right
background yes
border_width 0
cpu_avg_samples 2
default_bar_size 160 5
default_color green
default_graph_size 25 170
diskio_avg_samples 2
double_buffer yes
draw_borders no
draw_shades no
gap_x 20
gap_y 20
maximum_width 315
max_port_monitor_connections 64
minimum_size 250
net_avg_samples 2
no_buffers yes
own_window yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 90
#short_units yes
stippled_borders 2
update_interval 2
use_spacer right
uppercase no
use_xft yes
xftalpha 0.7
xftfont 方正姚体:size=11
TEXT
${font 方正姚体:size=48}${time %R}${font}${voffset -36}${goto 154}${time %A | 第%V周 | 第%j天}
${goto 156}${color FFFF00}${time %Z}${color} ${time %x %p}${alignr}
${goto 154}${font openlogos:size=13}${color ffff00}t{${color}${font}${voffset -4}开机时间:${uptime}${alignr}
${hr}
${if_xmms2_connected}${xmms2_smart}${alignr}${xmms2_size}M
${xmms2_bar 5,315}
${xmms2_artist}${alignr}${xmms2_elapsed}/${xmms2_duration}${else}${font Cactus Sandwich Plain FM:size=30}${alignc}Linux muisc${font}${endif}${font 方正姚体:size=8}
${hr}
下载速度: ${downspeedf eth0}KB${alignr}上传速度:${upspeedf eth0}KB
${alignc}${downspeedgraph eth0 25,155 ffff00 00AA00}${tab 5}${upspeedgraph eth0 25,155 00AA00 ffff00}
${voffset -5}下载总量:$totaldown ${alignr}上传总量:$totalup
${hr}
读写速度: ${diskio}${goto 210}硬盘温度:${alignr}${exec hddtemp /dev/sda -n -u=C}°C
读入速度: ${diskio_read}${goto 210}写入速度:${alignr}${diskio_write}
${alignc}${diskiograph_read 25,155 ffff00 00AA00}${tab 5}${diskiograph_write 25,155 00AA00 ffff00}
/目录:${alignr}${offset -17}${fs_used}/${fs_size}${alignr}${fs_used_perc /}% ${fs_bar 5,160 /}
swap:${alignr}${offset -17}${swap}/${swapmax}${alignr}${swapperc}% ${swapbar 5,160}
${if_mounted /media/fhw360/E6C40C48C40C1D85}w7系统:${alignr}${offset -17}${fs_used /media/fhw360/E6C40C48C40C1D85}/${fs_size /media/fhw360/E6C40C48C40C1D85 }${alignr}${fs_used_perc /media/fhw360/E6C40C48C40C1D85}% ${fs_bar 5,160 /media/fhw360/E6C40C48C40C1D85}$endif
${if_mounted /media/fhw360/78D4F26CD4F22C4E}软件:${alignr}${offset -17}${fs_used /media/fhw360/78D4F26CD4F22C4E}/${fs_size /media/fhw360/78D4F26CD4F22C4E }${alignr}${fs_used_perc /media/fhw360/78D4F26CD4F22C4E}% ${fs_bar 5,160 /media/fhw360/78D4F26CD4F22C4E}$endif
${if_mounted /media/fhw360/软件源}软件源:${alignr}${offset -17}${fs_used /media/fhw360/软件源}/${fs_size /media/fhw360/软件源 }${alignr}${fs_used_perc /media/fhw360/软件源}% ${fs_bar 5,160 /media/fhw360/软件源}$endif
${if_mounted /media/fhw360/备份}备份:${alignr}${offset -17}${fs_used /media/fhw360/备份}/${fs_size /media/fhw360/备份 }${alignr}${fs_used_perc /media/fhw360/备份}% ${fs_bar 5,160 /media/fhw360/备份}$endif
${if_mounted /media/fhw360/书库}书库:${alignr}${offset -17}${fs_used /media/fhw360/书库}/${fs_size /media/fhw360/书库 }${alignr}${fs_used_perc /media/fhw360/书库}% ${fs_bar 5,160 /media/fhw360/书库}$endif
${hr}
CPU ${alignr}${offset -17}${freq cpu} MHZ${alignr}${cpu}% ${voffset 1}${cpubar 5,160}
CPU1${alignr}${offset -25}${hwmon temp 1}°C ${alignr}${offset -17}${freq cpu1} MHZ${alignr}${cpu}% ${voffset 1}${cpubar 5,160}
CPU2${alignr}${offset -25}${hwmon temp 2}°C ${alignr}${offset -17}${freq cpu2} MHZ${alignr}${cpu}% ${voffset 1}${cpubar 5,160}
RAM ${alignr}${offset -10}${mem}/${memmax}${alignr}${memperc}% ${voffset 1}${membar 5,160}

Name${alignc}${offset 30}PID${alignr}${offset -60}CPU${alignr}RAM
${stippled_hr}
${top name 1}${alignc}${offset 42}${top pid 1}${alignr}${offset -40}${top cpu 1}%${alignr}${top mem 1}%
${top name 2}${alignc}${offset 42}${top pid 2}${alignr}${offset -40}${top cpu 2}%${alignr}${top mem 2}%
${top name 3}${alignc}${offset 42}${top pid 3}${alignr}${offset -40}${top cpu 3}%${alignr}${top mem 3}%
${top name 4}${alignc}${offset 42}${top pid 4}${alignr}${offset -40}${top cpu 4}%${alignr}${top mem 4}%
${top name 5}${alignc}${offset 42}${top pid 5}${alignr}${offset -40}${top cpu 5}%${alignr}${top mem 5}%
${stippled_hr}
${top_mem name 1}${alignc}${offset 42}${top_mem pid 1}${alignr}${offset -40}${top_mem cpu 1}%${alignr}${top_mem mem 1}%
${top_mem name 2}${alignc}${offset 42}${top_mem pid 2}${alignr}${offset -40}${top_mem cpu 2}%${alignr}${top_mem mem 2}%
${top_mem name 3}${alignc}${offset 42}${top_mem pid 3}${alignr}${offset -40}${top_mem cpu 3}%${alignr}${top_mem mem 3}%
${top_mem name 4}${alignc}${offset 42}${top_mem pid 4}${alignr}${offset -40}${top_mem cpu 4}%${alignr}${top_mem mem 4}%
${top_mem name 5}${alignc}${offset 42}${top_mem pid 5}${alignr}${offset -40}${top_mem cpu 5}%${alignr}${top_mem mem 5}%
${font}
${voffset -40}
$hr
桌面$desktop_name ${alignr}$desktop/$desktop_number

 

conky配置

标签:

原文地址:http://www.cnblogs.com/fhw360/p/4236646.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!