All pastes #475307 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-07 11:22 UTC
rendered paste body
# UBUNTU-CONKY 
# A comprehensive conky script, configured for use on 
# Ubuntu / Debian Gnome, without the need for any external scripts. 
# 
# Based on conky-jc and the default .conkyrc. 
# INCLUDES: 
# - tail of /var/log/messages 
# - netstat connections to your computer 
# 
# -- Pengo (c...@pengo.us) 
# 
 
# Create own window instead of using desktop (required in nautilus) 
own_window no 
own_window_type override 
own_window_transparent yes 
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager 
 
# Use double buffering (reduces flicker, may not work for everyone) 
double_buffer yes 
 
# fiddle with window 
use_spacer yes 
use_xft no 
 
# Update interval in seconds 
update_interval 1.0 
 
# Minimum size of text area 
# minimum_size 250 5 
 
# Draw shades? 
draw_shades no 
 
# Text stuff 
draw_outline no # amplifies text if yes 
draw_borders no 
font monospace:style=Bold:pixelsize=20 
font 8x13 
uppercase no # set to yes if you want all text to be in uppercase 
 
 
# Stippled borders? 
stippled_borders 3 
 
# border margins 
border_margin 9 
 
# border width 
border_width 10 
 
# Default colors and also border colors, grey90 == #e5e5e5 
default_color yellow 
 
own_window_colour black 
own_window_transparent yes 
 
# 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 5 
gap_y 5 
 
# stuff after 'TEXT' will be formatted on screen 
 
 
TEXT 
${color white}[${color green}Etrange${color yellow}@${color red}$nodename${color white}] ${color yellow}Uptime: ${color green}$uptime ${alignr}${color green}${time %a %d %B} ${color green}${time %k:%M:%S} 
${color white}${hr 2} 
${color green}$sysname $kernel $machine  ${alignr}${color yellow}Charge: ${color green}${loadavg} 
 
 
 
${color yellow}Cpu: ${color green}${cpu}%    ${color yellow}Processus: ${color green}$processes ${color yellow}En cours: ${color green}$running_processes ${color yellow} ${alignr}Connections: ${color green}${tcp_portmon 1 65535 count} 
$cpubar 
${color white}${cpugraph 25 00fc00 f40000}$color 
$cpubar 
 
 
${color yellow}RAM:$color   ${color green}$memperc%   $color${color red}${membar 6}$color 
${color yellow}Swap:$color  ${color green}$swapperc%   $color${color red}${swapbar 6}$color 
 
${color yellow}Racine:$color  ${color 00fc00}${fs_free /} (${fs_free_perc /}%) free of ${fs_size /}$color 
${color red}${fs_bar 6 /}$color 
${color yellow}Home:$color  ${color 00fc00}${fs_free /home} (${fs_free_perc /home}%) free of ${fs_size /home} 
${color red}${fs_bar 6 /home}$color 
 
${color yellow}Down: $color${color green}${downspeed eth0} k/s ${alignr}${color yellow}Up: $color${color green}${upspeed eth0} k/s 
${color white}${downspeedgraph eth0 25,250 00fc00 f40000} ${alignr}${upspeedgraph eth0 25,250 00fc00 f40000}$color 
Total: ${color green}${totaldown eth0} ${alignr}${color yellow}Total: ${color green}${totalup eth0} 
${color yellow}Inbound: ${color green}${tcp_portmon 1 32767 count} ${alignr}${color yellow}Outbound: ${color green}${tcp_portmon 32768 
61000 count} 
 
${color #ffffff}Cpu                       %     ${alignr}${color #ffffff} Mem                 %              
${color red}${top name 1} ${top pid 1} ${top cpu 1}$color ${alignr}${color red} ${top_mem name 1} ${top_mem pid 1}${top_mem mem 1} 
${color red}${top name 2} ${top pid 2} ${top cpu 2}$color ${alignr}${color red} ${top_mem name 2} ${top_mem pid 2}${top_mem mem 2} 
${color red}${top name 3} ${top pid 3} ${top cpu 3}$color ${alignr}${color red} ${top_mem name 3} ${top_mem pid 3}${top_mem mem 3} 
${color yellow}${top name 4} ${top pid 4} ${top cpu 4}$color ${alignr}${color yellow} ${top_mem name 4} ${top_mem pid 4}${top_mem mem 4} 
${color yellow}${top name 5} ${top pid 5} ${top cpu 5}$color ${alignr}${color yellow} ${top_mem name 5} ${top_mem pid 5}${top_mem mem 5} 
${color yellow}${top name 6} ${top pid 6} ${top cpu 6}$color ${alignr}${color yellow} ${top_mem name 6} ${top_mem pid 6}${top_mem mem 6} 
${color green}${top name 7} ${top pid 7} ${top cpu 7}$color ${alignr}${color green} ${top_mem name 7} ${top_mem pid 7}${top_mem mem 7} 
${color green}${top name 8} ${top pid 8} ${top cpu 8}$color ${alignr}${color green} ${top_mem name 8} ${top_mem pid 8}${top_mem mem 8} 
${color green}${top name 9} ${top pid 9} ${top cpu 9}$color ${alignr}${color green} ${top_mem name 9} ${top_mem pid 9}${top_mem mem 9} 
 
${color green}${tcp_portmon 1 65535 rhost 0} $alignr${tcp_portmon 1 65535 lservice 0} 
${color yellow}${tcp_portmon 1 65535 rhost 1} $alignr${tcp_portmon 1 65535 lservice 1} 
${color green}${tcp_portmon 1 65535 rhost 2} $alignr${tcp_portmon 1 65535 lservice 2} 
${color yellow}${tcp_portmon 1 65535 rhost 3} $alignr${tcp_portmon 1 65535 lservice 3} 
${color green}${tcp_portmon 1 65535 rhost 4} $alignr${tcp_portmon 1 65535 lservice 4} 
${color yellow}${tcp_portmon 1 65535 rhost 5} $alignr${tcp_portmon 1 65535 lservice 5} 
${color green}${tcp_portmon 1 65535 rhost 6} $alignr${tcp_portmon 1 65535 lservice 6} 
${color yellow}${tcp_portmon 1 65535 rhost 7} $alignr${tcp_portmon 1 65535 lservice 7} 
${color green}${tcp_portmon 1 65535 rhost 8} $alignr${tcp_portmon 1 65535 lservice 8} 
${color yellow}${tcp_portmon 1 65535 rhost 9} $alignr${tcp_portmon 1 65535 lservice 9} 
${color green}${tcp_portmon 1 65535 rhost 10} $alignr${tcp_portmon 1 65535 lservice 10} 
${color yellow}${tcp_portmon 1 65535 rhost 11} $alignr${tcp_portmon 1 65535 lservice 11} 
${color green}${tcp_portmon 1 65535 rhost 12} $alignr${tcp_portmon 1 65535 lservice 12}
${color yellow}${tcp_portmon 1 65535 rhost 13} $alignr${tcp_portmon 1 65535 lservice 13} 
${color green}${tcp_portmon 1 65535 rhost 14} $alignr${tcp_portmon 1 65535 lservice 14}
${color yellow}${tcp_portmon 1 65535 rhost 15} $alignr${tcp_portmon 1 65535 lservice 15} 
${color green}${tcp_portmon 1 65535 rhost 16} $alignr${tcp_portmon 1 65535 lservice 16}