[linux]各サービスの確認方法などのメモ

service postfix status
lsof -i:25

service httpd status
lsof -i:80
lsof -i:443

$chkconfig --list|grep iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off

$chkconfig --level 3 iptables off
$chkconfig --level 5 iptables off
...