Zupermen sıranı bekleeee..
#/usr/bin/!
echo
echo "Merhaba ben Durumcan sana serverinin ne durumda oldugunu bilgilendirmek icin yaziyorum.."
echo
echo "CPU Load ve Ram Kullanimlari"
echo "------------------------------------------------"
echo
top -b -n 1 | head -n 10
echo
echo "------------------------------------------------"
echo
echo "Apache durumunuz"
echo "------------------------------------------------"
echo
httpd status | grep Port
echo
echo "------------------------------------------------"
echo
echo "IP ve Portlarin durumu.."
echo "------------------------------------------------"
echo
netstat -nap | grep :27015 | awk '{print $4}' | cut -d: -f1 | sort | uniq -c | sort -n
echo
echo "------------------------------------------------"
echo
echo "Saygilar iyi calismalar optum..."shellscript bu...
nano /usr/bin/durumlar
yazıp içine bunları yapıştır daha sonra
chmod +x /usr/bin/durumlar
ssh da durumlar yaz sonuçlar çıksın
bu yazdıkların benim sorumun cevabı değil dimi