Hi
I have a database with my servers details in .. I would like to write
a scripts to get the servers log on info ssh to the box and get basic
info using the following

hostname
cat /etc/issue
cat /proc/cpuinfo | grep "model name"
cat /proc/meminfo | grep "MemTotal"
uname -s -r
squid -v
/usr/sbin/sendmail -v -d0.1

Then save the info to the database.

Any tips on doing this ?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to