
linux
Ericdm
这个作者很懒,什么都没留下…
展开
-
Linux 上的TC 流量控制几个例子
警告!这些例子,需要很好地理解TCP/ IP和其它网络概念。所有新的用户,应尽量在测试环境中的例子。TC命令是默认安装在我的Linux发行版。要列出现有规则,请输入:# tc -s qdisc ls dev eth0样本输出:qdisc pfifo_fast 0: root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 2转载 2013-12-26 22:42:02 · 2604 阅读 · 0 评论 -
gcc编译选项
gcc 提供了大量的警告选项,对代码中可能存在的问题提出警 告,通常可以使用-Wall来开启以下警告: -Waddress -Warray-bounds (only with -O2) -Wc++0x-compat -Wchar-subscripts -Wimplicit-int -Wimplicit-function-declaration转载 2014-03-21 11:43:12 · 686 阅读 · 0 评论