5

How to determine if ftp/smtp is up and running using a script?

view full story
linux-howto

http://serverfault.com – Similiar to how these uptime monitoring servieces perform checks if your smtp or ftp server is running, how could I do this myself using python/ruby? (HowTos)