keywords
[monky] / doc / conkyrc.sample
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
20 # Use Xft?
21 use_xft yes
22
23 # Xft font when Xft is enabled
24 xftfont Bitstream Vera Sans Mono:size=8
25
26 # Text alpha when using Xft
27 xftalpha 0.8
28
29 # Print everything to stdout?
30 # out_to_console no
31
32 # MPD host/port
33 # mpd_host localhost
34 # mpd_port 6600
35 # mpd_password tinker_bell
36
37 # Print everything to console?
38 # out_to_console no
39
40 # mail spool
41 mail_spool $MAIL
42
43 # Update interval in seconds
44 update_interval 5.0
45
46 # This is the number of times Conky will update before quitting.
47 # Set to zero to run forever.
48 total_run_times 0
49
50 # Create own window instead of using desktop (required in nautilus)
51 own_window yes
52
53 # If own_window is yes, you may use type normal, desktop or override
54 own_window_type normal
55
56 # Use pseudo transparency with own_window?
57 own_window_transparent yes
58
59 # If own_window_transparent is set to no, you can set the background colour here
60 own_window_colour hotpink
61
62 # If own_window is yes, these window manager hints may be used
63 #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
64
65 # Use double buffering (reduces flicker, may not work for everyone)
66 double_buffer yes
67
68 # Minimum size of text area
69 minimum_size 280 5
70
71 # Draw shades?
72 draw_shades yes
73
74 # Draw outlines?
75 draw_outline no
76
77 # Draw borders around text
78 draw_borders yes
79
80 # Draw borders around graphs
81 draw_graph_borders yes
82
83 # Stippled borders?
84 stippled_borders 8
85
86 # border margins
87 border_margin 4
88
89 # border width
90 border_width 1
91
92 # Default colors and also border colors
93 default_color white
94 default_shade_color black
95 default_outline_color black
96
97 # Text alignment, other possible values are commented
98 #alignment top_left
99 #alignment top_right
100 alignment bottom_left
101 #alignment bottom_right
102 #alignment none
103
104 # Gap between borders of screen and text
105 # same thing as passing -x at command line
106 gap_x 12
107 gap_y 12
108
109 # Subtract file system buffers from used memory?
110 no_buffers yes
111
112 # set to yes if you want all text to be in uppercase
113 uppercase no
114
115 # number of cpu samples to average
116 # set to 1 to disable averaging
117 cpu_avg_samples 2
118
119 # number of net samples to average
120 # set to 1 to disable averaging
121 net_avg_samples 2
122
123 # Force UTF8? note that UTF8 support required XFT
124 override_utf8_locale no
125
126 # Add spaces to keep things from moving about?  This only affects certain objects.
127 use_spacer no
128
129 # Maximum size of buffer for user text, i.e. below TEXT line.
130 #max_user_text 16384
131
132 # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) 
133 #min_port_monitors 16
134
135 # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
136 #min_port_monitor_connections 256
137
138 # variable is given either in format $variable or in ${variable}. Latter
139 # allows characters right after the variable and must be used in network
140 # stuff because of an argument
141
142 # stuff after 'TEXT' will be formatted on screen
143
144 TEXT
145 $nodename - $sysname $kernel on $machine
146 $stippled_hr
147 ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
148 ${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
149 ${color red}${cpugraph 0000ff 00ff00}
150 ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc% ${membar}
151 ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
152 ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
153 $color$stippled_hr
154 ${color lightgrey}Networking:
155  Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 80}Up:${color #22ccff} ${upspeed eth0} k/s
156 ${color #0000ff}${downspeedgraph eth0 32,150 ff0000 0000ff} ${color #22ccff}${upspeedgraph eth0 32,150 0000ff ff0000}
157 ${color lightgrey}File systems:
158  / $color${fs_used /}/${fs_size /} ${fs_bar /}
159 ${color #88aadd}MPD: ${alignc}$mpd_artist - $mpd_title
160 ${color #88aadd}$mpd_bar
161 ${color #88aadd}${alignc}$mpd_status
162 ${color}Name              PID     CPU%   MEM%
163 ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
164 ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
165 ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
166 ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
167 ${color}Mem usage
168 ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
169 ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
170 ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
171 ${tail /var/log/Xorg.0.log 3 30}
172 $stippled_hr
173 ${color #ddaa00}Port(s)${alignr}#Connections   
174 $color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
175 ${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
176  ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
177  ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
178  ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
179  ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
180  ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
181  ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
182 ${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color
183  ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
184  ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
185  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
186  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
187  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
188  ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}