daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Mar 30th, 2010 1,114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 shows number of connections from your computer and application/PID making it. Kill spyware!
  9. #
  10. # -- Pengo
  11. #
  12.  
  13. # Create own window instead of using desktop (required in nautilus)
  14. own_window yes
  15. own_window_type override
  16. own_window_transparent yes
  17. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  18.  
  19. # Use double buffering (reduces flicker, may not work for everyone)
  20. double_buffer yes
  21.  
  22. # fiddle with window
  23. use_spacer right
  24.  
  25. # Use Xft?
  26. use_xft yes
  27. xftfont DejaVu Sans:size=8
  28. xftalpha 0.8
  29. text_buffer_size 2048
  30.  
  31. # Update interval in seconds
  32. update_interval 3.0
  33.  
  34. # Minimum size of text area
  35. # minimum_size 250 5
  36.  
  37. # Draw shades?
  38. draw_shades no
  39.  
  40. # Text stuff
  41. draw_outline no # amplifies text if yes
  42. draw_borders no
  43. uppercase no # set to yes if you want all text to be in uppercase
  44.  
  45. # Stippled borders?
  46. stippled_borders 3
  47.  
  48. # border margins
  49. border_margin 9
  50.  
  51. # border width
  52. border_width 10
  53.  
  54. # Default colors and also border colors, grey90 == #e5e5e5
  55. default_color grey
  56.  
  57. own_window_colour brown
  58. own_window_transparent yes
  59.  
  60. # Text alignment, other possible values are commented
  61. #alignment top_left
  62. alignment top_right
  63. #alignment bottom_left
  64. #alignment bottom_right
  65.  
  66. # Gap between borders of screen and text
  67. gap_x 10
  68. gap_y 10
  69.  
  70. # stuff after 'TEXT' will be formatted on screen
  71.  
  72. TEXT
  73. $color
  74. ${color orange}SYSTEM ${hr 2}$color
  75. $nodename $sysname $kernel on $machine
  76.  
  77. ${color orange}CPU ${hr 2}$color
  78. ${freq}MHz   Load: ${loadavg}   Temp: ${acpitemp}
  79. $cpubar
  80. ${cpugraph 000000 ffffff}
  81. NAME             PID       CPU%      MEM%
  82. ${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
  83. ${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
  84. ${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
  85. ${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}
  86.  
  87. ${color orange}MEMORY / DISK ${hr 2}$color
  88. RAM:   $memperc%   ${membar 6}$color
  89. Swap:  $swapperc%   ${swapbar 6}$color
  90.  
  91. Root:  ${fs_free_perc /}%   ${fs_bar 6 /}$color
  92. hda1:  ${fs_free_perc /media/sda1}%   ${fs_bar 6 /media/sda1}$color
  93.  
  94. ${color orange}NETWORK (${addr eth0}) ${hr 2}$color
  95. Down: $color${downspeed eth0} k/s ${alignr}Up: ${upspeed eth0} k/s
  96. ${downspeedgraph eth0 25,140 000000 ff0000} ${alignr}${upspeedgraph eth0
  97. 25,140 000000 00ff00}$color
  98. Total: ${totaldown eth0} ${alignr}Total: ${totalup eth0}
  99. ${execi 30 netstat -ept | grep ESTAB | awk '{print $9}' | cut -d: -f1 | sort | uniq -c | sort -nr}
  100. ${color orange}LOGGING ${hr 2}$color
  101. ${execi 30 tail -n3 /var/log/messages | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w50}
  102.  
  103. ${color orange}FORTUNE ${hr 2}$color
  104. ${execi 120 fortune -s | fold -w50}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top