conky (conkyrc)

Sugestão para configuração do Conky

Categoria: Miscelânea

Software: conky

[ Hits: 9.303 ]

Por: Frederico Sales


Este arquivo deve ser salvo na raíz do home do usuário (.conkyrc).

Maiores informações sobre o Conky - um leve monitor do sistema:
http://conky.sourceforge.net/


# 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

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=7
xftfont  Bitstream Vera Sans Mono:size=8

# Create own window instead of drawing to desktop.
own_window yes
own_window_transparent yes
own_window_colour navyblue
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal

# Text alpha when using Xft
xftalpha 0.8

#deprecated -- use 'own_window_hints below'
#on_bottom yes

wm_class_name Conky

# mail spool
mail_spool $MAIL

# Update interval in seconds
update_interval 5

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

# Minimum size of text area
minimum_size 330 10
maximum_width 330

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 2

# border margins
#border_margin 4

# border width
border_width 1

# Default colors and also border colors
#default_color lightblue
default_color lightslategrey
default_shade_color white
default_outline_color white

# Text alignment, other possible values are commented
#minimum_size 10 10
gap_x 25
gap_y 15
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right

# Gap between borders of screen and text

# 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

# drawn 1 pixel border around graphs or not
draw_graph_borders yes

# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16) 
min_port_monitors 8

# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
min_port_monitor_connections 64

TEXT
${color #0077ff}$nodename  ${alignc}$sysname $kernel ${alignr}$color${time %H:%M}

${color #0077ff}Uptime:$color $uptime ${color #0077ff} Load:$color $loadavg
${color #0077ff}CPU Usage:$color ${cpu}% ${color #0077ff}${cpubar}
${color black}${cpugraph 0 32, 350 104E8B 0077ff}
${color #0077ff}RAM Usage:$color $mem/$memmax - $memperc% ${color #0077ff}$membar
${color #0077ff}Swap Usage:$color $swap/$swapmax - $swapperc% ${color #0077ff}${swapbar}


${color #0077ff}Net Down:$color ${downspeed eth1} k/s${color #0077ff} ${offset 62}Net Up:$color ${upspeed eth1} k/s
${color black}${downspeedgraph eth1 32,150 104E8B 0077ff} $alignr${color black}${upspeedgraph eth1 32,150 104E8B 0077ff}
${color #0077ff}File systems:
 ${color #0077ff}/          $color${fs_used /}/${fs_size /}${alignr}${color #0077ff}${fs_bar 5,120 /}
 ${color #0077ff}/home      $color${fs_used /home}/${fs_size /home}${alignr}${color #0077ff}${fs_bar 5,120 /home}
 
${color #0077ff}Top Processes:
${color #0077ff}Name              PID     CPU%   MEM%
$color ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
$color ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
$color ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #0077ff}Mem usage
$color ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
 
${color #0077ff}Port(s)${alignr}#Connections
$color Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}${alignr}ALL: ${tcp_portmon 1 65535 count}
${color #0077ff}Inbound Connection ${alignr} Local Service/Port$color
 ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
 ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
 ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
 ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
 ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
 ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
${color #0077ff}Outbound Connection ${alignr} Remote Service/Port$color
 ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
 ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
 ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
 ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
 ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
 ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}


  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts