Advertisement
Guest User

Untitled

a guest
May 20th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. ##############################################
  2. # Settings
  3. ##############################################
  4. background yes
  5. use_xft yes
  6. xftfont Liberation Sans:size=9
  7. xftalpha 1
  8. update_interval 1.0
  9. total_run_times 0
  10. own_window yes
  11. own_window_transparent yes
  12. own_window_type desktop
  13. #own_window_argb_visual yes
  14. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  15. double_buffer yes
  16. minimum_size 280 600
  17. maximum_width 280
  18. draw_shades no
  19. draw_outline no
  20. draw_borders no
  21. draw_graph_borders no
  22. default_color 656667
  23. default_shade_color 000000
  24. default_outline_color 828282
  25. alignment top_right
  26. gap_x 12
  27. gap_y 56
  28. no_buffers yes
  29. uppercase no
  30. cpu_avg_samples 2
  31. override_utf8_locale no
  32. ##############################################
  33. # Output
  34. ##############################################
  35. TEXT
  36. S Y S T E M I N F O
  37. ${hr}
  38. Host:$alignr$nodename
  39. Kernel: $alignr$kernel
  40. Uptime:$alignr$uptime
  41. CPU usage:$alignr${cpu cpu0}%
  42. Processes: ${alignr}$processes ($running_processes running)
  43.  
  44. HDD: $alignr ${fs_free /} / ${fs_size /}
  45. ${fs_bar 4 /}
  46.  
  47. RAM: ${alignr}$mem / $memmax ($memperc%)
  48. ${membar 4}
  49.  
  50. N E T W O R K I N F O
  51. ${hr}
  52. ${offset 4}Inbound: ${color grey}${tcp_portmon 1 32767 count} $color Outbound: ${color grey}${tcp_portmon 32768 61000 count} $color ${alignr}Total: ${color grey}${tcp_portmon 1 65535 count}
  53. $color
  54. E S T A B L I S H E D
  55. Proto Connection PID
  56.  
  57. ${color grey}${execp netstat -antp | grep ESTABLISHED | grep -v www | awk '{ print " ", $1, " ", $5, " ", $7 }'}$color
  58.  
  59. L I S T E N I N G
  60. Proto Connection PID
  61.  
  62. ${color grey}${execp netstat -antp | grep LISTEN | awk '{ print " ", $1, " ", $4, " ", $7 }'}
  63. $color
  64. I N T E R N A L I P ${alignr}${color grey}${addr eth0}${color grey}$color
  65. P U B L I C I P ${alignr}${color grey}${execi 3600 wget -q -O /dev/stdout http://checkip.dyndns.org/ | cut -d : -f 2- | cut -d \< -f -1}$color
  66.  
  67. T O P
  68. ${hr}
  69. Name ${alignr}PID CPU MEM
  70. ${color grey} ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}$color
  71. ${top name 2} $alignr ${top pid 2} ${top cpu 2} ${top mem 2}
  72. ${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}
  73.  
  74. Mem usage$color
  75. ${color grey} ${top_mem name 1} $alignr ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}$color
  76. ${top_mem name 2} $alignr ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  77. ${top_mem name 3} $alignr ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  78.  
  79. ${color}Down:${color white} ${downspeed eth0} k/s ${color} Tot: $alignr ${totaldown eth0} Up:${color white} ${upspeed eth0} k/s
  80. ${color #888888}${downspeedgraph eth0 20,70 ff0000 0000ff} ${color #888888}${upspeedgraph eth0 20,70 0000ff ff0000}
  81. Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
  82.  
  83. S H O R T C U T K E Y S
  84. ${hr}
  85. Cmd + r$alignr Run Dialog
  86. Cmd + t$alignr Terminal
  87. Cmd + f$alignr File Manager
  88. Cmd + e$alignr Editor
  89. Cmd + w$alignr Web Browser
  90. Cmd + m$alignr Media Player
  91. Cmd + h$alignr Task Manager
  92. Cmd + l$alignr Lock Screen
  93. Cmd + v$alignr Volume Control
  94. Cmd + Space$alignr Main Menu
  95. Cmd + Tab$alignr Client Menu
  96. Cmd + x$alignr Logout
  97. PrtSc$alignr Screenshot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement