print "syslog not running" unless qx[ps -auxw | grep -v grep |grep `cat /var/run/syslogd.pid`];