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

conkey conf

时间:2015-07-27 12:28:36      阅读:98      评论:0      收藏:0      [点我收藏+]

标签:

update_interval 1.0 # 更新时间间隔
double_buffer yes # 双缓存,解决Conky闪烁问题
use_xft yes # 自定义字体
xftfont DejaVu Sans Mono:size=9

maximum_width 300 # Conky最大宽度像素值
default_color gray # Conky默认颜色
alignment top_right # Conky默认位置
#draw_outline yes # 绘制文本、图案的轮廓线

# 解决Conky和桌面图标的冲突问题
own_window yes
own_window_type override
own_window_hints undecorated
own_window_transparent yes

TEXT
# 系统信息总览
${color white}${font :bold:size=12}[SYSTEM] $font$color $alignr$time
#Hostname: $alignr $nodename
#Kernel: $alignr $kernel
Uptime: $alignr $color $uptime
System load: $alignr $loadavg
Running Processes: $alignr $running_processes/$processes
Running Threads: $alignr $running_threads/$threads

# 显示当前四核CPU的频率、使用率的数值和示意图
${color white}${font :bold:size=12}[PROCESSORS] $font$color ${execpi 8 sensors | grep ‘Core 0‘ | cut --characters 14-21} ${execpi 8 sensors | grep ‘Core 1‘ | cut --characters 14-21}
${freq_g 1}GHz (${color red}${cpu cpu1}%$color) ${alignr 100}${cpubar cpu1}
#Core 2: ${freq_g 2}GHz (${cpu cpu2}%) ${alignr 100}${cpubar cpu2}
#Core 3: ${freq_g 3}GHz (${cpu cpu3}%) ${alignr 100}${cpubar cpu3}
#Core 4: ${freq_g 4}GHz (${cpu cpu4}%) ${alignr 100}${cpubar cpu4}
# 列出排名前五的CPU消耗进程
#${font :bold:size=9}Name $alignc PID $alignr CPU $font
${top name 1} $alignc ${top pid 1} $alignr ${top cpu 1}%
${top name 2} $alignc ${top pid 2} $alignr ${top cpu 2}%
${top name 3} $alignc ${top pid 3} $alignr ${top cpu 3}%
${top name 4} $alignc ${top pid 4} $alignr ${top cpu 4}%
${top name 5} $alignc ${top pid 5} $alignr ${top cpu 5}%

# 显示计算机当前内存的使用情况
${color white}${font :bold:size=12}[MEMORY] $font:$color $mem/$memmax - ${color red}$memperc%$color
${membar}
# 列出排名前五的内存消耗进程
#${font :bold:size=9}Name $alignc PID $alignr RAM $font
${top_mem name 1} $alignc ${top_mem pid 1} $alignr ${top_mem mem 1}%
${top_mem name 2} $alignc ${top_mem pid 2} $alignr ${top_mem mem 2}%
${top_mem name 3} $alignc ${top_mem pid 3} $alignr ${top_mem mem 3}%
${top_mem name 4} $alignc ${top_mem pid 4} $alignr ${top_mem mem 4}%
${top_mem name 5} $alignc ${top_mem pid 5} $alignr ${top_mem mem 5}%

# 显示磁盘的使用情况,并且显示磁盘使用示意图
# 因为只分有两个区,所以只显示/和/home的磁盘使用情况
${color white}${font :bold:size=12}[DISK] $font$color
/home $alignr ${fs_used /home} of ${fs_size /home} (${fs_used_perc /home}%)
${fs_bar /home}
/media/E $alignr ${fs_used /media/E} of ${fs_size /media/E} (${fs_used_perc /media/E}%)
${fs_bar /media/E}
#swap $alignr $swap of $swapmax ($swapperc%)
#$swapbar

# 显示网络使用情况
${color white}${font :bold:size=12}[NETWORK] $font$color $alignr${addr wlan0}
down:${color blue}${downspeed wlan0}/s$color $alignr up:${color blue}${upspeed wlan0}/s$color

conkey conf

标签:

原文地址:http://www.cnblogs.com/chutianyao/p/3840038.html

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