Advertisement
Guest User

conky config

a guest
Dec 19th, 2014
461
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.72 KB | None | 0 0
  1. # Conky, a system monitor, based on torsmo
  2. #
  3. # Any original torsmo code is licensed under the BSD license
  4. #
  5. # All code written since the fork of torsmo is licensed under the GPL
  6. #
  7. # Please see COPYING for details
  8. #
  9. # Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
  10. # Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
  11. # All rights reserved.
  12. #
  13. # This program is free software: you can redistribute it and/or modify
  14. # it under the terms of the GNU General Public License as published by
  15. # the Free Software Foundation, either version 3 of the License, or
  16. # (at your option) any later version.
  17. #
  18. # This program is distributed in the hope that it will be useful,
  19. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  21. # GNU General Public License for more details.
  22. # You should have received a copy of the GNU General Public License
  23. # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  24.  
  25.  
  26. alignment tl
  27. background no
  28. border_width 0
  29. cpu_avg_samples 2
  30.  
  31. default_color white
  32. default_outline_color white
  33. default_shade_color white
  34. default_bar_size 90 3
  35. default_graph_size 90 20
  36.  
  37. draw_borders no
  38. draw_graph_borders no
  39. draw_outline no
  40. draw_shades no
  41.  
  42. use_xft yes
  43. xftfont Terminus:size=8
  44. gap_x 5
  45. gap_y 5
  46. minimum_size 5 5
  47. maximum_width 90
  48. net_avg_samples 2
  49. no_buffers yes
  50. out_to_console no
  51. out_to_stderr no
  52. extra_newline no
  53.  
  54. own_window yes
  55. own_window_class Conky
  56. #own_window_type desktop
  57. own_window_type override
  58. own_window_argb_visual yes
  59. own_window_transparent yes
  60. double_buffer yes
  61.  
  62. stippled_borders 0
  63. update_interval 1.0
  64. uppercase no
  65. use_spacer none
  66. show_graph_scale no
  67. show_graph_range no
  68.  
  69. TEXT
  70. # hostname
  71. $alignc $kernel
  72.  
  73. # date
  74. $alignc ${time %a %d %b}
  75. $alignc ${time %H:%M}
  76. ${hr}
  77. # cpu1
  78. cpu0${alignr}${freq 1} MHz
  79. ${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}
  80. ${cpugraph cpu1 000000 c0c0c0 -t -l}
  81. ${color c0c0c0}${cpubar cpu1}${color}
  82. # cpu2
  83. cpu1${alignr}${freq 2} MHz
  84. ${execi 5 cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor}
  85. ${cpugraph cpu2 000000 c0c0c0 -t -l}
  86. ${color c0c0c0}${cpubar cpu2}${color}
  87. # cpu3
  88. cpu2${alignr}${freq 3} MHz
  89. ${execi 5 cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor}
  90. ${cpugraph cpu3 000000 c0c0c0 -t -l}
  91. ${color c0c0c0}${cpubar cpu3}${color}
  92. # cpugraph
  93. #${cpugraph cpu1 000000 c0c0c0 -t -l}
  94. #$alignc cpu0
  95. #${cpugraph cpu2 000000 c0c0c0 -t -l}
  96. #$alignc cpu1
  97. #${cpugraph cpu3 000000 c0c0c0 -t -l}
  98. #$alignc cpu2${font :size=6}
  99.  
  100. # top
  101. ${top cpu 1}% ${color grey}${top name 1}$color
  102. ${top cpu 2}% ${color grey}${top name 2}$color
  103. ${top cpu 3}% ${color grey}${top name 3}$color
  104. ${top cpu 4}% ${color grey}${top name 4}$color
  105. #${top cpu 5}% ${color grey}${top name 5}$color
  106.  
  107. # temperature
  108. core $alignr${hwmon 0 temp 1}°C
  109. cpu $alignr${hwmon 1 temp 1}°C
  110. #unk $alignr${hwmon 1 temp 2}°C
  111. System $alignr${hwmon 1 temp 3}°C
  112. #vidia $alignr??°C${font :size=6}
  113.  
  114. sda $alignr${hddtemp /dev/sda}°C
  115. sdb $alignr${hddtemp /dev/sdb}°C
  116. sdc $alignr${hddtemp /dev/sdc}°C
  117. sdd $alignr${hddtemp /dev/sdd}°C
  118.  
  119. # fan speed
  120. #system: $alignr${hwmon 0 fan 1}
  121. #hm1f1: $alignr${hwmon 1 fan 1}
  122. CPU: $alignr${hwmon 1 fan 1}
  123. Power: $alignr${hwmon 1 fan 2}
  124. System: $alignr${hwmon 1 fan 3}
  125. ${hr}
  126. # disk graph
  127. ${diskio /dev/sdc}
  128. ${diskiograph /dev/sdc 000000 c0c0c0 -t -l}
  129. sdc $alignr${ioscheduler /dev/sdc}
  130. ${hr}
  131. ${diskio /dev/sdd}
  132. ${diskiograph /dev/sdd 000000 c0c0c0 -t -l}
  133. sdd $alignr${ioscheduler /dev/sdd}
  134. ${hr}
  135. ${diskio /dev/md127}
  136. ${diskiograph /dev/md127 000000 c0c0c0 -t -l}
  137. md127 $alignr${ioscheduler /dev/sda}/${ioscheduler /dev/sdb}
  138. ${hr}
  139. # top io
  140. #${top_io cpu 1}% ${color grey}${top_io name 1}$color
  141. #${top_io cpu 2}% ${color grey}${top_io name 2}$color
  142. #${top_io cpu 3}% ${color grey}${top_io name 3}$color
  143. #${top_io cpu 4}% ${color grey}${top_io name 4}$color${font :size=6}
  144. # net speed
  145. ${upspeedgraph eth0 000000 c0c0c0 -t -l}
  146. ${downspeedgraph eth0 000000 c0c0c0 -t -l}
  147. U: ${alignr}${upspeed eth0}
  148. D: ${alignr}${downspeed eth0}
  149. ${hr}
  150.  
  151. # free mem
  152. Free${alignr}$memfree
  153. C/B: $alignr$memeasyfree
  154. $membar
  155. C: $alignr$cached
  156. #B: $alignr$buffers${font :size=6}
  157. zswap: $alignr${swap}
  158. uksm: $alignr${execi 5 sudo uksmstat -s}MiB
  159. ${hr}
  160.  
  161. # disk space
  162. root: $alignr${fs_free /}
  163. ${color c0c0c0}${fs_bar /}${color}
  164. var: $alignr${fs_free /var}
  165. ${color c0c0c0}${fs_bar /var}${color}
  166. home: $alignr${fs_free /home}
  167. ${color c0c0c0}${fs_bar /home}${color}
  168. 2: $alignr${fs_free /media/2}
  169. ${color c0c0c0}${fs_bar /media/2}${color}
  170. raid: $alignr${fs_free /media/D}
  171. ${color c0c0c0}${fs_bar /media/D}${color}
  172. tmp: $alignr${fs_free /tmp}
  173. ${color c0c0c0}${fs_bar /tmp}
  174.  
  175. # uptime
  176. $alignc $uptime_short
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement