BSD Stuff


conky

1 September 2006, 18:02

This is my skeleton /home/user/.conkyrc file for my FreeBSD systems.

# cd /home/user/
# vim .conkyrc
#Code
0001background yes
0002cpu_avg_samples 2
0003net_avg_samples 2
0004out_to_console no
0005use_xft yes
0006xftfont monospace-9
0007xftalpha 1
0008update_interval 1
0009double_buffer yes
0010minimum_size 5 5
0011maximum_width 300
0012draw_shades no
0013draw_outline no
0014draw_borders no
0015stippled_borders 0
0016border_margin 10
0017border_width 1
0018default_color grey
0019default_shade_color grey
0020default_outline_color grey
0021alignment top_left
0022gap_x 20
0023gap_y 200
0024use_spacer yes
0025no_buffers yes
0026uppercase no
0027 
0028TEXT
0029[$nodename ${alignr}$kernel]
0030${alignr}Load: $loadavg
0031 
0032CPU: ${cpu cpu}% ${alignr}
0033Processes: ${processes} ${alignr}Running: ${running_processes}
0034ram: ${mem}/${memmax} ${alignr}$memperc%
0035${color #333333}$membar${color grey}
0036swap: ${swap}/${swapmax} ${alignr}$swapperc%
0037${color #333333}$swapbar${color grey}
0038 
0039rl0 ${alignr}${addr rl0}
0040down: ${downspeedf rl0}k/s ${alignr}up: ${upspeedf rl0}k/s
0041${downspeedgraph rl0 20,148 990033 cc3300} ${alignr}${upspeedgraph rl0 20,148 990033 cc3300}
0042Total: ${totaldown rl0} ${alignr}Total: ${totalup rl0}
0043 
0044Disk IO: ${diskio}/s
0045${alignc}${diskiograph 20,300 990033 cc3300}
0046 usr: ${fs_used /usr}/${fs_size /usr} ${alignr}(${fs_free /usr} ${fs_free_perc /usr}% free)
0047${color #333333}${fs_bar /usr}${color grey}
0048 gaia: ${fs_used /gaia}/${fs_size /gaia} ${alignr}(${fs_free /gaia} ${fs_free_perc /gaia}% free)
0049${color #333333}${fs_bar /gaia}${color grey}
0050 lexx: ${fs_used /lexx}/${fs_size /lexx} ${alignr}(${fs_free /lexx} ${fs_free_perc /lexx}% free)
0051${color #333333}${fs_bar /lexx}${color grey}
0052 farout: ${fs_used /farout}/${fs_size /farout} ${alignr}(${fs_free /farout} ${fs_free_perc /farout}% free)
0053${color #333333}${fs_bar /farout}${color grey}
0054 
0055Highest CPU PID %CPU %MEM
0056 ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
0057 ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
0058 ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
0059 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
0060Highest MEM PID %CPU %MEM
0061 ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
0062 ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
0063 ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
0064 ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
0065 

Page 1 of 1