服务器重启,自动重启httpd

1. 手动重启

  cd http ll

  cd /etc/httpd/   ll

  service httpd restart

2. 查看服务器内存使用情况

   df -h

3. 自动重启

  cat /etc/issue
  或者 cat /proc/version
  或者 uname -r

  chkconfig --add httpd 
  chkconfig httpd on
  chkconfig --list | grep httpd