b5843d2ad87f2ea957d4879ee5c85ffe7ceb6d93
[monky] / doc / conky.conf
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
7 # set to yes if you want Conky to be forked in the background
8 background no
9
10 # X font when Xft is disabled, you can pick one with program xfontsel
11 #font 5x7
12 #font 6x10
13 #font 7x13
14 #font 8x13
15 #font 9x15
16 #font *mintsmild.se*
17 #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
18
19 # Use Xft?
20 use_xft yes
21
22 # Xft font when Xft is enabled
23 xftfont Bitstream Vera Sans Mono:size=8
24
25 # Text alpha when using Xft
26 xftalpha 0.8
27
28 # Print everything to stdout?
29 # out_to_console no
30
31 # ... or maybe to stderr ?
32 # out_to_stderr no
33
34 # MPD host/port
35 # mpd_host localhost
36 # mpd_port 6600
37 # mpd_password tinker_bell
38
39 # Print everything to console?
40 # out_to_console no
41
42 # mail spool
43 mail_spool $MAIL
44
45 # Update interval in seconds
46 update_interval 5.0
47
48 # This is the number of times Conky will update before quitting.
49 # Set to zero to run forever.
50 total_run_times 0
51
52 # Create own window instead of using desktop (required in nautilus)
53 own_window yes
54
55 # If own_window is yes, you may use type normal, desktop, dock or override
56 own_window_type normal
57
58 # Use pseudo transparency with own_window?
59 own_window_transparent yes
60
61 # If own_window_transparent is set to no, you can set the background colour here
62 own_window_colour hotpink
63
64 # If own_window is yes, these window manager hints may be used
65 #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
66
67 # Use double buffering (reduces flicker, may not work for everyone)
68 double_buffer yes
69
70 # Minimum size of text area
71 minimum_size 280 5
72
73 # Draw shades?
74 draw_shades yes
75
76 # Draw outlines?
77 draw_outline no
78
79 # Draw borders around text
80 draw_borders yes
81
82 # Draw borders around graphs
83 draw_graph_borders yes
84
85 # Stippled borders?
86 stippled_borders 8
87
88 # border margins
89 border_margin 4
90
91 # border width
92 border_width 1
93
94 # Default colors and also border colors
95 default_color white
96 default_shade_color black
97 default_outline_color black
98
99 # Text alignment, other possible values are commented
100 #alignment top_left
101 #alignment top_right
102 alignment bottom_left
103 #alignment bottom_right
104 #alignment none
105
106 # Gap between borders of screen and text
107 # same thing as passing -x at command line
108 gap_x 12
109 gap_y 12
110
111 # Subtract file system buffers from used memory?
112 no_buffers yes
113
114 # set to yes if you want all text to be in uppercase
115 uppercase no
116
117 # number of cpu samples to average
118 # set to 1 to disable averaging
119 cpu_avg_samples 2
120
121 # number of net samples to average
122 # set to 1 to disable averaging
123 net_avg_samples 2
124
125 # Force UTF8? note that UTF8 support required XFT
126 override_utf8_locale no
127
128 # Add spaces to keep things from moving about?  This only affects certain objects.
129 use_spacer none
130
131 # Shows the maximum value in scaled graphs.
132 show_graph_scale no
133
134 # Shows the time range covered by a graph.
135 show_graph_range no
136
137 # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
138 #max_port_monitor_connections 256
139
140 # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
141 #max_specials 512
142
143 # Maximum size of buffer for user text, i.e. below TEXT line.
144 #max_user_text 16384
145
146 # Timing interval for music player thread, e.g. mpd, audacious
147 #music_player_interval (update_interval is default)
148
149 # Strictness of if_up. One of: up, link or address. The later ones imply the further ones.
150 # Defaults to up.
151 #if_up_strictness address
152
153 # Output unit for all temperature related variables. Use either one of
154 # fahrenheit or celsius, defaults to celsius.
155 #temperature_unit celsius
156
157 # Templates to simplify stuff below 'TEXT'. The following example aids in
158 # displaying filesystem usage for a given partition and can be used below
159 # 'TEXT' like so:
160 # | ${template0 boot /dev/sda1}
161 # | ${template0 root /dev/sda3}
162 #template0 \1: ${fs_free_perc \2} ${fs_bar 4,100 \2} ${fs_free \2} / ${fs_used \2}
163
164 # Note on general syntax:
165 # variable is given either in format $variable or in ${variable}. Later
166 # allows characters right after the variable and must be used to pass
167 # parameters to the variable.
168
169 # stuff after 'TEXT' will be formatted on screen
170
171 TEXT
172 $nodename - $sysname $kernel on $machine
173 $stippled_hr
174 ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
175 ${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
176 ${color red}${cpugraph 0000ff 00ff00}
177 ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
178 ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
179 ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
180 $color$stippled_hr
181 ${color lightgrey}Networking:
182  Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
183 ${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
184 ${color lightgrey}File systems:
185  / $color${fs_used /}/${fs_size /} ${fs_bar /}
186 ${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
187 ${color #88aadd}$mpd_bar
188 ${color #88aadd}${alignc}$mpd_status
189 ${color}Name              PID     CPU%   MEM%
190 ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
191 ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
192 ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
193 ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
194 ${color}Mem usage
195 ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
196 ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
197 ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
198 $stippled_hr
199 ${color #ddaa00}Port(s)${alignr}#Connections
200 $color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
201 ${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
202  ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
203  ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
204  ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
205  ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
206  ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
207  ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
208 ${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
209  ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
210  ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
211  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
212  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
213  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
214  ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}