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 Tue 23 Sep 20:36
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. xftalpha 1
  12. update_interval 1.0
  13. total_run_times 0
  14. own_window yes
  15. # normalmente con i DE
  16. #own_window_type override
  17. # per openbox
  18. own_window_type desktop
  19. own_window_hints below,sticky,skip_taskbar,skip_pager,undecorated
  20. own_window_transparent yes
  21. double_buffer yes
  22. draw_shades no
  23. draw_outline no
  24. draw_borders no
  25. draw_graph_borders yes
  26. no_buffers yes
  27. cpu_avg_samples 1
  28. net_avg_samples 2
  29. override_utf8_locale yes
  30. uppercase no
  31. #use_spacer no
  32.  
  33. # colors
  34. #default_color white
  35. #default_shade_color black
  36. #default_outline_color grey
  37. color0 white
  38. color1 grey
  39.  
  40. # Position
  41. alignment top_left
  42. gap_x 30
  43. gap_y 50
  44.  
  45. # Parameters
  46. TEXT
  47. ${alignc}${color #729FCF}${font dejavu sans mono book:size=10} @$nodename - $sysname $kernel${font}
  48. ${alignc}${color0}${time %H:%M @ %d/%m/%y}
  49. ${color1}$hr
  50. ${alignc}${color #729FCF}Temperature
  51. ${color0}CPU Temp: ${execi 30 sensors | awk '/CPU Temp/ {print $3}'}                     Sys Temp: ${execi 30 sensors | awk '/Sys Temp/ {print $3}'}
  52. ${color0}CPU Fan: ${execi 30 sensors | awk '/CPU Fan/ {print $3}'} RPM
  53. ${color0}/dev/sda Temp: +${execi 30 sudo hddtemp /dev/sda | awk '{print $4}'}          /dev/sdb Temp: +${execi 30 sudo hddtemp /dev/sdb | awk '{print $4}'}
  54. ${color1}$hr
  55. ${alignc}${color #729FCF}${exec uname -p}
  56. ${color0}Core0: ${cpu cpu0}% @ ${freq 0}MHz     Core1: ${cpu cpu1}% @ ${freq 1}MHz
  57. ${color0}${cpugraph cpu0 30,140 000000 000000}  ${cpugraph cpu1 30,140 000000 000000}
  58. ${color0}CPU usage            PID       CPU%      MEM%
  59. ${color0}${top name 1}   ${top pid 1}   ${top cpu 1}    ${top mem 1}
  60. ${color0}${top name 2}   ${top pid 2}   ${top cpu 2}    ${top mem 2}
  61. ${color0}${top name 3}   ${top pid 3}   ${top cpu 3}    ${top mem 3}
  62. ${color0}${top name 4}   ${top pid 4}   ${top cpu 4}    ${top mem 4}
  63. ${color1}$hr
  64. ${alignc}${color #729FCF}Memoria
  65. ${color0}RAM: $mem/$memmax - $memperc% $membar
  66. ${color0}Swap: $swap/${color0}$swapmax - $swapperc% $swapbar
  67. ${color1}$hr
  68. ${alignc}${color #729FCF}File System
  69. ${color0}root (${fs_free_perc /}% Free): ${color0}${fs_used /}${color0}/${color0}${fs_size /} ${color0}${fs_bar /}
  70. ${color0}home (${fs_free_perc /home}% Free): ${color0}${fs_used /home}${color0}/${color0}${fs_size /home} ${color0}${fs_bar /home}
  71. ${color0}tmp (${fs_free_perc /tmp}% Free): ${color0}${fs_used /tmp}${color0}/${color0}${fs_size /tmp} ${color0}${fs_bar /tmp}
  72. ${color0}pacman (${fs_free_perc /var/cache/pacman}% Free): ${color0}${fs_used /var/cache/pacman}${color0}/${color0}${fs_size /var/cache/pacman} ${color0}${fs_bar /var/cache/pacman}
  73. ${color1}$hr
  74. ${alignc}${color #729FCF}wlan0
  75. ${color0}IP: ${addr wlan0} - Gateway: ${gw_ip}
  76. ${color0}Segnale: ${wireless_link_qual_perc wlan0}%
  77. ${color0}Down: ${downspeedf wlan0} kB/s ${offset 70}${color0}Up:${color0} ${upspeedf wlan0} kB/s
  78. ${color0}${downspeedgraph wlan0 30,140 000000 000000} $alignr${color0}${upspeedgraph wlan0 30,140 000000 000000}
  79. ${color1}$hr
  80. ${alignc}${color #729FCF}APC
  81. ${color0}Autonomia: ${execi 60 apcaccess | awk '/TIMELEFT/ {print $3}'} Minuti - Batteria: ${execi 60 apcaccess | awk '/BCHARGE/ {print $3}'}%
  82. ${color0}Numero trasferimenti: ${execi 60 apcaccess | awk '/NUMXFERS/ {print $3}'}

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