![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
race condition
你得进步。
展开
-
VI 编辑器
快捷键 按键 说明 h 光标左移 j 光标下移 k 光标上移 l 光标右移 都可加数字表示位移量,比如10h表示向前移动10个字符 ctrl + f 向下移动一页 ctrl + b 向上移动一页 ctrl + d 向下移动半页 ctrl + u 向上移动半页 +加号 光标移动到非空格的下一行 -减号 光标移原创 2016-09-08 09:45:00 · 421 阅读 · 0 评论 -
使用guestfish修改QEMU IMAGE的root用户密码
原文:https://access.redhat.com/discussions/664843在使用QEMU或在QEMU-KVM时,如果不知道下载的image文件的root用户的密码,可以使用guestfish工具去修改。Using “guestfish” to change the Password for the root account: You can use guestfish to转载 2016-09-19 10:20:10 · 3831 阅读 · 0 评论 -
xz文件解压
原文:http://blog.csdn.net/rheostat/article/details/7614451XZ压缩最新压缩率之王xz这个压缩可能很多都很陌生,不过您可知道xz是绝大数linux默认就带的一个压缩工具。之前xz使用一直很少,所以几乎没有什么提起。我是在下载phpmyadmin的时候看到这种压缩格式的,phpmyadmin压缩包xz格式的居然比7z还要小,这引起我的兴趣。最新一段时转载 2016-09-21 13:56:18 · 1583 阅读 · 0 评论 -
查看cpu信息
总核数 = 物理CPU个数 X 每颗物理CPU的核数 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数查看物理CPU个数 cat /proc/cpuinfo| grep “physical id”| sort| uniq| wc -l查看每个物理CPU中core的个数(即核数) cat /proc/cpuinfo| grep “cpu cores”| uniq查看逻转载 2016-09-29 08:57:45 · 542 阅读 · 0 评论 -
QEMU 简单使用
安装: yum install qemu创建image文件: qemu-img create -f qcow2 guest.qcow2 3G安装linux: 1)下载一个镜像文件,http://download-node-02.eng.bos.redhat.com/composes/latest-RHEL7/compose/Server/ppc64le/iso/RHEL-7.3-20160原创 2016-09-18 19:03:03 · 20353 阅读 · 0 评论 -
switchdev qos
overview:https://github.com/Mellanox/mlxsw/wiki/Quality-of-Servicepacket被根据SP放入到端口的headroom buffer。端口的headroom buffer(PG buffer)用来存储端口的incoming packets(在packet被交换机的pipeline处理的过程中),也用来存储不允许进入shared buff原创 2017-04-20 18:13:01 · 1165 阅读 · 0 评论 -
Virtual Routing and Forwarding (VRF)
Virtual Routing and Forwarding (VRF)The VRF device combined with ip rules provides the ability to create virtualrouting and forwarding domains (aka VRFs, VRF-lite to be specific) in theLinux networ...转载 2019-01-09 17:52:30 · 1825 阅读 · 0 评论 -
L3 Tunneling
IntroductionSince L3 tunneling is fundamentally a routing technology, the switch where tunnels should to be configured needs to have routing enabled.#enable routingecho 1 > /proc/sys/net/ipv4/ip...转载 2019-01-10 11:35:51 · 437 阅读 · 0 评论