Conky
From Wiki.cyring.fr
(Difference between revisions)
(11 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | ==== Hardware Monitoring Conky Script V3 ==== | |
- | + | ===== conky.sensors.rc ===== | |
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 112 | ||
+ | own_window yes | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}CPU ${color white}${cpu}${color cyan}%\ | ||
+ | ${goto 64}GPU | ||
+ | ${goto 0}${color white}$freq${font tahoma:size=7}${color green} MHz\ | ||
+ | ${goto 64}${voffset -3}${color white}${font}${texeci 5 echo $((`cat /sys/kernel/debug/dri/0/radeon_pm_info | sed -n 2,1p | cut -b 23-29` / 1000))}\ | ||
+ | ${font tahoma:size=7}${color green} kHz | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ===== conky.sensors.temperature.rc ===== | ||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 180 | ||
+ | own_window yes | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}CPU\ | ||
+ | ${goto 32}IOH\ | ||
+ | ${goto 60}ICH\ | ||
+ | ${goto 88}CASE\ | ||
+ | ${goto 128}GFX\ | ||
+ | ${goto 156}HDD | ||
+ | ${goto 8}\ | ||
+ | ${if_match ${hwmon 2 temp 1} > 60}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 2 temp 1}\ | ||
+ | ${goto 32}\ | ||
+ | ${if_match ${hwmon 2 temp 4} > 65}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 2 temp 4}\ | ||
+ | ${goto 60}\ | ||
+ | ${if_match ${hwmon 2 temp 3} > 65}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 2 temp 3}\ | ||
+ | ${goto 92}\ | ||
+ | ${if_match ${hwmon 2 temp 2} > 39}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 2 temp 2}\ | ||
+ | ${goto 128}\ | ||
+ | ${if_match ${hwmon 2 temp 6} > 45}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 2 temp 6}\ | ||
+ | ${goto 156}\ | ||
+ | ${if_match ${hddtemp /dev/sda} > 45}${color red}${else}${color white}${endif}\ | ||
+ | ${hddtemp /dev/sda}\ | ||
+ | ${color green}°C | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ===== conky.sensors.voltage.rc ===== | ||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 148 | ||
+ | own_window yes | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}CPU\ | ||
+ | ${goto 36}IOH\ | ||
+ | ${goto 72}ICH\ | ||
+ | ${goto 104}DRAM | ||
+ | ${color white}\ | ||
+ | ${goto 0}${hwmon 2 vol 4 1000.0 1.0}\ | ||
+ | ${goto 36}${hwmon 2 vol 9 1000.0 1.0}\ | ||
+ | ${goto 72}${hwmon 2 vol 5 1000.0 1.0}\ | ||
+ | ${goto 104}${hwmon 2 vol 3 1000.0 1.0}\ | ||
+ | ${color green}${font tahoma:size=7} mV | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ===== conky.sensors.fanspeed.rc ===== | ||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 208 | ||
+ | own_window yes | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}CPU\ | ||
+ | ${goto 36}PUMP\ | ||
+ | ${goto 80}CHA2\ | ||
+ | ${goto 120}OPT1\ | ||
+ | ${goto 156}OPT2\ | ||
+ | ${color white} | ||
+ | ${goto 0}${hwmon 2 fan 1}\ | ||
+ | ${goto 36}${hwmon 2 fan 2}\ | ||
+ | ${goto 80}${hwmon 2 fan 3}\ | ||
+ | ${goto 120}${hwmon 2 fan 4}\ | ||
+ | ${goto 156}${hwmon 2 fan 5}\ | ||
+ | ${color green}${font tahoma:size=7} rpm | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ===== conky.sensors.coretemp.rc ===== | ||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 96 | ||
+ | own_window yes | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color white}\ | ||
+ | ${goto 0}${cpu cpu1}\ | ||
+ | ${goto 24}${cpu cpu2}\ | ||
+ | ${goto 48}${cpu cpu3}\ | ||
+ | ${goto 72}${cpu cpu4}\ | ||
+ | ${color cyan} % | ||
+ | ${goto 0}\ | ||
+ | ${if_match ${platform coretemp.0 temp 2} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 2}\ | ||
+ | ${goto 24}\ | ||
+ | ${if_match ${platform coretemp.0 temp 3} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 3}\ | ||
+ | ${goto 48}\ | ||
+ | ${if_match ${platform coretemp.0 temp 4} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 4}\ | ||
+ | ${goto 72}\ | ||
+ | ${if_match ${platform coretemp.0 temp 5} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 5}\ | ||
+ | ${color green}°C | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | |||
+ | ==== Hardware & System Monitoring Conky Script V2 ==== | ||
+ | |||
+ | ===== conky.sensors.rc ===== | ||
+ | |||
+ | http://blog.cyring.fr/wp-content/uploads/2012/04/CyrIng_Conky_Sensors.png | ||
+ | |||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky, a system monitor | ||
+ | # out_to_x no | ||
+ | # out_to_ncurses | ||
+ | alignment top_left | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 856 | ||
+ | #maximum_width 2560 | ||
+ | own_window yes | ||
+ | #own_window_colour 150B0B | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}CPU ${color white}${cpu}${color cyan}%\ | ||
+ | ${goto 88}CPU IOH ICH CASE GPU HDD\ | ||
+ | ${goto 280}CPU IOH ICH DRAM\ | ||
+ | ${goto 432}CPU PUMP CHA2 OPT1 OPT2\ | ||
+ | ${goto 632}c0 c1 c2 c3\ | ||
+ | ${goto 728}GPU${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 7,1p | cut -b 29-35} ${color cyan}@ ${color white}${texeci 5 aticonfig --adapter=0 --od-gettemperature | sed -n 3,1p | cut -b 37-43} | ||
+ | ${goto 0}${color white}$freq ${color green}MHz\ | ||
+ | ${goto 96}\ | ||
+ | ${if_match ${hwmon 1 temp 1} > 60}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 1 temp 1}\ | ||
+ | ${goto 120}\ | ||
+ | ${if_match ${hwmon 1 temp 4} > 65}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 1 temp 4}\ | ||
+ | ${goto 144}\ | ||
+ | ${if_match ${hwmon 1 temp 3} > 65}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 1 temp 3}\ | ||
+ | ${goto 176}\ | ||
+ | ${if_match ${hwmon 1 temp 2} > 39}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 1 temp 2}\ | ||
+ | ${goto 208}\ | ||
+ | ${if_match ${hwmon 1 temp 6} > 45}${color red}${else}${color white}${endif}\ | ||
+ | ${hwmon 1 temp 6}\ | ||
+ | ${goto 232}\ | ||
+ | ${if_match ${hddtemp /dev/sda} > 45}${color red}${else}${color white}${endif}\ | ||
+ | ${hddtemp /dev/sda}\ | ||
+ | ${color green}°C\ | ||
+ | ${goto 280}${color white}${hwmon 1 vol 4 1000.0 1.0}${goto 312}${hwmon 1 vol 9 1000.0 1.0}${goto 344}${hwmon 1 vol 5 1000.0 1.0}${goto 376}${hwmon 1 vol 3 1000.0 1.0}\ | ||
+ | ${goto 432}${color white}${hwmon 1 fan 1}${goto 468}${hwmon 1 fan 2}${goto 508}${hwmon 1 fan 3}${goto 544}${hwmon 1 fan 4}${goto 580}${hwmon 1 fan 5}\ | ||
+ | ${goto 632}\ | ||
+ | ${if_match ${platform coretemp.0 temp 2} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 2} \ | ||
+ | ${if_match ${platform coretemp.0 temp 3} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 3} \ | ||
+ | ${if_match ${platform coretemp.0 temp 4} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 4} \ | ||
+ | ${if_match ${platform coretemp.0 temp 5} > 80}${color red}${else}${color white}${endif}\ | ||
+ | ${platform coretemp.0 temp 5}\ | ||
+ | ${color green}°C\ | ||
+ | ${goto 740}${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 4,1p | cut -b 31-35}${color cyan} /${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 4,1p | cut -b 45-48} ${color green}MHz | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ===== conky.linux.rc ===== | ||
+ | |||
+ | http://blog.cyring.fr/wp-content/uploads/2012/04/CyrIng_Conky_Linux.png | ||
+ | |||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | # Conky, a system monitor | ||
+ | # out_to_x no | ||
+ | # out_to_ncurses | ||
+ | alignment top_right | ||
+ | background no | ||
+ | border_inner_margin 0 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | minimum_size 848 | ||
+ | #maximum_width 2560 | ||
+ | own_window yes | ||
+ | #own_window_colour 150B0B | ||
+ | own_window_colour 000000 | ||
+ | own_window_transparent yes | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_type normal | ||
+ | own_window_class conky-semi | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | use_xft yes | ||
+ | xftfont Nasalization:size=9 | ||
+ | short_units yes | ||
+ | update_interval 3.0 | ||
+ | # | ||
+ | TEXT | ||
+ | ${color cyan}\ | ||
+ | ${goto 0}${kernel}\ | ||
+ | ${goto 96}Memory\ | ||
+ | ${goto 192}Process\ | ||
+ | ${goto 256}Thread\ | ||
+ | ${goto 320}/root\ | ||
+ | ${goto 408}/users\ | ||
+ | ${goto 496}/data\ | ||
+ | ${goto 592}SSD r/w\ | ||
+ | ${goto 680}HD r/w\ | ||
+ | ${goto 768}Net U/D | ||
+ | ${goto 0}${color white}${uptime}\ | ||
+ | ${goto 96}${color white}$mem${color cyan}/${color white}${memmax}\ | ||
+ | ${goto 192}${color white}$running_processes${color cyan}/${color white}$processes\ | ||
+ | ${goto 256}${color white}$running_threads${color cyan}/${color white}$threads\ | ||
+ | ${goto 320}${color white}${fs_free /}${color cyan}/${color white}${fs_size /}\ | ||
+ | ${goto 408}${color white}${fs_free /users}${color cyan}/${color white}${fs_size /users}\ | ||
+ | ${goto 496}${color white}${fs_free /data}${color cyan}/${color white}${fs_size /data}\ | ||
+ | ${goto 592}${diskio_read /dev/sdb}${color cyan}/${color white}${diskio_write /dev/sdb}\ | ||
+ | ${goto 680}${diskio_read /dev/sda}${color cyan}/${color white}${diskio_write /dev/sda}\ | ||
+ | ${goto 768}${upspeed eth0}${color cyan}/${color white}${downspeed eth0} | ||
+ | </syntaxhighlight> | ||
+ | <br /> | ||
+ | ==== Hardware Monitoring Conky Script V1 ==== | ||
+ | |||
+ | ===== conky.rc ===== | ||
+ | |||
+ | http://blog.cyring.fr/wp-content/uploads/2010/01/hwmon.png | ||
+ | |||
+ | <syntaxhighlight lang="lua" line start="1"> | ||
+ | alignment bottom_middle | ||
+ | background no | ||
+ | border_inner_margin 1 | ||
+ | border_outer_margin 1 | ||
+ | border_width 0 | ||
+ | cpu_avg_samples 2 | ||
+ | default_color white | ||
+ | default_outline_color white | ||
+ | default_shade_color white | ||
+ | double_buffer yes | ||
+ | draw_borders no | ||
+ | draw_graph_borders no | ||
+ | draw_outline no | ||
+ | draw_shades no | ||
+ | format_human_readable yes | ||
+ | gap_x 0 | ||
+ | gap_y 0 | ||
+ | #minimum_size 5 5 | ||
+ | #maximum_width 1280 | ||
+ | net_avg_samples 2 | ||
+ | no_buffers yes | ||
+ | out_to_console no | ||
+ | out_to_stderr no | ||
+ | extra_newline no | ||
+ | own_window yes | ||
+ | own_window_class Conky | ||
+ | own_window_colour #000000 | ||
+ | #own_window_hints above | ||
+ | own_window_hints undecorated,sticky,skip_taskbar,skip_pager | ||
+ | own_window_argb_visual yes | ||
+ | own_window_argb_value 56 | ||
+ | own_window_transparent yes | ||
+ | own_window_type panel | ||
+ | stippled_borders 0 | ||
+ | short_units yes | ||
+ | show_graph_scale no | ||
+ | show_graph_range no | ||
+ | update_interval 2.0 | ||
+ | uppercase no | ||
+ | use_spacer none | ||
+ | use_xft yes | ||
+ | xftfont Monospace:size=9 | ||
+ | |||
+ | TEXT | ||
+ | ${goto 80}\ | ||
+ | $color${cpu cpu0}%${color lightblue} ${cpubar cpu0 11,80} \ | ||
+ | $color${cpu cpu1}%${color lightblue} ${cpubar cpu1 11,80} \ | ||
+ | $color${cpu cpu2}%${color lightblue} ${cpubar cpu2 11,80} \ | ||
+ | $color${cpu cpu3}%${color lightblue} ${cpubar cpu3 11,80} \ | ||
+ | $color${cpu cpu4}%${color lightblue} ${cpubar cpu4 11,80} \ | ||
+ | $color${cpu cpu5}%${color lightblue} ${cpubar cpu5 11,80} \ | ||
+ | $color${cpu cpu6}%${color lightblue} ${cpubar cpu6 11,80} \ | ||
+ | $color${cpu cpu7}%${color lightblue} ${cpubar cpu7 11,80} \ | ||
+ | ${goto 972}${color darkgrey}\ | ||
+ | ${fs_bar 11,80 /} \ | ||
+ | ${fs_bar 11,80 /users} \ | ||
+ | ${fs_bar 11,80 /data}\ | ||
+ | ${voffset -1}${font Monospace:size=8}$color\ | ||
+ | ${goto 136}${platform coretemp.0 temp 2}°\ | ||
+ | ${goto 246}${platform coretemp.0 temp 3}°\ | ||
+ | ${goto 352}${platform coretemp.0 temp 4}°\ | ||
+ | ${goto 464}${platform coretemp.0 temp 5}°\ | ||
+ | ${goto 568}00°\ | ||
+ | ${goto 676}00°\ | ||
+ | ${goto 784}00°\ | ||
+ | ${goto 890}00°\ | ||
+ | ${goto 978}${color yellow}/root $color${fs_free /}\ | ||
+ | ${goto 1064}${color yellow}/users $color${fs_free /users}\ | ||
+ | ${goto 1152}${color yellow}/data $color${fs_free /data} | ||
+ | ${font Monospace:size=14}${goto 6}${voffset -12}${color darkred}$freq${font Monospace:size=8}${color lightgrey}MHz${voffset +4}\ | ||
+ | ${goto 80}${font Monospace:size=9}\ | ||
+ | ${color lightblue}CPU$color${hwmon 1 temp 1}° \ | ||
+ | ${color lightblue}IOH$color${hwmon 1 temp 4}° \ | ||
+ | ${color lightblue}ICH$color${hwmon 1 temp 3}° \ | ||
+ | ${color lightblue}CASE$color${hwmon 1 temp 2}° \ | ||
+ | ${color lightblue}GPU$color${hwmon 1 temp 6}° \ | ||
+ | ${color lightblue}HDD$color${hddtemp /dev/sda}° \ | ||
+ | ${color lightblue}VCORE$color${hwmon 1 vol 4 1000.0 1.0} \ | ||
+ | ${color lightblue}IOH$color${hwmon 1 vol 9 1000.0 1.0} \ | ||
+ | ${color lightblue}ICH$color${hwmon 1 vol 5 1000.0 1.0} \ | ||
+ | ${color lightblue}DRAM$color${hwmon 1 vol 3 1000.0 1.0} \ | ||
+ | +${hwmon 1 vol 0} \ | ||
+ | +${hwmon 1 vol 1} \ | ||
+ | +${hwmon 1 vol 2} \ | ||
+ | ${color lightblue}Fans$color${hwmon 1 fan 1}${color lightblue}/$color${hwmon 1 fan 2}${color lightblue}/$color${hwmon 1 fan 3}${color lightblue}/$color${hwmon 1 fan 4}${color lightblue}/$color${hwmon 1 fan 5}\ | ||
+ | ${goto 930}${color darkgrey}${membar 11,100}\ | ||
+ | ${goto 936}${font Monospace:size=8}${voffset -1}${color yellow}Mem$color $mem${color lightblue}/$color$memmax${voffset -1}${font Monospace:size=9}\ | ||
+ | ${goto 1040}${color lightblue}U${color lightblue}=$color${upspeed eth0}${goto 1096}${color lightblue}D${color lightblue}=$color${downspeed eth0} \ | ||
+ | ${goto 1152}${color lightblue}P${color lightblue}=$color$running_processes${color blue}/$color$processes ${color lightblue}T${color lightblue}=$color$running_threads${color blue}/$color$threads\ | ||
+ | </syntaxhighlight> |
Latest revision as of 08:53, 4 May 2012
Contents |
Hardware Monitoring Conky Script V3
conky.sensors.rc
# Conky
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 112
own_window yes
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}CPU ${color white}${cpu}${color cyan}%\
${goto 64}GPU
${goto 0}${color white}$freq${font tahoma:size=7}${color green} MHz\
${goto 64}${voffset -3}${color white}${font}${texeci 5 echo $((`cat /sys/kernel/debug/dri/0/radeon_pm_info | sed -n 2,1p | cut -b 23-29` / 1000))}\
${font tahoma:size=7}${color green} kHz
conky.sensors.temperature.rc
# Conky
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 180
own_window yes
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}CPU\
${goto 32}IOH\
${goto 60}ICH\
${goto 88}CASE\
${goto 128}GFX\
${goto 156}HDD
${goto 8}\
${if_match ${hwmon 2 temp 1} > 60}${color red}${else}${color white}${endif}\
${hwmon 2 temp 1}\
${goto 32}\
${if_match ${hwmon 2 temp 4} > 65}${color red}${else}${color white}${endif}\
${hwmon 2 temp 4}\
${goto 60}\
${if_match ${hwmon 2 temp 3} > 65}${color red}${else}${color white}${endif}\
${hwmon 2 temp 3}\
${goto 92}\
${if_match ${hwmon 2 temp 2} > 39}${color red}${else}${color white}${endif}\
${hwmon 2 temp 2}\
${goto 128}\
${if_match ${hwmon 2 temp 6} > 45}${color red}${else}${color white}${endif}\
${hwmon 2 temp 6}\
${goto 156}\
${if_match ${hddtemp /dev/sda} > 45}${color red}${else}${color white}${endif}\
${hddtemp /dev/sda}\
${color green}°C
conky.sensors.voltage.rc
# Conky
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 148
own_window yes
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}CPU\
${goto 36}IOH\
${goto 72}ICH\
${goto 104}DRAM
${color white}\
${goto 0}${hwmon 2 vol 4 1000.0 1.0}\
${goto 36}${hwmon 2 vol 9 1000.0 1.0}\
${goto 72}${hwmon 2 vol 5 1000.0 1.0}\
${goto 104}${hwmon 2 vol 3 1000.0 1.0}\
${color green}${font tahoma:size=7} mV
conky.sensors.fanspeed.rc
# Conky
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 208
own_window yes
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}CPU\
${goto 36}PUMP\
${goto 80}CHA2\
${goto 120}OPT1\
${goto 156}OPT2\
${color white}
${goto 0}${hwmon 2 fan 1}\
${goto 36}${hwmon 2 fan 2}\
${goto 80}${hwmon 2 fan 3}\
${goto 120}${hwmon 2 fan 4}\
${goto 156}${hwmon 2 fan 5}\
${color green}${font tahoma:size=7} rpm
conky.sensors.coretemp.rc
# Conky
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 96
own_window yes
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color white}\
${goto 0}${cpu cpu1}\
${goto 24}${cpu cpu2}\
${goto 48}${cpu cpu3}\
${goto 72}${cpu cpu4}\
${color cyan} %
${goto 0}\
${if_match ${platform coretemp.0 temp 2} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 2}\
${goto 24}\
${if_match ${platform coretemp.0 temp 3} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 3}\
${goto 48}\
${if_match ${platform coretemp.0 temp 4} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 4}\
${goto 72}\
${if_match ${platform coretemp.0 temp 5} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 5}\
${color green}°C
Hardware & System Monitoring Conky Script V2
conky.sensors.rc
# Conky, a system monitor
# out_to_x no
# out_to_ncurses
alignment top_left
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 856
#maximum_width 2560
own_window yes
#own_window_colour 150B0B
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}CPU ${color white}${cpu}${color cyan}%\
${goto 88}CPU IOH ICH CASE GPU HDD\
${goto 280}CPU IOH ICH DRAM\
${goto 432}CPU PUMP CHA2 OPT1 OPT2\
${goto 632}c0 c1 c2 c3\
${goto 728}GPU${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 7,1p | cut -b 29-35} ${color cyan}@ ${color white}${texeci 5 aticonfig --adapter=0 --od-gettemperature | sed -n 3,1p | cut -b 37-43}
${goto 0}${color white}$freq ${color green}MHz\
${goto 96}\
${if_match ${hwmon 1 temp 1} > 60}${color red}${else}${color white}${endif}\
${hwmon 1 temp 1}\
${goto 120}\
${if_match ${hwmon 1 temp 4} > 65}${color red}${else}${color white}${endif}\
${hwmon 1 temp 4}\
${goto 144}\
${if_match ${hwmon 1 temp 3} > 65}${color red}${else}${color white}${endif}\
${hwmon 1 temp 3}\
${goto 176}\
${if_match ${hwmon 1 temp 2} > 39}${color red}${else}${color white}${endif}\
${hwmon 1 temp 2}\
${goto 208}\
${if_match ${hwmon 1 temp 6} > 45}${color red}${else}${color white}${endif}\
${hwmon 1 temp 6}\
${goto 232}\
${if_match ${hddtemp /dev/sda} > 45}${color red}${else}${color white}${endif}\
${hddtemp /dev/sda}\
${color green}°C\
${goto 280}${color white}${hwmon 1 vol 4 1000.0 1.0}${goto 312}${hwmon 1 vol 9 1000.0 1.0}${goto 344}${hwmon 1 vol 5 1000.0 1.0}${goto 376}${hwmon 1 vol 3 1000.0 1.0}\
${goto 432}${color white}${hwmon 1 fan 1}${goto 468}${hwmon 1 fan 2}${goto 508}${hwmon 1 fan 3}${goto 544}${hwmon 1 fan 4}${goto 580}${hwmon 1 fan 5}\
${goto 632}\
${if_match ${platform coretemp.0 temp 2} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 2} \
${if_match ${platform coretemp.0 temp 3} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 3} \
${if_match ${platform coretemp.0 temp 4} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 4} \
${if_match ${platform coretemp.0 temp 5} > 80}${color red}${else}${color white}${endif}\
${platform coretemp.0 temp 5}\
${color green}°C\
${goto 740}${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 4,1p | cut -b 31-35}${color cyan} /${color white}${texeci 5 aticonfig --adapter=0 --od-getclocks | sed -n 4,1p | cut -b 45-48} ${color green}MHz
conky.linux.rc
# Conky, a system monitor
# out_to_x no
# out_to_ncurses
alignment top_right
background no
border_inner_margin 0
border_outer_margin 1
border_width 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
minimum_size 848
#maximum_width 2560
own_window yes
#own_window_colour 150B0B
own_window_colour 000000
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 56
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
use_xft yes
xftfont Nasalization:size=9
short_units yes
update_interval 3.0
#
TEXT
${color cyan}\
${goto 0}${kernel}\
${goto 96}Memory\
${goto 192}Process\
${goto 256}Thread\
${goto 320}/root\
${goto 408}/users\
${goto 496}/data\
${goto 592}SSD r/w\
${goto 680}HD r/w\
${goto 768}Net U/D
${goto 0}${color white}${uptime}\
${goto 96}${color white}$mem${color cyan}/${color white}${memmax}\
${goto 192}${color white}$running_processes${color cyan}/${color white}$processes\
${goto 256}${color white}$running_threads${color cyan}/${color white}$threads\
${goto 320}${color white}${fs_free /}${color cyan}/${color white}${fs_size /}\
${goto 408}${color white}${fs_free /users}${color cyan}/${color white}${fs_size /users}\
${goto 496}${color white}${fs_free /data}${color cyan}/${color white}${fs_size /data}\
${goto 592}${diskio_read /dev/sdb}${color cyan}/${color white}${diskio_write /dev/sdb}\
${goto 680}${diskio_read /dev/sda}${color cyan}/${color white}${diskio_write /dev/sda}\
${goto 768}${upspeed eth0}${color cyan}/${color white}${downspeed eth0}
Hardware Monitoring Conky Script V1
conky.rc
alignment bottom_middle
background no
border_inner_margin 1
border_outer_margin 1
border_width 0
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
format_human_readable yes
gap_x 0
gap_y 0
#minimum_size 5 5
#maximum_width 1280
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window yes
own_window_class Conky
own_window_colour #000000
#own_window_hints above
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 56
own_window_transparent yes
own_window_type panel
stippled_borders 0
short_units yes
show_graph_scale no
show_graph_range no
update_interval 2.0
uppercase no
use_spacer none
use_xft yes
xftfont Monospace:size=9
TEXT
${goto 80}\
$color${cpu cpu0}%${color lightblue} ${cpubar cpu0 11,80} \
$color${cpu cpu1}%${color lightblue} ${cpubar cpu1 11,80} \
$color${cpu cpu2}%${color lightblue} ${cpubar cpu2 11,80} \
$color${cpu cpu3}%${color lightblue} ${cpubar cpu3 11,80} \
$color${cpu cpu4}%${color lightblue} ${cpubar cpu4 11,80} \
$color${cpu cpu5}%${color lightblue} ${cpubar cpu5 11,80} \
$color${cpu cpu6}%${color lightblue} ${cpubar cpu6 11,80} \
$color${cpu cpu7}%${color lightblue} ${cpubar cpu7 11,80} \
${goto 972}${color darkgrey}\
${fs_bar 11,80 /} \
${fs_bar 11,80 /users} \
${fs_bar 11,80 /data}\
${voffset -1}${font Monospace:size=8}$color\
${goto 136}${platform coretemp.0 temp 2}°\
${goto 246}${platform coretemp.0 temp 3}°\
${goto 352}${platform coretemp.0 temp 4}°\
${goto 464}${platform coretemp.0 temp 5}°\
${goto 568}00°\
${goto 676}00°\
${goto 784}00°\
${goto 890}00°\
${goto 978}${color yellow}/root $color${fs_free /}\
${goto 1064}${color yellow}/users $color${fs_free /users}\
${goto 1152}${color yellow}/data $color${fs_free /data}
${font Monospace:size=14}${goto 6}${voffset -12}${color darkred}$freq${font Monospace:size=8}${color lightgrey}MHz${voffset +4}\
${goto 80}${font Monospace:size=9}\
${color lightblue}CPU$color${hwmon 1 temp 1}° \
${color lightblue}IOH$color${hwmon 1 temp 4}° \
${color lightblue}ICH$color${hwmon 1 temp 3}° \
${color lightblue}CASE$color${hwmon 1 temp 2}° \
${color lightblue}GPU$color${hwmon 1 temp 6}° \
${color lightblue}HDD$color${hddtemp /dev/sda}° \
${color lightblue}VCORE$color${hwmon 1 vol 4 1000.0 1.0} \
${color lightblue}IOH$color${hwmon 1 vol 9 1000.0 1.0} \
${color lightblue}ICH$color${hwmon 1 vol 5 1000.0 1.0} \
${color lightblue}DRAM$color${hwmon 1 vol 3 1000.0 1.0} \
+${hwmon 1 vol 0} \
+${hwmon 1 vol 1} \
+${hwmon 1 vol 2} \
${color lightblue}Fans$color${hwmon 1 fan 1}${color lightblue}/$color${hwmon 1 fan 2}${color lightblue}/$color${hwmon 1 fan 3}${color lightblue}/$color${hwmon 1 fan 4}${color lightblue}/$color${hwmon 1 fan 5}\
${goto 930}${color darkgrey}${membar 11,100}\
${goto 936}${font Monospace:size=8}${voffset -1}${color yellow}Mem$color $mem${color lightblue}/$color$memmax${voffset -1}${font Monospace:size=9}\
${goto 1040}${color lightblue}U${color lightblue}=$color${upspeed eth0}${goto 1096}${color lightblue}D${color lightblue}=$color${downspeed eth0} \
${goto 1152}${color lightblue}P${color lightblue}=$color$running_processes${color blue}/$color$processes ${color lightblue}T${color lightblue}=$color$running_threads${color blue}/$color$threads\