|
|

楼主 |
发表于 2006-4-4 15:36:52
|
显示全部楼层
# torsmo configuration
# set to yes if you want tormo to be forked in the background background yes
font 6x10
use_xft yes
xftfont sans-11
xftalpha 0.8
update_interval 5
own_window no
double_buffer yes
minimum_size 5 5
draw_shades no
draw_outline yes
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_color green
default_shade_color black
default_outline_color black
alignment top_right
gap_x 10
gap_y 10
no_buffers yes
uppercase no
TEXT
${color red} $nodename - $sysname $kernel
${stippled_hr 2 1}
${color magenta}time${color}
${color green}local date${color} ${time %Y/%d/%m, %u}
${color green}local time${color} ${time %H:%M}
${color green}uptime${color} $uptime
${stippled_hr 2 1}
${color magenta}processor${color}
${color green}usage${color} $cpu%
${color green}processes${color} $processes
${color green}running${color} $running_processes
${stippled_hr 2 1}
${color magenta}memory (used/max)${color}
${color green}ram${color} $mem/$memmax $memperc%
${color green}swap${color} $swap/$swapmax $swapperc%
${stippled_hr 2 1}
${color magenta}network
${color} Up: $color ${upspeed eth1} kb/s
${color} Down: $color ${downspeed eth1} kb/s
${stippled_hr 2 1}
${color magenta}File systems:
${color green}/ $color${fs_free /}/${fs_size /}
${color green}/myfile $color${fs_free /myfile}/${fs_size /myfile}
${color green}/mnt/winc $color${fs_free /mnt/winc}/${fs_size /mnt/winc}
${stippled_hr 2 1}
${color magenta}Cpu Mem Process
${color red}${execi 10 ps gaxo %cpu,%mem,comm | sort +0nr | head -n 10 | sed -e 's/-bin//' | sed -e 's/-media-play//'} |
|