to create monitoring for many server use xterm
create script like bellow with user non root
create file with name xtermtest
$nano xtermtest
#!/bin/sh
xterm -geometry 65x8 -title bandung -bg OliveDrab3 -e "ping 10.0.10.51" &
sleep 1
xterm -geometry 65x8 -title surabaya -bg chartreuse4 -e "ping 10.0.10.52" &
sleep 1
xterm -geometry 65x8 -title semarang -bg DarkOliveGreen -e "ping 10.0.10.53" &
sleep 1
xterm -geometry 65x8 -title makasar -bg SeaGreen4 -e "ping 10.0.10.54" &
sleep 1
xterm -geometry 65x8 -title medan -bg cyan4 -e "ping 10.0.10.55" &
sleep 1
xterm -geometry 65x8 -title solo -bg cyan4 -e "ping 10.0.10.56" &
sleep 1
xterm -geometry 65x8 -title bsd -bg SeaGreen4 -e "ping 10.0.10.57" &
sleep 1
xterm -geometry 65x8 -title puri -bg DarkOliveGreen -e "ping 10.0.10.58" &
sleep 1
xterm -geometry 65x8 -title malang -bg cyan4 -e "ping 10.0.10.59" &
sleep 1
xterm -geometry 65x8 -title pluit -bg chartreuse4 -e "ping 10.0.10.60" &
sleep 1
xterm -geometry 65x8 -title manado -bg OliveDrab3 -e "ping 10.0.10.61" &
sleep 1
xterm -geometry 65x8 -title pekanbaru -bg SeaGreen4 -e "ping 10.0.10.62" &
sleep 1
xterm -geometry 65x8 -title pontianak -bg DarkOliveGreen -e "ping 10.0.10.63" &
sleep 1
xterm -geometry 65x8 -title balikpapan -bg SeaGreen4 -e "ping 10.0.10.64" &
sleep 1
xterm -geometry 65x8 -title kelapagading -bg cyan4 -e "ping 192.168.21.8" &
$su -
password:
#chmod a+x xtermtest
$./xtermtest
enjoy your new konsole :)
for detail color you can see at http://critical.ch/xterm/
Tidak ada komentar:
Posting Komentar