Chinaunix首页 | 论坛 | 博客
  • 博客访问: 126306
  • 博文数量: 22
  • 博客积分: 948
  • 博客等级: 准尉
  • 技术积分: 225
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-08 15:50
文章分类

全部博文(22)

文章存档

2015年(1)

2013年(1)

2010年(1)

2009年(19)

我的朋友

分类: LINUX

2013-09-21 15:19:04


点击(此处)折叠或打开

  1. alignment top_right
  2. background yes
  3. border_margin 2
  4. border_width 1
  5. cpu_avg_samples 2
  6. top_cpu_separate true
  7. default_color white
  8. default_outline_color white
  9. default_shade_color white
  10. double_buffer yes
  11. draw_borders no
  12. draw_graph_borders yes
  13. draw_outline no
  14. draw_shades no
  15. use_xft yes
  16. xftfont WenQuanYi MicroHei:size=11
  17. #gap_x 5
  18. gap_y 30
  19. max_port_monitor_connections 5
  20. maximum_width 308
  21. minimum_size 5 5
  22. net_avg_samples 2
  23. no_buffers yes
  24. out_to_console no
  25. out_to_stderr no
  26. own_window yes
  27. own_window_type desktop
  28. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  29. own_window_transparent yes
  30. stippled_borders 0
  31. update_interval 2.0
  32. uppercase no
  33. use_spacer none
  34. show_graph_scale no
  35. show_graph_range no

  36. TEXT
  37. ${alignc} $nodename $sysname $kernel on $machine ($desktop)
  38. $hr
  39. ${color }Uptime: $color $uptime
  40. ${color }Current Time: ${time %Y-%m-%d %H:%M:%S %A}
  41. $hr
  42. ${color }Battery: $color $battery_percent% $battery_time $battery_bar
  43. ${color }CPU State: $color${freq cpu1}MHz/${freq cpu2}MHz $acpitemp°C(T)
  44. ${color }Buffers/Cached: $color $buffers/$cached
  45. ${color }Mem State: $color $memperc% ${membar}
  46. ${color }Swap Usage: $color ${swap}/$swapmax $swapperc% ${swapbar}
  47. ${color }Processes: $color $processes ${color }Running: $color $running_processes
  48. $hr
  49. ${color }CPU Usage ${color}Num1: ${cpu cpu1}% Num2: ${cpu cpu2}%
  50. $color ${cpugraph cpu1 25,142 0AF031 0AF031} ${cpugraph cpu2 25,142 ff0000 0000ff}
  51. ${color }Mem Usage :${color} $mem/$memmax
  52. $color ${memgraph 25,287 1EDF57 1EDF57}
  53. ${color }Disk Usage ${color}Read:${diskio_read} Write:${diskio_write}
  54. $color ${diskiograph_read 25,142 F0E80A F0E80A} ${diskiograph_write 25,142 E63016 E63016}
  55. ${color }Network Down:${color #8844Ee} ${downspeed eth0} ${color } ${offset}Up:${color #22ccff} ${upspeed eth0}
  56. $color ${downspeedgraph eth0 25,142 ff0000 0000ff} ${upspeedgraph eth0 25,142 0000ff ff0000}
  57. ${color }Wireless Down:${color #8844Ee} ${downspeedf wlan0} ${color } ${offset}Up:${color #22ccff} ${upspeedf wlan0}
  58. $color ${downspeedgraph wlan0 25,142 ff0000 0000ff} ${upspeedgraph wlan0 25,142 0000ff ff0000}
  59. $hr
  60. ${color }File systems:
  61. /    ${alignr 110}$color${fs_used /}/${fs_size /}    ${fs_bar 5 /}
  62. /var    ${alignr 110}$color${fs_used /var}/${fs_size /var}    ${fs_bar 5 /var}
  63. /home    ${alignr 110}$color${fs_used /home}/${fs_size /home}    ${fs_bar 5 /home}
  64. $hr
  65. ${color }Name${alignr 50}    PID    CPU%    MEM%
  66. ${color } ${top name 1}${alignr 50}    ${top pid 1}    ${top cpu 1}    ${top mem 1}
  67. ${color } ${top name 2}${alignr 50}    ${top pid 2}    ${top cpu 2}    ${top mem 2}
  68. ${color } ${top name 3}${alignr 50}    ${top pid 3}    ${top cpu 3}    ${top mem 3}
  69. ${color } ${top name 4}${alignr 50}    ${top pid 4}    ${top cpu 4}    ${top mem 4}
  70. ${color } ${top name 5}${alignr 50}    ${top pid 5}    ${top cpu 5}    ${top mem 5}

阅读(3050) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~