2009
09.08
09.08
Una herramienta para monitorear tu sistema, debe ser liviana y atractiva, aquí te propongo usar Conky
Se instala fácilmente desde los repositorios.
sudo apt-get install conky
Luego debes crear un archivo de configuración en tu directorio personal, debe llamarse “.conkyrc”. Las configuraciones para este archivo las puedes encontrar en la sección de screenshots del sitio de Conky.
Yo personalmente uso esta configuración:
| Bash | | copy code | | ? |
| 01 | # maintain spacing between certain elements |
| 02 | # Update interval in seconds |
| 03 | update_interval 2 |
| 04 | |
| 05 | # Create own window instead of using desktop (required in nautilus) |
| 06 | own_window yes |
| 07 | own_window_transparent yes |
| 08 | own_window_type override |
| 09 | |
| 10 | # Use double buffering (reduces flicker, may not work for everyone) |
| 11 | double_buffer yes |
| 12 | |
| 13 | # Minimum size of text area |
| 14 | minimum_size 150 5 |
| 15 | |
| 16 | #send to background |
| 17 | background yes |
| 18 | |
| 19 | # Draw shades? |
| 20 | draw_shades yes |
| 21 | |
| 22 | # Draw outlines? |
| 23 | draw_outline no # amplifies text |
| 24 | |
| 25 | # Draw borders around text |
| 26 | draw_borders no |
| 27 | |
| 28 | # Stippled borders? |
| 29 | stippled_borders 0 |
| 30 | |
| 31 | # border margins |
| 32 | border_margin 1 |
| 33 | |
| 34 | # border width |
| 35 | border_width 1 |
| 36 | |
| 37 | # Default colors and also border colors, grey90 == #e5e5e5 |
| 38 | default_color grey90 |
| 39 | default_shade_color black |
| 40 | default_outline_color DarkGrey |
| 41 | |
| 42 | # Text alignment, other possible values are commented |
| 43 | #alignment top_left |
| 44 | alignment top_right |
| 45 | #alignment bottom_left |
| 46 | #alignment bottom_right |
| 47 | #747574 |
| 48 | |
| 49 | # Gap between borders of screen and text |
| 50 | gap_x 9 |
| 51 | gap_y 60 |
| 52 | |
| 53 | # Subtract file system buffers from used memory? |
| 54 | no_buffers yes |
| 55 | |
| 56 | # set to yes if you want all text to be in uppercase |
| 57 | uppercase no |
| 58 | |
| 59 | # stuff after 'TEXT' will be formatted on screen |
| 60 | |
| 61 | TEXT |
| 62 | ${color #ffcb48}${color #ffcb48} ${nodename} ${machine} |
| 63 | ${color #98c2c7}Uptime: ${color white}${uptime} |
| 64 | |
| 65 | ${color #98c2c7}Bateria: ${color white}${battery} |
| 66 | |
| 67 | ${color #98c2c7}Kernel: ${color white}${kernel} |
| 68 | ${color #98c2c7}Fecha: ${color white}${time %A,%d %B} |
| 69 | ${color #98c2c7}Hora: ${color white}${time %k:%M}${alignr} |
| 70 | |
| 71 | ${color #ffcb48}PROCESANDO$color |
| 72 | ${color #98c2c7}CPU:${color } $cpu % ${color #78af78} |
| 73 | Core 1 |
| 74 | ${cpubar cpu1 4,158} |
| 75 | Core 2 |
| 76 | ${cpubar cpu2 4,158} |
| 77 | |
| 78 | ${color white}USO DE PROCESADOR |
| 79 | ${color #98c2c7}APLICACION CPU% |
| 80 | ${color #e5e5e5}${top name 1} ${top cpu 1} |
| 81 | ${color #c4c4c4}${top name 2} ${top cpu 2} |
| 82 | ${color #a3a3a3}${top name 3} ${top cpu 3} |
| 83 | ${color #828282}${top name 4} ${top cpu 4} |
| 84 | |
| 85 | ${color white}USO DE MEMORIA |
| 86 | ${color #98c2c7}APLICACION RAM% |
| 87 | ${color #e5e5e5}${top_mem name 1} ${top_mem mem 1} |
| 88 | ${color #c4c4c4}${top_mem name 2} ${top_mem mem 2} |
| 89 | ${color #a3a3a3}${top_mem name 3} ${top_mem mem 3} |
| 90 | ${color #828282}${top_mem name 4} ${top_mem mem 4} |
| 91 | |
| 92 | ${color #98c2c7}[RAM]:${color}$memperc% ${color #78af78}$mem/$memmax |
| 93 | ${membar 4,158} |
| 94 | ${color #98c2c7}[SWAP]:${color}$swapperc% $swap/$swapmax |
| 95 | ${swapbar 4,158} |
| 96 | ${color #98c2c7}[ROOT]:${color}${color #78af78} ${fs_free /}${color #78af78}/${fs_size /} |
| 97 | ${fs_bar 4,158 /} |
Si pones Conky como carga automática al inicio de tu sesión, debes ponerle un retardo, para que pueda capturar correctamente el area del escritorio donde se mostrará.
| Bash | | copy code | | ? |
| 1 | #!/bin/sh |
| 2 | sleep 30 |
| 3 | conky |
Puedes llamar a este archivo algo como “conky_loader.sh” y luego lo cargas al inicio de tu sesión.

Sin Comentarios
Agregue su comantario