08 2017 档案

摘要:把所有 标准输出 和 标准错误输出 都输出到文件(屏幕无输出): ls file1 non-file > ./out.log 2>&1 同上: ls file1 non-file 1> ./out.log 2>&1 有时候会看到1>&2,但是第一个就不能简写了: ls file1 non-file 阅读全文
posted @ 2017-08-09 16:02 dongdonggeorge 阅读(162) 评论(0) 推荐(0) 编辑
摘要:1. 网卡Bonding一共有0-6七种mode,具体区别请自行搜索; 2. 建议通过nmtui命令在交互模式下配置,这样不会落下重要的字段,也不用去记忆到底有哪些字段; 3. 我的实验环境是VMWare Workstation+CentOS7,想实现网卡容错,所以选了mode 1(有些文章用了mo 阅读全文
posted @ 2017-08-07 16:25 dongdonggeorge 阅读(1546) 评论(0) 推荐(0) 编辑
摘要:CPU: http://www.numberworld.org/y-cruncher/ A Multi-Threaded Pi-Program 阅读全文
posted @ 2017-08-04 10:28 dongdonggeorge 阅读(299) 评论(0) 推荐(0) 编辑