Loading

摘要: 一. 起因 发现云服务器没有swap分区 于是我们分出一些物理内存做swap分区。。 二. 经过 (1)创建块文件 sudo dd if=/dev/zero of=/tmp/big_swap bs=1024 count=2000000 注意:if 表示 infile,of 表示outfile bs= 阅读全文
posted @ 2016-12-23 22:02 ssooking 阅读(3209) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.linuxnote.org/system-monitoring.html 一.监视并重启httpd服务 check process #!/bin/bash process="/usr/sbin/httpd" start="service httpd restart" p 阅读全文
posted @ 2016-12-23 21:28 ssooking 阅读(189) 评论(0) 推荐(0) 编辑