Skip to content

Instantly share code, notes, and snippets.

@brentp
Created June 15, 2009 18:48
Show Gist options
  • Save brentp/130265 to your computer and use it in GitHub Desktop.
Save brentp/130265 to your computer and use it in GitHub Desktop.
conkyrc
# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want conky to be forked in the background
background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-7
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 4.0
# Create own window instead of using desktop (required in nautilus)
own_window_transparent yes
own_window_color #cccccc
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 280 5
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 9
# border width
border_width 1
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
gap_x 24
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# stuff after 'TEXT' will be formatted on screen
TEXT
${color #ffcb48}$nodename$color ${color #828282}$sysname $kernel on $machine$color
${color #ffcb48}IO$color
$diskio ${color #78af78}read / write:$color $diskio_read / $diskio_write
read ${diskiograph_read log 16,300 78af78 a3a3a3}
write ${diskiograph_write log 16,300 78af78 a3a3a3}
${color #ffcb48}PROCESSING$color
${color #98c2c7}CPU:$color total: $cpu%
${color #78af78}${cpu cpu1}% ${cpubar cpu1}
${cpu cpu2}% ${cpubar cpu2}
${cpu cpu3}% ${cpubar cpu3}
${cpu cpu4}% ${cpubar cpu4}
${cpu cpu5}% ${cpubar cpu5}
${cpu cpu6}% ${cpubar cpu6}
${cpu cpu7}% ${cpubar cpu7}
${cpu cpu8}% ${cpubar cpu8}
${color #78af78}${cpugraph log 78af78 a3a3a3}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #a3a3a3}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color #a3a3a3}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #a3a3a3}${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color #ffcb48}DATA$color
${color #98c2c7}RAM:$color $memperc% ${color
#78af78}${membar 6}${color}
${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color #c4c4c4}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color #a3a3a3}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color #828282}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color #98c2c7}Swap:$color $swapperc% ${color
#78af78}${swapbar 6}$color
${color #98c2c7}/:$color ${fs_free_perc /}% $fs_free ${color
#78af78}${fs_bar 6 /}$color
${color #98c2c7}Upload:$color ${upspeed eth0}kb/s${color #98c2c7}
Download:$color ${downspeed eth0}kb/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment