ubuntu16.04,.conkyrc实时监控系统资源动态,效果图与配置文件代码
2016-09-17 11:29
761 查看
怎么下载conky就不用说了吧,百度一抓一把
这个配置代码,是我看了许多人的配置文件后,自己总结的
给个效果图(这个是透明的,因为我桌面是黑色的,所以背景是黑的),觉得不错可以直接复制下面代码
如果不喜欢英文的话,配置文件好像也支持中文,大家可以去大胆实验
代码如下:
这个配置代码,是我看了许多人的配置文件后,自己总结的
给个效果图(这个是透明的,因为我桌面是黑色的,所以背景是黑的),觉得不错可以直接复制下面代码
如果不喜欢英文的话,配置文件好像也支持中文,大家可以去大胆实验
代码如下:
# set to yes if you want Conky to be forked in the background background yes cpu_avg_samples 2 net_avg_samples 2 out_to_console no # X font when Xft is disabled, you can pick one with program xfontsel #font 7x12 #font 6x10 #font 7x13 #font 8x13 #font 7x12 #font *mintsmild.se* #font -*-*-*-*-*-*-34-*-*-*-*-*-*-* #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1 # Use Xft? use_xft yes # Xft font when Xft is enabled xftfont Sans:size=12 own_window_argb_visual yes #own_window_colour hotpink # Text alpha when using Xft xftalpha 0.8 # on_bottom yes # mail spool mail_spool $MAIL # Update interval in seconds update_interval 3 # Create own window instead of using desktop (required in nautilus) own_window yes own_window_transparent yes o 4000 wn_window_hints undecorated,below,sticky,skip_taskbar,skip_pager #own_window_type override own_window_type normal # Use double buffering (reduces flicker, may not work for everyone) double_buffer yes # Minimum size of text area minimum_size 260 5 maximum_width 400 # Draw shades? draw_shades no # Draw outlines? draw_outline no # Draw borders around text draw_borders no # Stippled borders? stippled_borders no # border margins border_margin 4 # 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 #minimum_size 10 10 gap_x 40 gap_y 100 alignment top_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # Add spaces to keep things from moving about? This only affects certain objects. use_spacer none # Subtract file system buffers from used memory? no_buffers yes # set to yes if you want all text to be in uppercase uppercase no # none, xmms, bmp, audacious, infopipe (default is none) # xmms_player bmp TEXT ${color white}SYSTEM ${hr 1}${color} Hostname: $alignr$nodename Uptime: $alignr$uptime Temp: ${alignr}${acpitemp}℃ CPU: ${alignr}${freq dyn} MHz Processes: ${alignr}$processes ($running_processes running) CPU1 ${alignr}${cpu cpu1}% ${cpubar 4 cpu1} CPU2 ${alignr}${cpu cpu2}% ${cpubar 4 cpu2} CPU3 ${alignr}${cpu cpu3}% ${cpubar 4 cpu3} CPU4 ${alignr}${cpu cpu4}% ${cpubar 4 cpu4} Ram ${alignr}$mem / $memmax ($memperc%) ${membar 4} swap ${alignr}$swap / $swapmax ($swapperc%) ${swapbar 4} ${color white}SYSTEM LOAD${hr 1}${color} Highest CPU $alignr CPU% MEM% ${top name 1}$alignr${top cpu 1} ${top mem 1} ${top name 2}$alignr${top cpu 2} ${top mem 2} ${top name 3}$alignr${top cpu 3} ${top mem 3} Highest MEM $alignr CPU% MEM% ${top_mem name 1}$alignr${top_mem cpu 1} ${top_mem mem 1} ${top_mem name 2}$alignr${top_mem cpu 2} ${top_mem mem 2} ${top_mem name 3}$alignr${top_mem cpu 3} ${top_mem mem 3} ${color white}Disk read :${alignr}${diskio_read} ${color white}Disk write:${alignr}${diskio_write} ${color white}NETWORK ${hr 1}${color} ${voffset 1}${color white} upload: ${color white}${upspeed wlp3s0}/s ${alignr}${color white}总共: ${color white}${totalup wlp3s0} ${voffset 1}${color white} download: ${color white}${downspeed wlp3s0}/s ${alignr}${color white}总共: ${color white}${totaldown wlp3s0} #${color white}WEATHER ${hr 1}${color} #${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=CN} #${font Weather:size=44}${color gold}${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=WF}${font}${color}${voffset -20}${offset 18}${execi 3600 python #~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=CC}${offset 10}${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=HT}${offset 10}${execi 3600 #python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=WS} ${font Arrows:size=10}${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=BF}$font #${offset 60}Sol: ${color}${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=SR}-${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --#datatype=SS} #${font Weather:size=26}${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=WF --startday=1 --endday=4 --spaces=1}${font} #${execi 3600 python ~/.conkydir/conkyForecast.py --location=CHXX0101 --datatype=HT --startday=1 --endday=4 --spaces=11}
相关文章推荐
- java读取系统Properties配置文件利用线程实时监控配置文件变化
- 在Ubuntu下配置MRTG监控Nginx和服务器系统资源
- ubuntu16.04 修改配置文件 禁止系统自动更新
- java读取系统Properties配置文件利用线程实时监控配置文件变化
- 智能安全实验室-杀马(Defendio) 2.2.0.387:系统实时防护(文件系统)-实时、主动、准确、快速、极低系统资源占用地防御各种威胁
- ubuntu下修改 vim 配置 将 .inc 后缀文件 动态当作不同文件对待的解决办法
- Ubuntu IP系统配置文件使用命令设置地址
- [转]LoadRunner监控Windows/Unix/Linux系统资源的配置
- 代码更新系统(一):配置文件配置
- LoadRunner监控Window/Unix系统资源的配置
- ubuntu 修改系统配置文件
- 系统多种资源文件代码示例(例如一个系统同时具有中文简体,中文繁体,英文,日文等不同资源文件)(示例代码下载)
- 系统多种资源文件代码示例(例如一个系统同时具有中文简体,中文繁体,英文,日文等不同资源文件)(示例代码下载)
- 系统多种资源文件代码示例(例如一个系统同时具有中文简体,中文繁体,英文,日文等不同资源文件)(示例代码下载)
- 市面上所有号称"虚拟机","防火墙"的实时监控杀毒软件无一不是使用的IFSHOOK技术.但是同时也有一些朋友不断写MAIL给我打听如何实现读写的监控.下面给出用VTOOLSD写的代码.也就是所有实时杀毒软件的奥秘.同时,很多拦截文件操作的软件,例如对目录加
- uboot启动ramdisk和nfs文件系统,Ubuntu 配置nfs .
- 四行代码动态修改web.config文件appsettings配置节内容
- Ubuntu Linux系统环境变量配置文件介绍
- Ubuntu vim配置文件及系统安装
- uboot启动ramdisk和nfs文件系统,Ubuntu 配置nfs .