07年毕业至今,一直从事运维工作。目前在深圳市酷开网络科技有限公司担任运维工程师。愿与运维人员共同学习,共同研究。
发布时间:2015-05-08 15:50:26
前言:本人2014年2月18日编写的服务器性能测试培训文档,供新员工学习。地址:http://linuxpython.blog.51cto.com/10015972/1643910第一部分:服务器性能测试一、了解测试工具sysbenchsysbench是一款开源的多线程性能测试工具,可以执行CPU/内存/线程/IO/数据库等方面的性能测试。数据库目前支持MySQ.........【阅读全文】
发布时间:2015-04-09 15:37:50
cat > /etc/sysctl.conf << EOFnet.ipv4.ip_forward = 0 net.ipv4.conf.all.rp_filter = 1net.ipv4.conf.default.rp_filter = 1net.ipv4.conf.default.accept_source_route =&nb.........【阅读全文】
发布时间:2015-04-04 16:45:27
nginx日志设置如下log_format access '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' &nb.........【阅读全文】
发布时间:2015-03-31 21:05:02
1,用 git 下载源码后修改配置文件 config.yml,把 storage_path 部分改成 Docker 镜像仓库的存放地点:$ git clone https://github.com/dotcloud/docker-registry$ cd docker-registry$ cp config_sample.yml config.yml$ vi config.yml.........【阅读全文】
发布时间:2015-03-31 20:58:42
############### cpu性能查看 ########################################1、查看物理cpu个数:cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l2、查看每个物理cpu中的core个数:cat /proc/cpuinfo |grep "cpu cores"|wc -l3、逻辑cpu的个数:cat /proc/cpuinfo |grep "processor"|wc -l物理cpu个数*.........【阅读全文】