sudo apt-get install conky
Una vez instalado deberemos configurarlo y dejarlo un poco chulo, para ello vamos a crear el archivo .conkyrc en nuestra carpeta personal de la siguiente forma:
gedit conkyrc
Y a continuación pegaremos el siguiente código dentro:
background yescpu_avg_samples 2
net_avg_samples 2
out_to_console no
use_xft yes
xftfont Bitstream Vera Sans Mono:size=7.9
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip
own_window_type normal
xftalpha 0.8
update_interval 1.0
double_buffer yes
minimum_size 10 10
maximum_width 320
draw_shades no
draw_outline yes
draw_borders no
stippled_borders 2
border_width 1
default_color lightslategrey
default_shade_color white
default_outline_color black
alignment top_right
use_spacer yes
no_buffers yes
uppercase no
TEXT
${color #FFFFFF}Psyduckbug http://pinguinosycia.blogspot
${color #FFFFFF}Ubuntu Linux 8.04: $kernel
${color #FFFFFF}CPU $color ${cpu cpu1}% ${color #c0c0c0}Uptime:$color $uptime ${color #FFFFFF} Temp: $color ${acpitemp}cº
${color #FFFFFF}${cpugraph cpu1 000000 c0c0c0}
${color #FFFFFF}Procs:$color $processes ${color #FFFFFF}Running:$color $running_processes
${color #FFFFFF}Ram Usada:
$color $mem/$memmax - ${color #c0c0c0}$memperc% $membar
${color #FFFFFF}Espacio libre:
${color}Ubuntu ${color}${fs_used /}/${fs_size /}${alignr}${color #c0c0c0}${fs_bar 5,120 /}
${color #FFFFFF}CPU Activos:
${color #FFFFFF}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 ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color #FFFFFF}RAM Activos:
$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 ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
$color ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
${color #FFFFFF}Ethernet: eth0 - ${addr eth0}
${color #FFFFFF}Net Down:$color ${downspeed eth0} k/s${color #FFFFFF} ${offset 62}Net Up:$color ${upspeed eth0} k/s
${color #FFFFFF}${downspeedgraph eth0 32,150 104E8B FFFFFF} $alignr${color #FFFFFF}${upspeedgraph eth0 32,150 104E8B FFFFFF}
${color #FFFFFF}WIFI: ath0 - ${addr ath0}
${color #FFFFFF}Net Down:$color ${downspeed ath0} k/s${color #FFFFFF} ${offset 62}Net Up:$color ${upspeed ath0} k/s
${color #FFFFFF}${downspeedgraph eth1 32,150 104E8B c0c0c0} $alignr${color #FFFFFF}${upspeedgraph ath0 32,150 104E8B FFFFFF}
${color #FFFFFF}Port(s)${alignr}
$color ALL: ${alignr}$color ${tcp_portmon 1 65535 count}
$color html: ${alignr}$color ${tcp_portmon 80 80 count}
$color sshd: ${alignr}$color ${tcp_portmon 22 22 count}
$color replicator: ${alignr}$color ${tcp_portmon 8080 8080 count}
${color #FFFFFF}Puerto(s)${alignr}
${color #FFFFFF}Direccion Remota ${alignr} Local Service/Port$color
${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 lservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 lservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 lservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 lservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 lservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 lservice 5}
${color #FFFFFF}Puerto(s)${alignr}
${color #FFFFFF}Direccion Remota ${alignr} Local Service/Port$color ${tcp_portmon 1 65535 rhost 0} ${alignr} ${tcp_portmon 1 65535 rservice 0}
${tcp_portmon 1 65535 rhost 1} ${alignr} ${tcp_portmon 1 65535 rservice 1}
${tcp_portmon 1 65535 rhost 2} ${alignr} ${tcp_portmon 1 65535 rservice 2}
${tcp_portmon 1 65535 rhost 3} ${alignr} ${tcp_portmon 1 65535 rservice 3}
${tcp_portmon 1 65535 rhost 4} ${alignr} ${tcp_portmon 1 65535 rservice 4}
${tcp_portmon 1 65535 rhost 5} ${alignr} ${tcp_portmon 1 65535 rservice 5}
Una vez pegado guardamos y escribimos en el terminal : conky
y ya tendreis vuestro monitor del sistema listo para usar ;)
Podeis encontrar más archivos de configuración en su pagina Oficial
0 comentarios:
Publicar un comentario