de linuxmanr4, 4 años han pasado desde su publicación, escrito en Bash.
Enlace corto
http://gw.gd/Jjoj
Insertar vínculo
  1. # UBUNTU-CONKY
  2. # A comprehensive conky script, configured for use on
  3. # Ubuntu / Debian Gnome, without the need for any external scripts.
  4. #
  5. # Based on conky-jc and the default .conkyrc.
  6. # INCLUDES:
  7. # - tail of /var/log/messages
  8. # - netstat connections to your computer
  9. #
  10. # -- Pengo (conky@pengo.us)
  11. #
  12.  
  13. # Create own window instead of using desktop (required in nautilus)
  14. own_window yes
  15. own_window_hints undecorated,below,skip_taskbar
  16. background no
  17.  
  18. # Use double buffering (reduces flicker, may not work for everyone)
  19. double_buffer yes
  20.  
  21. # fiddle with window
  22. use_spacer yes
  23. use_xft yes
  24.  
  25. # Update interval in seconds
  26. update_interval 3.0
  27.  
  28. # Minimum size of text area
  29. minimum_size 400 5
  30.  
  31. # Draw shades?
  32. draw_shades yes
  33.  
  34. # Text stuff
  35. draw_outline no # amplifies text if yes
  36. draw_borders no
  37.  
  38. uppercase no # set to yes if you want all text to be in uppercase
  39.  
  40. # Stippled borders?
  41. stippled_borders 8
  42.  
  43. # border margins
  44. border_margin 4
  45.  
  46. # border width
  47. border_width 1
  48.  
  49. # Default colors and also border colors, grey90 == #e5e5e5
  50. default_color white
  51. default_shade_color black
  52. default_outline_color white
  53.  
  54. own_window_colour brown
  55. own_window_transparent yes
  56.  
  57. # Text alignment, other possible values are commented
  58. #alignment top_left
  59. alignment top_right
  60. #alignment bottom_left
  61. #alignment bottom_right
  62.  
  63. # Gap between borders of screen and text
  64. gap_x 10
  65. gap_y 10
  66.  
  67. # stuff after 'TEXT' will be formatted on screen
  68.  
  69. override_utf8_locale no
  70. xftfont Terminus:size=8
  71. xftalpha 0.8
  72.  
  73. TEXT
  74.  
  75. ${offset 240}${color slate grey}Fecha:  ${color }${time %e %B %G}
  76. ${offset 240}${color slate grey}Hora: ${time %Z,    }${color }${time %H:%M:%S}
  77. ${offset 240}${color slate grey}UpTime: ${color }$uptime
  78. ${offset 240}${color slate grey}Kern:${color }$kernel
  79. ${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
  80. ${offset 240}${cpugraph 20,130 000000 ffffff}
  81. ${offset 240}${color slate grey}Load: ${color }$loadavg
  82. ${offset 240}${color slate grey}Processes: ${color }$processes  
  83. ${offset 240}${color slate grey}Running:   ${color }$running_processes
  84.  
  85. ${offset 240}${color slate grey}Top CPU:
  86. ${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
  87. ${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
  88. ${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
  89. ${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
  90.  
  91. ${offset 240}${color slate grey}Top MEM:
  92. ${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
  93. ${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
  94. ${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
  95. ${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
  96.  
  97. ${offset 240}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
  98. ${offset 240}${membar 3,100}
  99. ${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
  100. ${offset 240}${swapbar 3,100}
  101.  
  102. ${offset 240}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
  103. ${offset 240}${fs_bar 3,100 /}
  104. ${offset 240}${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}
  105. ${offset 240}${fs_bar 3,100 /home}
  106. ${offset 240}${color slate grey}NET:
  107. ${offset 240}${color}Up: ${color }${upspeed eth0} k/s
  108. ${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
  109. ${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
  110. ${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}