Code Sample |
TEXT ${color grey}Host:$color $nodename ${color grey}Kernel:$color GNU/Linux $kernel ${color grey}Uptime:$color $uptime ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes ${color grey}Load:$color $loadavg ${color blue}$hr ${color grey}CPU Usage:$color $cpu% ${color grey}$cpubar ${color grey}RAM Usage:$color $mem% ${color grey}$membar ${color green}$hr ${color grey}Filesystem:$color / ${color grey}Size:$color $fs_size ${color grey}Used:$color $fs_used ${color grey}Free:$color $fs_free ${color red}$hr ${color grey}Time:$color $time |
Quote |
TEXT ${color grey}Wired: Up:$color ${upspeed eth0} k/s${color grey} - Down:$color ${downspeed eth0} k/s ${color grey}Wireless: ${color grey}Bit Rate: $color ${wireless_bitrate wlan0} Up:$color ${upspeed wlan0} k/s${color grey} - Down:$color ${downspeed wlan0} k/s ${color blue}$hr ${color grey}Processes:$color $processes ${color grey}CPU Usage:$color $cpu% ${color grey}${cpubar 3} ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${color grey}${membar 3} ${color grey}Swap Used:$color $swap/$swapmax - $swapperc% ${color grey}${swapbar 3} ${color grey}File systems: / $color${fs_free /}/${fs_size /} ${color grey}${fs_bar 3 /} /home $color${fs_free /home/dsl}/${fs_size /home/dsl} ${color grey}${fs_bar 3 /home/dsl} ${color red}$hr ${color grey}Uptime: $color $uptime ${color #ddd}Battery: $color ${battery} ${color #ddd}CPU Freq: $color ${freq_g}GHz ${color #ddd}Temp: $color ${acpitemp}degC ${color green}$hr$color $sysname $kernel on $machine ${color grey}Host: $color$nodename ${execi 180 /home/dsl/.torsmo_ip} ${color grey}User: dsl ${color red}$hr ${color grey}$color${execi 45 ~/.citytime 'San Francisco' 'New York' Paris Dubai Singapore Sydney} |
Quote |
${color red}$hr ${color grey}Uptime: $color $uptime ${color #ddd}Battery: $color ${battery} ${color #ddd}CPU Temp: $color ${acpitemp} degC ${color grey}CPU Freq: $color ${execi 180 ~/.cpufreq.sh} ${color grey}CPU Govn: $color ${execi 180 ~/.cpugov.sh} ${color grey}/dev/hda: $color ${execi 180 ~/.laptop_mode.sh} ${color green}$hr$color .cpufreq.sh = cpufreq-info -mf | tr -d '\n' .cpugov.sh = cpufreq-info -p | awk '{printf $3}' .laptop_mode.sh = sudo /etc/init.d/laptop-mode status | awk '/drive state is/{printf $4}' |