LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1179|回复: 8

晒晒你的.conkyrc和截图

[复制链接]
发表于 2009-5-13 06:37:35 | 显示全部楼层 |阅读模式
晒晒你的.conkyrc和截图。
发表于 2009-5-13 08:35:58 | 显示全部楼层
  1. # Conky sample configuration
  2. #
  3. # the list of variables has been removed from this file in favour
  4. # of keeping the documentation more maintainable.
  5. # Check http://conky.sf.net for an up-to-date-list.
  6. #${font microsoft yahei:size=8}${execi 60 /home/neo/.weather.pl}
  7. # set to yes if you want Conky to be forked in the background
  8. background yes
  9. # my config
  10. pad_percents 2
  11. # X font when Xft is disabled, you can pick one with program xfontsel
  12. #font 5x7
  13. #font 6x10
  14. #font 7x13
  15. #font 8x13
  16. #font 9x15
  17. #font *mintsmild.se*
  18. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  19. # Use Xft?
  20. use_xft yes
  21. # Set conky on the bottom of all other applications
  22. #on_bottom yes
  23. # Xft font when Xft is enabled
  24. xftfont auqafont:size=8
  25. #xftfont bitstream vera sans mono:size=8
  26. # Text alpha when using Xft
  27. xftalpha 0.8
  28. # Print everything to stdout?
  29. out_to_console no
  30. # MPD host/port
  31. # mpd_host localhost
  32. # mpd_port 6600
  33. # mpd_password tinker_bell
  34. # Print everything to console?
  35. # out_to_console no
  36. # mail spool
  37. mail_spool $[HOME]/.mail
  38. # Update interval in seconds
  39. update_interval 1.0
  40. # This is the number of times Conky will update before quitting.
  41. # Set to zero to run forever.
  42. total_run_times 0
  43. # Create own window instead of using desktop (required in nautilus)
  44. own_window no
  45. # Use pseudo transparency with own_window?
  46. own_window_transparent no
  47. # If own_window_transparent is set to no, you can set the background colour here
  48. own_window_colour steelblue
  49. # Use double buffering (reduces flicker, may not work for everyone)
  50. double_buffer yes
  51. # Minimum size of text area
  52. minimum_size 250 5
  53. maximum_width 250
  54. # Draw shades?
  55. draw_shades no
  56. # Draw outlines?
  57. draw_outline no
  58. # Draw borders around text
  59. draw_borders no
  60. # Draw borders around graphs
  61. draw_graph_borders yes
  62. # Stippled borders?
  63. stippled_borders 0
  64. # border margins
  65. #border_margin 4
  66. # border width
  67. border_width 0
  68. # Default colors and also border colors
  69. default_color lightgrey
  70. default_shade_color lightgrey
  71. default_outline_color lightgrey
  72. # Text alignment, other possible values are commented
  73. alignment top_left
  74. #alignment top_right
  75. #alignment bottom_left
  76. #alignment bottom_right
  77. #alignment none
  78. # Gap between borders of screen and text
  79. # same thing as passing -x at command line
  80. gap_x 5
  81. gap_y 100
  82. # Subtract file system buffers from used memory?
  83. no_buffers yes
  84. # set to yes if you want all text to be in uppercase
  85. uppercase no
  86. # number of cpu samples to average
  87. # set to 1 to disable averaging
  88. cpu_avg_samples 1
  89. # number of net samples to average
  90. # set to 1 to disable averaging
  91. net_avg_samples 1
  92. # Force UTF8? note that UTF8 support required XFT
  93. override_utf8_locale yes
  94. # Add spaces to keep things from moving about?  This only affects certain objects.
  95. use_spacer none
  96. #   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
  97. #   mldonkey_port         Mldonkey port, 4001 default
  98. #   mldonkey_login        Mldonkey login, default none
  99. #   mldonkey_password     Mldonkey password, default none
  100. # boinc (seti) dir
  101. # seti_dir /opt/seti
  102. # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
  103. #min_port_monitors 2
  104. # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
  105. #min_port_monitor_connections 3
  106. # none, xmms, bmp, audacious, infopipe (default is none)
  107. #xmms_player none
  108. # variable is given either in format $variable or in ${variable}. Latter
  109. # allows characters right after the variable and must be used in network
  110. # stuff because of an argument
  111. # stuff after 'TEXT' will be formatted on screen
  112. #${color lightgrey}Load:$color $loadavg
  113. #${color lightgrey}${font microsoft yahei:size=9}${rss http://edu.cnbeta.com/backend.php 10 item_title 1}
  114. #${color lightgrey} ${font microsoft yahei:size=10} ${rss http://bbs.xjtu.edu.cn/BMY/rss?board=TOP10 10 item_titles 10}
  115. #${color lightgrey}CPU Usage:${color #ddaa00} ${cpu cpu2}% ${color lightgrey}Freq:${color #ddaa00} ${freq_g cpu1}GHz
  116. #$stippled_hr
  117. TEXT
  118. ${font aquafont:size=13:bold}${color white}${time %b %d %a %r}
  119. ${font consolas:size=9}${color lightgrey}Gentoo: $sysname $kernel
  120. ${color lightgrey}Uptime:$color $uptime_short ${color lightgrey}$alignr Load:$color $loadavg
  121. ${color lightgrey}CPU:${color #ddaa00} ${cpu cpu1}% -- ${cpu cpu2}% $alignr ${color lightgrey}Freq:${color #ddaa00} ${freq_g}GHz
  122. ${color #0000ff}${cpugraph cpu1 24,120 ff0000 0000ff} ${cpugraph cpu2 24,120 ff0000 0000ff}
  123. ${color lightgrey}AC: ${color #ddaa00}${acpiacadapter}  ${color lightgrey}Bat: ${color #ddaa00}${battery_percent}%${color lightgrey}${alignr}Fan:${color #ddaa00} ${ibm_fan}RPM
  124. ${color lightgrey}Temperature:
  125.                 ${color lightgrey}CPU:${color #ddaa00}${ibm_temps 0}C${color lightgrey}${alignc}    HDD:${color #ddaa00}${ibm_temps 2}C$alignr${color lightgrey}Graphics:${color #ddaa00}${ibm_temps 3}C
  126. ${color lightgrey}RAM:$color $mem/$memfree/$memmax
  127. ${color lightgrey}Swap:$color $swap/$swapmax
  128. ${color lightgrey}Processes:$color $processes  ${color lightgrey}Running:$color $running_processes
  129. ${color lightgrey}Wlan: ${color #ddaa00}${wireless_essid wlan0} ${wireless_mode wlan0} ${wireless_bitrate wlan0}
  130. ${color lightgrey}Quality: ${color lightgreen}${wireless_link_bar 5,150 wlan0} ${color #ddaa00}${wireless_link_qual wlan0}
  131. ${color lightgrey} Down:${color #22ccff} ${downspeed wlan0}k/s${color lightgrey} ${offset 50}Up:${color #22ccff} ${upspeed wlan0}k/s
  132. ${color #0000ff}${downspeedgraph wlan0 24,120 ff0000 0000ff 500} ${color #22ccff}${upspeedgraph wlan0 24,120 0000ff ff0000 500}
  133. ${color lightgrey}Eth0:
  134. Down:${color #22ccff} ${downspeed eth0}k/s${color lightgrey} ${offset 50}Up:${color #22ccff} ${upspeed eth0}k/s
  135. ${color #0000ff}${downspeedgraph eth0 24,120 ff0000 0000ff 500} ${color #22ccff}${upspeedgraph eth0 24,120 0000ff ff0000 500}
  136. ${color lightgrey}Disk:
  137. Read:${color #22ccff} ${diskio_read}${color lightgrey}${offset 50}Write: ${color #22ccff}${diskio_write}
  138. ${color #0000ff}${diskiograph_read 24,120 ff0000 0000ff} ${color #22ccff}${diskiograph_write 24,120 0000ff ff0000}
  139. HDAPS: ${disk_protect sda}
  140. IO SCHED: ${ioscheduler sda}
复制代码


原来还能显示邮箱邮件的,现在mailbox换了个类型(MH,邮件都存在一个文件里面,io小些,mutt快些),邮件就监视不了了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-13 10:10:41 | 显示全部楼层
Post by swordman;1986612
  1. # Conky sample configuration
  2. #
  3. # the list of variables has been removed from this file in favour
  4. # of keeping the documentation more maintainable.
  5. # Check http://conky.sf.net for an up-to-date-list.

  6. #${font microsoft yahei:size=8}${execi 60 /home/neo/.weather.pl}
  7. # set to yes if you want Conky to be forked in the background
  8. background yes
  9. # my config
  10. pad_percents 2

  11. # X font when Xft is disabled, you can pick one with program xfontsel
  12. #font 5x7
  13. #font 6x10
  14. #font 7x13
  15. #font 8x13
  16. #font 9x15
  17. #font *mintsmild.se*
  18. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*


  19. # Use Xft?
  20. use_xft yes

  21. # Set conky on the bottom of all other applications
  22. #on_bottom yes

  23. # Xft font when Xft is enabled
  24. xftfont auqafont:size=8
  25. #xftfont bitstream vera sans mono:size=8
  26. # Text alpha when using Xft
  27. xftalpha 0.8

  28. # Print everything to stdout?
  29. out_to_console no

  30. # MPD host/port
  31. # mpd_host localhost
  32. # mpd_port 6600
  33. # mpd_password tinker_bell

  34. # Print everything to console?
  35. # out_to_console no

  36. # mail spool
  37. mail_spool $[HOME]/.mail

  38. # Update interval in seconds
  39. update_interval 1.0

  40. # This is the number of times Conky will update before quitting.
  41. # Set to zero to run forever.
  42. total_run_times 0

  43. # Create own window instead of using desktop (required in nautilus)
  44. own_window no

  45. # Use pseudo transparency with own_window?
  46. own_window_transparent no

  47. # If own_window_transparent is set to no, you can set the background colour here
  48. own_window_colour steelblue

  49. # Use double buffering (reduces flicker, may not work for everyone)
  50. double_buffer yes

  51. # Minimum size of text area
  52. minimum_size 250 5
  53. maximum_width 250
  54. # Draw shades?
  55. draw_shades no

  56. # Draw outlines?
  57. draw_outline no

  58. # Draw borders around text
  59. draw_borders no

  60. # Draw borders around graphs
  61. draw_graph_borders yes

  62. # Stippled borders?
  63. stippled_borders 0

  64. # border margins
  65. #border_margin 4

  66. # border width
  67. border_width 0

  68. # Default colors and also border colors
  69. default_color lightgrey
  70. default_shade_color lightgrey
  71. default_outline_color lightgrey

  72. # Text alignment, other possible values are commented
  73. alignment top_left
  74. #alignment top_right
  75. #alignment bottom_left
  76. #alignment bottom_right
  77. #alignment none

  78. # Gap between borders of screen and text
  79. # same thing as passing -x at command line
  80. gap_x 5
  81. gap_y 100

  82. # Subtract file system buffers from used memory?
  83. no_buffers yes

  84. # set to yes if you want all text to be in uppercase
  85. uppercase no

  86. # number of cpu samples to average
  87. # set to 1 to disable averaging
  88. cpu_avg_samples 1

  89. # number of net samples to average
  90. # set to 1 to disable averaging
  91. net_avg_samples 1

  92. # Force UTF8? note that UTF8 support required XFT
  93. override_utf8_locale yes


  94. # Add spaces to keep things from moving about?  This only affects certain objects.
  95. use_spacer none

  96. #   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
  97. #   mldonkey_port         Mldonkey port, 4001 default
  98. #   mldonkey_login        Mldonkey login, default none
  99. #   mldonkey_password     Mldonkey password, default none

  100. # boinc (seti) dir
  101. # seti_dir /opt/seti

  102. # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
  103. #min_port_monitors 2

  104. # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
  105. #min_port_monitor_connections 3

  106. # none, xmms, bmp, audacious, infopipe (default is none)
  107. #xmms_player none

  108. # variable is given either in format $variable or in ${variable}. Latter
  109. # allows characters right after the variable and must be used in network
  110. # stuff because of an argument

  111. # stuff after 'TEXT' will be formatted on screen
  112. #${color lightgrey}Load:$color $loadavg
  113. #${color lightgrey}${font microsoft yahei:size=9}${rss http://edu.cnbeta.com/backend.php 10 item_title 1}
  114. #${color lightgrey} ${font microsoft yahei:size=10} ${rss http://bbs.xjtu.edu.cn/BMY/rss?board=TOP10 10 item_titles 10}

  115. #${color lightgrey}CPU Usage:${color #ddaa00} ${cpu cpu2}% ${color lightgrey}Freq:${color #ddaa00} ${freq_g cpu1}GHz
  116. #$stippled_hr
  117. TEXT
  118. ${font aquafont:size=13:bold}${color white}${time %b %d %a %r}
  119. ${font consolas:size=9}${color lightgrey}Gentoo: $sysname $kernel
  120. ${color lightgrey}Uptime:$color $uptime_short ${color lightgrey}$alignr Load:$color $loadavg
  121. ${color lightgrey}CPU:${color #ddaa00} ${cpu cpu1}% -- ${cpu cpu2}% $alignr ${color lightgrey}Freq:${color #ddaa00} ${freq_g}GHz
  122. ${color #0000ff}${cpugraph cpu1 24,120 ff0000 0000ff} ${cpugraph cpu2 24,120 ff0000 0000ff}
  123. ${color lightgrey}AC: ${color #ddaa00}${acpiacadapter}  ${color lightgrey}Bat: ${color #ddaa00}${battery_percent}%${color lightgrey}${alignr}Fan:${color #ddaa00} ${ibm_fan}RPM
  124. ${color lightgrey}Temperature:
  125.                 ${color lightgrey}CPU:${color #ddaa00}${ibm_temps 0}C${color lightgrey}${alignc}    HDD:${color #ddaa00}${ibm_temps 2}C$alignr${color lightgrey}Graphics:${color #ddaa00}${ibm_temps 3}C

  126. ${color lightgrey}RAM:$color $mem/$memfree/$memmax
  127. ${color lightgrey}Swap:$color $swap/$swapmax

  128. ${color lightgrey}Processes:$color $processes  ${color lightgrey}Running:$color $running_processes

  129. ${color lightgrey}Wlan: ${color #ddaa00}${wireless_essid wlan0} ${wireless_mode wlan0} ${wireless_bitrate wlan0}
  130. ${color lightgrey}Quality: ${color lightgreen}${wireless_link_bar 5,150 wlan0} ${color #ddaa00}${wireless_link_qual wlan0}
  131. ${color lightgrey} Down:${color #22ccff} ${downspeed wlan0}k/s${color lightgrey} ${offset 50}Up:${color #22ccff} ${upspeed wlan0}k/s
  132. ${color #0000ff}${downspeedgraph wlan0 24,120 ff0000 0000ff 500} ${color #22ccff}${upspeedgraph wlan0 24,120 0000ff ff0000 500}
  133. ${color lightgrey}Eth0:
  134. Down:${color #22ccff} ${downspeed eth0}k/s${color lightgrey} ${offset 50}Up:${color #22ccff} ${upspeed eth0}k/s
  135. ${color #0000ff}${downspeedgraph eth0 24,120 ff0000 0000ff 500} ${color #22ccff}${upspeedgraph eth0 24,120 0000ff ff0000 500}
  136. ${color lightgrey}Disk:
  137. Read:${color #22ccff} ${diskio_read}${color lightgrey}${offset 50}Write: ${color #22ccff}${diskio_write}
  138. ${color #0000ff}${diskiograph_read 24,120 ff0000 0000ff} ${color #22ccff}${diskiograph_write 24,120 0000ff ff0000}
  139. HDAPS: ${disk_protect sda}
  140. IO SCHED: ${ioscheduler sda}
复制代码



原来还能显示邮箱邮件的,现在mailbox换了个类型(MH,邮件都存在一个文件里面,io小些,mutt快些),邮件就监视不了了


题目的字体很好看~~
回复 支持 反对

使用道具 举报

发表于 2009-5-13 13:12:57 | 显示全部楼层
# 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 monospace-12

# Text alpha when using Xft
xftalpha 0.8

# Update interval in seconds
update_interval 2

# Create own window instead of using desktop (required in nautilus)
own_window yes

own_window_transparent yes
#own_window_colour hotpink
own_window_type override

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 5 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
# draw_borders no

# Stippled borders?
# stippled_borders 0

# border margins
# border_margin 10

# border width
# border_width 2

# 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
#alignment top_right
#alignment bottom_left
alignment bottom_right

# Gap between borders of screen and text

gap_x 8
gap_y 32

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

TEXT
${color #888888}$sysname $kernel ${color #CCCCCC}on ${color #888888}$machine  ${color #888888}Uptime: $uptime  ${alignr}${color white}${time %F} ${color #00ff00}${time %T}  ${color white}[${color red}$nodename${color white}][${color #00ff00}${exec whoami}${color white}]
${color #888888}Procesos: ${color #CCCCCC}$processes ${color #888888}Running: ${color #CCCCCC}$running_processes   ${color #888888}CPU Temp: ${color #CCCCCC}${acpitemp}°C    ${color #888888}GPU Temp: ${color #CCCCCC}${execi 17 nvidia-settings -q gpucoretemp | grep '):' | awk '{print $4}' | cut -c -2}°C ${alignr}${if_up ppp0}${color #888888}ppp0 uptime: ${execi 7 /home/wecoh/.conky/ppp0uptime.pl}${endif}
${color #888888}RAM:  ${color #CCCCCC}$mem${color #888888}/${color #CCCCCC}$memmax ${color #88aadd}${membar 6,60}  ${color #888888}cpu1 ${color #88aadd}${cpugraph cpu1 10,60 88aadd 88aadd}  ${if_up eth0}${color #888888}eth0: (${color #00ff00}${downspeed eth0}${color #888888}/${color red}${upspeed eth0}${color #888888})k/s  ${color #88aadd}${downspeedgraph eth0 10,40 05F6F6 05F6F6} ${upspeedgraph eth0 10,40 F4C16D F4C16D}${endif}
${color #888888}Swap: ${color #CCCCCC}$swap${color #888888}/${color #CCCCCC}$swapmax ${color #88aadd}${swapbar 6,60}  ${color #888888}cpu2 ${color #88aadd}${cpugraph cpu2 10,60 88aadd 88aadd}  ${if_up ppp0}${color #888888}ppp0: (${color #00ff00}${downspeed ppp0}${color #888888}/${color red}${upspeed ppp0}${color #888888})k/s  ${color #88aadd}${downspeedgraph ppp0 10,40 05F6F6 05F6F6} ${upspeedgraph ppp0 10,40 F4C16D F4C16D}${endif}
${color #888888}Disk IO: ${color}${diskio}/s ${color #888888} hda ${color #88aadd}${diskiograph /dev/hda 10,60 F4C16D F4C16D}   ${color #888888}sda ${color #88aadd}${diskiograph /dev/sda 10,60 F4C16D F4C16D}  ${if_up tun0}${color #888888}tun0: (${color #00ff00}${downspeed tun0}${color #888888}/${color red}${upspeed tun0}${color #888888})k/s  ${color #88aadd}${downspeedgraph tun0 10,40 05F6F6 05F6F6} ${upspeedgraph tun0 10,40 F4C16D F4C16D}${endif}


完全是为了替代 gkrellm 而按照原来的 gkrellm 打造的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-13 15:32:04 | 显示全部楼层
Post by wecoh;1986718
完全是为了替代 gkrellm 而按照原来的 gkrellm 打造的。

bbs.linuxsir.cn/attachment.php?aid=52061

小巧玲珑~~~
回复 支持 反对

使用道具 举报

发表于 2009-5-13 21:44:00 | 显示全部楼层



  1. pjq@localhost ~ $ cat .conkyrc
  2. # Conky sample configuration
  3. #
  4. # the list of variables has been removed from this file in favour
  5. # of keeping the documentation more maintainable.
  6. # Check http://conky.sf.net for an up-to-date-list.

  7. # set to yes if you want Conky to be forked in the background
  8. background yes

  9. # X font when Xft is disabled, you can pick one with program xfontsel
  10. #font 5x7
  11. #font 6x10010
  12. #font 7x13
  13. #font 8x13
  14. #font 9x15
  15. #font *mintsmild.se*
  16. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

  17. # Use Xft?
  18. use_xft yes

  19. # Xft font when Xft is enabled
  20. #xftfont Bitstream Vera Sans Mono:size=8
  21. xftfont 微软雅黑:size=9

  22. # Text alpha when using Xft
  23. xftalpha 0.8

  24. # Print everything to stdout?
  25. # out_to_console no

  26. # MPD host/port
  27. # mpd_host localhost
  28. # mpd_port 6600
  29. # mpd_password tinker_bell

  30. # Print everything to console?
  31. # out_to_console no

  32. # mail spool
  33. mail_spool $MAIL

  34. # Update interval in seconds
  35. update_interval 3.0

  36. # This is the number of times Conky will update before quitting.
  37. # Set to zero to run forever.
  38. total_run_times 0

  39. # Create own window instead of using desktop (required in nautilus)
  40. own_window no

  41. # If own_window is yes, you may use type normal, desktop or override
  42. own_window_type normal

  43. # Use pseudo transparency with own_window?
  44. own_window_transparent yes

  45. # If own_window_transparent is set to no, you can set the background colour here
  46. own_window_colour hotpink

  47. # If own_window is yes, these window manager hints may be used
  48. #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

  49. # Use double buffering (reduces flicker, may not work for everyone)
  50. double_buffer yes

  51. # Minimum size of text area
  52. #minimum_size 280 5
  53. minimum_size 200 5

  54. # Draw shades?
  55. draw_shades yes

  56. # Draw outlines?
  57. draw_outline no

  58. # Draw borders around text
  59. draw_borders yes

  60. # Draw borders around graphs
  61. draw_graph_borders yes

  62. # Stippled borders?
  63. stippled_borders 8

  64. # border margins
  65. border_margin 4

  66. # border width
  67. border_width 1

  68. # Default colors and also border colors
  69. default_color white
  70. default_shade_color black
  71. default_outline_color black

  72. # Text alignment, other possible values are commented
  73. #alignment top_left
  74. alignment top_right
  75. #alignment bottom_left
  76. #alignment bottom_right
  77. #alignment none

  78. # Gap between borders of screen and text
  79. # same thing as passing -x at command line
  80. gap_x 5
  81. gap_y 30

  82. # Subtract file system buffers from used memory?
  83. no_buffers yes

  84. # set to yes if you want all text to be in uppercase
  85. uppercase no

  86. # number of cpu samples to average
  87. # set to 1 to disable averaging
  88. cpu_avg_samples 2

  89. # number of net samples to average
  90. # set to 1 to disable averaging
  91. net_avg_samples 2

  92. # Force UTF8? note that UTF8 support required XFT
  93. override_utf8_locale yes
  94. # Add spaces to keep things from moving about?  This only affects certain objects.
  95. use_spacer left

  96. # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
  97. #max_port_monitor_connections 256

  98. # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
  99. #max_specials 512

  100. # Maximum size of buffer for user text, i.e. below TEXT line.
  101. #max_user_text 16384

  102. # Timing interval for music player thread, e.g. mpd, audacious
  103. #music_player_interval (update_interval is default)

  104. # variable is given either in format $variable or in ${variable}. Latter
  105. # allows characters right after the variable and must be used in network
  106. # stuff because of an argument

  107. # stuff after 'TEXT' will be formatted on screen
  108. #${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes

  109. TEXT
  110. $nodename - $sysname $kernel on $machine
  111. $stippled_hr
  112. CPU freq: ${color red}${freq_dyn} M  ${color white} ACPI temp:  ${color red} ${acpitemp} C  ${color white} DiskIO: ${color #cc2222} ${diskio}
  113. ${color white}$stippled_hr
  114. ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
  115. ${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
  116. ${color red}${cpugraph 0000ff 00ff00}
  117. ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
  118. ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
  119. $color$stippled_hr
  120. ${color lightgrey}Networking:
  121. Down:${color #8844ee}${downspeed eth0}k/s(total:${totaldown eth0})${color lightgrey} Up:${color #22ccff} ${upspeed eth0} k/s(total:${totalup eth0})
  122.   ${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff}      ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
  123. ${color lightgrey}File systems:
  124. / $color${fs_used /}/${fs_size /} ${fs_bar /}
  125. ${color}Name              PID     CPU%   MEM%
  126. ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  127. ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  128. ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  129. ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
  130. ${color}Mem usage
  131. ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  132. ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  133. ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  134. $stippled_hr
  135. ${color green}${mpd_file}
  136. ${color red}[${mpd_elapsed}/${mpd_length}]${mpd_status} ${mpd_percent}%: ${color #8844ee}${mpd_bar}
  137. $stippled_hr
  138. ${color red}${execi 1 date  }
  139. $stippled_hr
  140. ${color red}${alignc}苏州天气:
  141. ${color #7f8ed3}${execi 2   /home/pjq/shell/weather/weatherreport/weather 苏州 }
  142. $stippled_hr
  143. ${color red}${alignc}新余天气:
  144. ${color #7f8ed3}${execi 2   /home/pjq/shell/weather/weatherreport/weather 新余 }
  145. $stippled_hr
  146. ${color red}${alignc}深圳天气:
  147. ${color #7f8ed3}${execi 2   /home/pjq/shell/weather/weatherreport/weather 深圳 }
  148. $stippled_hr
  149. ${color #ddaa00}Port(s)${alignr}#Connections   
  150. $color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
  151. ${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
  152. ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
  153. ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
  154. ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
  155. ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
  156. ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
  157. ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
  158. ${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
  159. ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
  160. ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
  161. ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
  162. ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
  163. ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
  164. ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
  165. pjq@localhost ~ $
复制代码

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2009-5-13 23:00:26 | 显示全部楼层
偶的配置:
[color="Blue"]# -*- conf -*-
#
# ~/.conkyrc - Conky configuration file

# do not fork to background
background no

# out
out_to_console no

# font settings
use_xft yes
font monospace-9
#font Microsoft YaHei-9

uppercase no

# update every 3 secs
update_interval 3

# stay running forever
total_run_times 0

# draw to root window
own_window yes
own_window_class justin-huang
own_window_transparent yes
own_window_type override

# avoid flickering
double_buffer yes

# size
minimum_size 1024 768
maximum_width 1024

# position
alignment top_left
gap_x 0
gap_y 0

# colors
default_color white
default_shade_color black
default_outline_color black
color0 000000
color1 33b0dc   ## blue
color2 d8ee9b          ## yellow
color3 db70ff   ## red
color4 009980        ## blue hard
#color2 33bfdc


# borders
draw_borders no
stippled_borders 8
border_margin 4
border_width 1

# shades
draw_shades yes

# outline
draw_outline no

# spacer
use_spacer none

# buffers
no_buffers yes

# sampling
cpu_avg_samples 2
net_avg_samples 2

# ${offset 775}$color1 $acpiacadapter

# configuration
TEXT
${voffset 50}${offset 50}${color2}System
${offset 50}$color3 $nodename $color2 GNU/Linux $kernel $color3 on $machine
${offset 50}$color1 Uptimecolor2 $uptime    $color1 Loadcolor2 $loadavg

${voffset -20}${offset 700}${color2}Power
${offset 700}$color1 Battery remaining: $color2 ${battery_percent BAT1}%
${offset 700}$color4 ${battery_bar 6,240 BAT1 }

${voffset 20}${offset 50}${color2}CPU
${offset 50}$color1 Frequency: $color2$freq MHz $color1 Temperaturecolor2 ${acpitemp} C
${offset 50}$color1 Load: $color2$cpu% $color4 ${cpubar cpu0 6,223}
${offset 50}$color4 ${cpugraph cpu0 24,300 000000 db70ff }

${voffset 20}${offset 50}${color2}Processes
${offset 50}$color1 Total processes: $color2 $processes  $color1 Running processes: $color2 $running_processes
${offset 50}$color1 CPU_MAX: ${color2} ${top name 1}$color1 PID: $color2 ${top pid 1}  $color1  CPU_USED: $color2 ${top cpu 1}
${offset 50}$color1 MEM_MAX{color2} ${top_mem name 1}$color1 PID: $color2 ${top_mem pid 1}  $color1  MEM_USED: $color2 ${top_mem mem 1}

${voffset 30}${offset 50}${color2}Memory
${offset 50}$color1 RAM: $color2$mem/$memmax ($memperc%) $color4${membar 6,200}
${offset 50}$color1 Swap: $color2$swap ($swapperc%) $color4${swapbar 6,200}

${voffset 40}${offset 50}${color2}Network
${offset 50}$color1 IPv4(${color3}eth0$color2): $color2${addr eth0} ${color #144556}
${offset 50}$color1 Down: $color2${downspeed eth0} KB/s $color1 Upcolor2 ${upspeed eth0} KB/s
${offset 50}$color4 ${downspeedgraph eth0 12,300 000000 db70ff}
${offset 50}${voffset -3}$color4 ${upspeedgraph eth0 12,300 000000 db70ff}
${offset 50}$color1 IPv4(${color3}wlan0$color2): $color2${addr wlan0} ${color #144556}
${offset 50}$color1 Down: $color2${downspeed wlan0} KB/s $color1 Upcolor2 ${upspeed wlan0} KB/s
${offset 50}$color4 ${downspeedgraph wlan0 12,300 000000 db70ff}
${offset 50}${voffset -3}$color4 ${upspeedgraph wlan0 12,300 000000 db70ff}

${voffset -30}${offset 700}${color2}Disk
${offset 700}$color1 Disk read color2 $diskio_read$color4 ${diskiograph_read 8,120 000000 db70ff}
${offset 700}$color1 Disk writecolor2 $diskio_write$color4 ${diskiograph_write 8,120 000000 db70ff}
${offset 700}$color1 Total I/O color2 $diskio$color4 ${diskiograph 8,200 000000 db70ff}

${voffset 40}${offset 10}${color2}MPD
${offset 20}${color1}Volume{color2}${mpd_vol}%  ${color1}${mpd_status} ${offset 1}${color3}${mpd_smart} ${color1}[${color2}${mpd_bitrate}kbps${color1}]
${offset 20}${color1}${voffset 1}${color4}${mpd_bar 6,250}  ${voffset -2}${color2}${mpd_elapsed}/${mpd_length}

偶的效果:
回复 支持 反对

使用道具 举报

发表于 2009-5-14 00:35:06 | 显示全部楼层
不要总在桌面上花费时间,没什么意思,conkey这东西除了摆在那里看着爽那么一下以外,实在是没有太大的用处。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-14 07:57:14 | 显示全部楼层
Post by fender010;1986941
不要总在桌面上花费时间,没什么意思,conkey这东西除了摆在那里看着爽那么一下以外,实在是没有太大的用处。


不过我确实需要随时监控我的系统   呵呵
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表