All pastes #514935 Raw Edit

Something

public text v1 · immutable
#514935 ·published 2007-05-28 00:06 UTC
rendered paste body
# set to yes if you want Conky to be forked in the background
background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# X font when Xft is disabled, you can pick one with progr7am xfontsel
font -microsoft-verdana-medium-r-normal--11-*-*-*-p-*-iso8859-2

# Use Xft?
use_xft no
#xftfont  LucidaSans:size=9

# Text alpha when using Xft
xftalpha 0.8

own_window_hints below

mail_spool $MAIL

# Update interval in seconds
update_interval 1

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_colour 000000

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 5 5
#maximum_width 150

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 10

# border width
border_width 0

# Default colors and also border colors
default_color white
default_outline_color white

# 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 15
gap_y 5 #margines gorny

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti

# Possible variables to be used:
#
#      Variable         Arguments                  Description                
#  acpiacadapter                     ACPI ac adapter state.                   
#  acpifan                           ACPI fan state                           
#  acpitemp                          ACPI temperature.                        
#  adt746xcpu                        CPU temperature from therm_adt746x       
#  adt746xfan                        Fan speed from therm_adt746x             
#  battery           (num)           Remaining capasity in ACPI or APM        
#                                    battery. ACPI battery number can be      
#                                    given as argument (default is BAT0).     
#  buffers                           Amount of memory buffered                
#  cached                            Amount of memory cached                  
#  color             (color)         Change drawing color to color            
#  cpu                               CPU usage in percents                    
#  cpubar            (height)        Bar that shows CPU usage, height is      
#                                    bar's height in pixels                   
#  downspeed         net             Download speed in kilobytes              
#  downspeedf        net             Download speed in kilobytes with one     
#                                    decimal                                  
#  exec              shell command   Executes a shell command and displays    
#                                    the output in torsmo. warning: this      
#                                    takes a lot more resources than other    
#                                    variables. I'd recommend coding wanted   
#                                    behaviour in C and posting a patch :-).  
#  execi             interval, shell Same as exec but with specific interval. 
#                    command         Interval can't be less than              
#                                    update_interval in configuration.        
#  fs_bar            (height), (fs)  Bar that shows how much space is used on 
#                                    a file system. height is the height in   
#                                    pixels. fs is any file on that file      
#                                    system.                                  
#  fs_free           (fs)            Free space on a file system available    
#                                    for users.                               
#  fs_free_perc      (fs)            Free percentage of space on a file       
#                                    system available for users.              
#  fs_size           (fs)            File system size                         
#  fs_used           (fs)            File system used space                   
#  hr                (height)        Horizontal line, height is the height in 
#                                    pixels                                   
#  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev   
#                                    may be omitted if you have only one I2C  
#                                    device. type is either in (or vol)       
#                                    meaning voltage, fan meaning fan or temp 
#                                    meaning temperature. n is number of the  
#                                    sensor. See /sys/bus/i2c/devices/ on     
#                                    your local computer.                     
#  kernel                            Kernel version                           
#  loadavg           (1), (2), (3)   System load average, 1 is for past 1     
#                                    minute, 2 for past 5 minutes and 3 for   
#                                    past 15 minutes.                         
#  machine                           Machine, i686 for example                
#  mails                             Mail count in mail spool. You can use    
#                                    program like fetchmail to get mails from 
#                                    some server using your favourite         
#                                    protocol. See also new_mails.            
#  mem                               Amount of memory in use                  
#  membar            (height)        Bar that shows amount of memory in use   
#  memmax                            Total amount of memory                   
#  memperc                           Percentage of memory in use              
#  new_mails                         Unread mail count in mail spool.         
#  nodename                          Hostname                                 
#  outlinecolor      (color)         Change outline color                     
#  pre_exec          shell command   Executes a shell command one time before 
#                                    torsmo displays anything and puts output 
#                                    as text.                                 
#  processes                         Total processes (sleeping and running)   
#  running_processes                 Running processes (not sleeping),        
#                                    requires Linux 2.6                       
#  shadecolor        (color)         Change shading color                     
#  stippled_hr       (space),        Stippled (dashed) horizontal line        
#                    (height)        
#  swapbar           (height)        Bar that shows amount of swap in use     
#  swap                              Amount of swap in use                    
#  swapmax                           Total amount of swap                     
#  swapperc                          Percentage of swap in use                
#  sysname                           System name, Linux for example           
#  time              (format)        Local time, see man strftime to get more 
#                                    information about format                 
#  totaldown         net             Total download, overflows at 4 GB on     
#                                    Linux with 32-bit arch and there doesn't 
#                                    seem to be a way to know how many times  
#                                    it has already done that before torsmo   
#                                    has started.                             
#  totalup           net             Total upload, this one too, may overflow 
#  updates                           Number of updates (for debugging)        
#  upspeed           net             Upload speed in kilobytes                
#  upspeedf          net             Upload speed in kilobytes with one       
#                                    decimal                                  
#  uptime                            Uptime                                   
#  uptime_short                      Uptime in a shorter format               
#
#  seti_prog                         Seti@home current progress
#  seti_progbar      (height)        Seti@home current progress bar
#  seti_credit                       Seti@hoome total user credit

