上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页
摘要: cpu numa结构反应的内存访问速度问题: 在多核cpu的时代引入了cpu的numa(非一致内存访问结构): NUMA引入了node的概念,每个物理CPU都被视作一个node,而每个node都有一个local memory(访问速度更快),其他node的内存则为remote NUMA的内存分配策略 阅读全文
posted @ 2017-01-08 22:32 xuanhui 阅读(463) 评论(0) 推荐(0)
摘要: 1、 也许你会经常遇到一个经典的swap大小设置问题(比如狗血的面试题)。 很多人多会说内存的2倍、、 但是个人认为一般而言 swap 不要设置太大,最好不要超过4G。 2、 进程申请内存不足时,发现某些进程占用空闲内存:swap out :os mem--> swap 当被swap out的进程从 阅读全文
posted @ 2017-01-08 21:53 xuanhui 阅读(736) 评论(0) 推荐(0)
摘要: 一、通过修改配置文件配置: 编辑配置文件: #sudo vim /etc/network/interfaces #sudo vim /etc/network/interfaces auto ens33 #没有这句网卡不能启动 iface ens33 inet static address 192.1 阅读全文
posted @ 2017-01-08 21:15 xuanhui 阅读(747) 评论(0) 推荐(0)
摘要: 最近使用docker 构建python3的环境: 进入容器发现 连个vi命令多没有。。。 1、安装一个呗: apt-get 报错:root@22f41d59e3b2:~# apt-get install vimReading package lists... DoneBuilding depende 阅读全文
posted @ 2017-01-08 20:51 xuanhui 阅读(435) 评论(0) 推荐(0)
摘要: 整理了一些东西,有的没的···· 很久很久,整个假期3、4天,就这么折腾。 2016 太长,也太短,不论如何,过去了就让他过去吧!! 背上行囊,不回头,继续前行。。。 阅读全文
posted @ 2017-01-02 23:03 xuanhui 阅读(113) 评论(0) 推荐(0)
摘要: #ip与括号之间不能有空格,不加rw参数时挂载的目录是只读的 /eqp/export/ 10.10.30.0/24(rw,sync,no_root_squash) #更改目录所属的组和所属的用户(nfs一般给其他用户程序使用) chow -R gw.gw /eqp/export/ #如果目录不通需要 阅读全文
posted @ 2017-01-02 20:29 xuanhui 阅读(194) 评论(0) 推荐(0)
摘要: <Context path="/ext" docBase="/eqp/export" /> 访问目录 真实目录 阅读全文
posted @ 2017-01-02 20:28 xuanhui 阅读(582) 评论(0) 推荐(0)
摘要: yum install perl-DBI perl-DBD-MySQL perl-Time-HiRes perl-Time-HiRes perl-IO-Socket-SSLwget http://pkgs.repoforge.org/perl-TermReadKey/perl-TermReadKey 阅读全文
posted @ 2017-01-02 20:25 xuanhui 阅读(270) 评论(0) 推荐(0)
摘要: [root@back_zabbix_100 ~]# ping 10.10.30.250 | awk '{print $0"\t" strftime("%H:%M:%S",systime()) }'PING 10.10.30.250 (10.10.30.250) 56(84) bytes of dat 阅读全文
posted @ 2017-01-02 20:22 xuanhui 阅读(1317) 评论(0) 推荐(0)
摘要: 查看:mysql> show binary logs; 删除 mysql-bin.000200 之前binlog日志:mysql> purge binary logs to 'mysql-bin.000200 '; 阅读全文
posted @ 2017-01-02 20:20 xuanhui 阅读(552) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页