pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

ugaciaka private pastebin - collaborative debugging tool What's a private pastebin?


Posted by ugaciaka on Mon 29 Dec 12:20
report abuse | download | new post

  1. # Written By BaSh, Modified by ugaciaka
  2. # http://www.deelab.org/bash/
  3. #
  4. # For HardDisk Temperature need hddtemp is configured to working with sudo without password.
  5.  
  6. # Options
  7. use_xft yes
  8. background yes
  9. font 8x12
  10. #xftfont dejavu sans mono book:size=8
  11. xftfont zekton:size=8
  12. xftalpha 1
  13. update_interval 1.0
  14. total_run_times 0
  15. #se metto yes ho lo sfarfallio di conky che mi copre le finestre, se metto no devo togliere le icone dal desktop in xfce
  16. own_window yes
  17. # normalmente con i DE
  18. own_window_type override
  19. # per openbox
  20. #own_window_type desktop
  21. #own_window_hints below,sticky,skip_taskbar,skip_pager,undecorated
  22. own_window_transparent yes
  23. double_buffer yes
  24. draw_shades no
  25. draw_outline no
  26. draw_borders no
  27. draw_graph_borders yes
  28. no_buffers yes
  29. cpu_avg_samples 1
  30. net_avg_samples 2
  31. override_utf8_locale yes
  32. uppercase no
  33. #use_spacer no
  34.  
  35. # colors
  36. default_color white
  37. #default_shade_color black
  38. default_outline_color grey
  39. color0 white
  40. color1 grey
  41. #color2 white
  42.  
  43. # #729FCF
  44.  
  45. # Position
  46. alignment top_right
  47. gap_x 15
  48. gap_y 70
  49.  
  50. # Parameters
  51. TEXT
  52. ${alignc}${color #729FCF}${font zekton:size=10} $nodename - $sysname $kernel${font}
  53. ${color1}$hr
  54. ${alignc}${color #729FCF}Temperature
  55. ${color0}Core0 Temp: ${execi 30 sensors | awk '/Core 0/ {print $3}'}         Core1 Temp: ${execi 30 sensors | awk '/Core 1/ {print $3}'}
  56. ${color0}/dev/sda Temp: +${execi 30 sudo hddtemp /dev/sda | awk '{print $4}'}
  57. ${color1}$hr
  58. ${alignc}${color #729FCF}${exec uname -p}
  59. ${color0}Core0: ${cpu cpu0}% @${freq 0}MHz
  60. ${color0}${cpugraph cpu0 30,300 000000 000000}
  61. ${color0}Core1: ${cpu cpu1}% @${freq 1}MHz
  62. ${color0}${cpugraph cpu1 30,300 000000 000000}
  63. ${color0}CPU usage            PID       CPU%      MEM%
  64. ${color0}${top name 1}   ${top pid 1}   ${top cpu 1}    ${top mem 1}
  65. ${color0}${top name 2}   ${top pid 2}   ${top cpu 2}    ${top mem 2}
  66. ${color0}${top name 3}   ${top pid 3}   ${top cpu 3}    ${top mem 3}
  67. ${color0}${top name 4}   ${top pid 4}   ${top cpu 4}    ${top mem 4}
  68. ${color1}$hr
  69. ${alignc}${color #729FCF}Memoria
  70. ${color0}RAM:${color0} $mem/$memmax - $memperc% $membar
  71. ${color0}Swap:${color0} $swap/$swapmax - $swapperc% $swapbar
  72. ${color1}$hr
  73. ${alignc}${color #729FCF}File System
  74. ${color0}root (${fs_free_perc /}% Free): ${fs_used /}/${fs_size /} ${fs_bar /}
  75. ${color0}home (${fs_free_perc /home}% Free): ${fs_used /home}/${fs_size /home} ${fs_bar /home}
  76. ${color0}tmp (${fs_free_perc /tmp}% Free): ${fs_used /tmp}/${fs_size /tmp} ${fs_bar /tmp}
  77. ${color1}$hr
  78. ${alignc}${color #729FCF}wlan0
  79. ${color0}IP: ${addr wlan0} - Gateway: ${gw_ip}
  80. ${color0}Segnale: ${wireless_link_qual_perc wlan0}%
  81. ${color0}Down: ${downspeedf wlan0} kB/s ${offset 70}Up: ${upspeedf wlan0} kB/s
  82. ${color0}${downspeedgraph wlan0 30,140 000000 000000} $alignr${upspeedgraph wlan0 30,140 000000 000000}

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post