TEXT
${font -microsoft-verdana-medium-r-normal--11-*-*-*-p-*-iso8859-2}${color #7eade7}$nodename - $sysname $kernel ($machine)
${color #7eade7}Uptime:$color $uptime
${color #7eade7}Obci±żenie:$color $loadavg

${color #7eade7}CPU: ${color}${cpu}%
${alignr 5}${color #d2d2d2}${cpugraph 25,240 ff0000 0000ff}
${color #7eade7}RAM: ${alignr 5}$color $mem/$memmax - $memperc% ${color #d2d2d2}${membar 6,90}
${color #7eade7}Swap: ${alignr 5}$color $swap/$swapmax - $swapperc% ${color #d2d2d2}${swapbar 6,90}

${color #7eade7}Procesy:$color $processes ${color #7eade7}Uruchomione:$color $running_processes ${color #7eade7}
${color white}${hr 1}
${color #7eade7}Sieć: ${color #d2d2d2}(eth0: ${execi 600 /home/users/fazi/bin/showip})

${color #7eade7}down: $color ${downspeedf eth0}k/s${alignr 5}${color #7eade7}up: $color ${upspeedf eth0}k/s
${color #d2d2d2}${downspeedgraph eth0 25,110 ff0000 0000ff}${alignr 5}${color #d2d2d2}${upspeedgraph eth0 25,110 0000ff ff0000}
${color #7eade7}razem: ${color #d2d2d2}${totaldown eth0}${alignr 5}${color #7eade7}razem: ${color #d2d2d2}${totalup eth0}

${color #7eade7}PING:$color ${color #ffffff}10.19.0.1@${color}${execi 10 sh -c "cat /var/log/conky/c_ping.log" }
${font -microsoft-verdana-medium-r-normal--11-*-*-*-p-*-iso8859-2}
${color #7eade7}Dyski:
${color #d2d2d2}root : ${color #CCCCCC}${fs_used /}${color #d2d2d2}/${color #CCCCCC}${fs_size /} (${color #d2d2d2}${color #CCCCCC}${fs_free /} ${fs_free_perc /}% wolne)${color #d2d2d2}
${fs_bar 5,240 /}
${color #d2d2d2}home : ${color #CCCCCC}${fs_used /home/users/fazi}${color #d2d2d2}/${color #CCCCCC}${fs_size /home/users/fazi} (${color #d2d2d2}${color #CCCCCC}${fs_free /home/users/fazi} ${fs_free_perc /home/users/fazi}% wolne)${color #d2d2d2} 
${fs_bar 5,240 /home/users/fazi}
${color #d2d2d2}med : ${color #CCCCCC}${fs_used /mnt/med}${color #d2d2d2}/${color #CCCCCC}${fs_size /mnt/med} (${color #d2d2d2}${color #CCCCCC}${fs_free /mnt/med} ${fs_free_perc /mnt/med}% wolne)${color #d2d2d2} 
${fs_bar 5,240 /mnt/med}
${color white}${hr 1}
${color #7eade7}${alignc}Procesy:
Nazwa${alignr 60}CPU% ${alignr 20}MEM%
${color #d2d2d2}${top name 1} ${alignr 60}${top cpu 1} ${alignr 20}${top mem 1}
${color #7eade7}${top name 2} ${alignr 60}${top cpu 2} ${alignr 20}${top mem 2}
${color #d2d2d2}${top name 3} ${alignr 60}${top cpu 3} ${alignr 20}${top mem 3}
${color #7eade7}${top name 4} ${alignr 60}${top cpu 4} ${alignr 20}${top mem 4}
${color #d2d2d2}${top name 5} ${alignr 60}${top cpu 5} ${alignr 20}${top mem 5}

${color #7eade7}${alignc}Zużycie pamięci:
Nazwa${alignr 60}CPU% ${alignr 20}MEM%
${color #d2d2d2}${top_mem name 1} ${alignr 60}${top_mem cpu 1} ${alignr 20}${top_mem mem 1}
${color #7eade7}${top_mem name 2} ${alignr 60}${top_mem cpu 2} ${alignr 20}${top_mem mem 2}
${color #d2d2d2}${top_mem name 3} ${alignr 60}${top_mem cpu 3} ${alignr 20}${top_mem mem 3}
${color #7eade7}${top_mem name 4} ${alignr 60}${top_mem cpu 4} ${alignr 20}${top_mem mem 4}
${color #d2d2d2}${top_mem name 5} ${alignr 60}${top_mem cpu 5} ${alignr 20}${top_mem mem 5}