ClamAV関係のコマンド … chkclamav

========== ========== ========== ========== ==========
Tiger
========== ========== ========== ========== ==========
#!/bin/csh -f
/usr/sbin/netstat -Ana -p tcp | /usr/bin/head -2
/usr/sbin/netstat -Ana -p tcp | /usr/bin/grep 1002
echo “”
/bin/ps auxw | /usr/bin/head -1
/bin/ps auxw | /usr/bin/grep ^clamav | /usr/bin/grep -v grep | /usr/bin/grep -v chkclamav
/bin/ps auxw | /usr/bin/grep ^amavisd | /usr/bin/grep -v grep

========== ========== ========== ========== ==========
Panther
========== ========== ========== ========== ==========
#!/bin/csh -f
/usr/sbin/netstat -Ana -p tcp | /usr/bin/head -2
/usr/sbin/netstat -Ana -p tcp | /usr/bin/grep 1002
echo “”
/bin/ps auxw | /usr/bin/head -1
/bin/ps auxw | /usr/bin/grep ^clamav | /usr/bin/grep -v grep | /usr/bin/grep -v chkclamav
/bin/ps auxw | /usr/bin/grep ^amavisd | /usr/bin/grep -v grep

========== ========== ========== ========== ==========
Leopard
========== ========== ========== ========== ==========
#!/bin/csh -f
/usr/sbin/netstat -Ana -p tcp | /usr/bin/head -2
/usr/sbin/netstat -Ana -p tcp | /usr/bin/grep 1002
echo “”
/bin/ps auxw | /usr/bin/head -1
/bin/ps auxw | /usr/bin/grep ^clamav | /usr/bin/grep -v grep | /usr/bin/grep -v chkclamav
/bin/ps auxw | /usr/bin/grep ^amavisd | /usr/bin/grep -v grep

Author: Kumecchi

コメントを残す