more /proc/meminfo 查看系统内存信息

iptables -F 关闭防火墙

/etc/init.d/network restart 重启网卡

#cd /etc/sysconfig/network-scripts 进入网卡配置目录

#cat /proc/cpuinfo 查看CPU信息

#cat /proc/cpuinfo |grep "physical id" | sort | uniq | wc -l (查看cpu核心数)

chkconfig httpd on (设置http服务开机自启)

#chkconfig httpd off(设置http服务开机不自启)

chkconfig --list httpd (查看http服务在各个运行级别的状态)

chkconfig --level 35 httpd on (设置http服务在 3 5运行级别下开机自启)

shutdown -h now (马上关机)

#shutdown -r now (马上重启系统)