<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[务远的博客]]></title><description><![CDATA[你得在细微之中进步。]]></description><link>https://blog.youkuaiyun.com/standmyground</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; standmyground]]></copyright><item><title><![CDATA[UNIX网络编程笔记 信号处理]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/156070491</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/156070491</guid><author>standmyground</author><pubDate>Fri, 19 Dec 2025 10:40:17 +0800</pubDate><description><![CDATA[这行代码的意思是：signal 是一个函数，它接收一个整型 signo 和一个指向“接收 int 返回 void”的函数指针 func，并返回一个指向“接收 int 返回 void”的函数指针。Sigfunc 实际上是《Unix 环境高级编程》（APUE）这本经典著作的作者 W. Richard Stevens 为了简化信号处理代码而自定义的一个类型定义（typedef）。这段代码的逻辑一目了然：signal 函数接收一个信号编号和一个处理函数，返回旧的处理函数。UNIX网络编程笔记 信号处理。]]></description><category></category></item><item><title><![CDATA[L3 Tunneling]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/86221826</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/86221826</guid><author>standmyground</author><pubDate>Thu, 10 Jan 2019 11:35:51 +0800</pubDate><description><![CDATA[Introduction
Since L3 tunneling is fundamentally a routing technology, the switch where tunnels should to be configured needs to have routing enabled.
#enable routing
echo 1 &amp;amp;gt; /proc/sys/net/ipv4/ip...]]></description><category></category></item><item><title><![CDATA[Virtual Routing and Forwarding (VRF)]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/86167036</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/86167036</guid><author>standmyground</author><pubDate>Wed, 09 Jan 2019 17:52:30 +0800</pubDate><description><![CDATA[Virtual Routing and Forwarding (VRF)
The VRF device combined with ip rules provides the ability to create virtual
routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the
Linux networ...]]></description><category></category></item><item><title><![CDATA[硬中断与软中断]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85856650</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85856650</guid><author>standmyground</author><pubDate>Sat, 05 Jan 2019 16:07:25 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/xuchenhuics/article/details/79120644

]]></description><category></category></item><item><title><![CDATA[Linux虚拟内存]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85856602</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85856602</guid><author>standmyground</author><pubDate>Sat, 05 Jan 2019 16:06:29 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/qq_38410730/article/details/81036768

]]></description><category></category></item><item><title><![CDATA[寄存器]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85856574</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85856574</guid><author>standmyground</author><pubDate>Sat, 05 Jan 2019 16:05:47 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/u012493828/article/details/53439226

]]></description><category></category></item><item><title><![CDATA[Linux内核整体架构介绍]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85856405</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85856405</guid><author>standmyground</author><pubDate>Sat, 05 Jan 2019 16:05:10 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/changexhao/article/details/78321295

]]></description><category></category></item><item><title><![CDATA[对称多处理器]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85855309</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85855309</guid><author>standmyground</author><pubDate>Sat, 05 Jan 2019 15:45:39 +0800</pubDate><description><![CDATA[对称多处理器计算平台介绍对称多处理器
计算平台介绍
Flynn于1972年提出了计算平台的Flynn分类法，主要根据指令流和数据流来分类，共分为四种类型的计算平台，如下图所示：



单指令流单数据流机器（SISD）
SISD机器是一种传统的串行计算机，它的硬件不支持任何形式的并行计算，所有的指令都是串行执行。并且在某个时钟周期内，CPU只能处理一个数据流。因此这种机器被称作单指令流单数据流机器。...]]></description><category></category></item><item><title><![CDATA[linux 内存管理]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85342460</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85342460</guid><author>standmyground</author><pubDate>Sat, 29 Dec 2018 17:50:37 +0800</pubDate><description><![CDATA[linux内存管理机制：
https://www.cnblogs.com/wuchanming/p/4340034.html

]]></description><category></category></item><item><title><![CDATA[linux内核空间与用户空间]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/85335118</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/85335118</guid><author>standmyground</author><pubDate>Sat, 29 Dec 2018 10:27:36 +0800</pubDate><description><![CDATA[linux内核空间与用户空间
内核空间和用户空间是操作系统理论的基础之一，即内核功能模块运行在内核空间，而应用程序运行在用户空间。现代的CPU都具有不同的操作模式，代表不同的级别，不同的级别具有不同的功能，在较低的级别中将禁止某些操作。Linux系统设计时利用了这种硬件特性，使用了两个级别，最高级别和最低级别，内核运行在最高级别(内核态)，这个级别可以进行所有操作，而应用程序运行在较低级别(用户态...]]></description><category></category></item><item><title><![CDATA[shell字符串截取]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/82215799</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/82215799</guid><author>standmyground</author><pubDate>Thu, 30 Aug 2018 09:09:42 +0800</pubDate><description><![CDATA[shell脚本字符串截取的8种方法

假设有变量 var=http://www.aaa.com/123.htm.



1. # 号截取，删除左边字符，保留右边字符。



echo ${var#*//}

其中 var 是变量名，# 号是运算符，*// 表示从左边开始删除第一个 // 号及左边的所有字符
即删除 http://
结果是 ：www.aaa.com/123.htm

2. ## 号截...]]></description><category></category></item><item><title><![CDATA[switchdev qos]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/70284258</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/70284258</guid><author>standmyground</author><pubDate>Thu, 20 Apr 2017 18:13:01 +0800</pubDate><description><![CDATA[overview:https://github.com/Mellanox/mlxsw/wiki/Quality-of-Servicepacket被根据SP放入到端口的headroom buffer。端口的headroom buffer（PG buffer）用来存储端口的incoming packets（在packet被交换机的pipeline处理的过程中），也用来存储不允许进入shared buff]]></description><category></category></item><item><title><![CDATA[查看cpu信息]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52698439</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52698439</guid><author>standmyground</author><pubDate>Thu, 29 Sep 2016 08:57:45 +0800</pubDate><description><![CDATA[总核数 = 物理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查看逻]]></description><category></category></item><item><title><![CDATA[Git]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52692067</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52692067</guid><author>standmyground</author><pubDate>Wed, 28 Sep 2016 17:09:26 +0800</pubDate><description><![CDATA[配置： 
gitconfig–globaluser.name“YourName” git config –global user.name “Your Name”  
 git config –global user.email “email@example.com”注意git config命令的–global参数，用了这个参数，表示你这台机器上所有的Git仓库都会使用这个配置，当然也可以对某个仓库]]></description><category></category></item><item><title><![CDATA[UNXI网络编程笔记 第十二章IPV4与IPV6的互操作性]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52649805</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52649805</guid><author>standmyground</author><pubDate>Sat, 24 Sep 2016 12:24:13 +0800</pubDate><description><![CDATA[IPv4客户与IPv6服务器：  地址转换是由服务器端处理的 
  假设服务器支持双协议栈，而且即有一个IPv4地址，由有一个IPv6地址。服务器绑定了IPv6的通配地址。此时IPv4客户端要与服务器通信： 
  1）IPv6服务器启动，创建IPv6套接字，并且绑定通配地址 
  2）IPv4客户通过域名解析getaddrinfo找到服务器主机的IPv4地址 
  3）客户调用connect连接服务]]></description><category></category></item><item><title><![CDATA[xz文件解压]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52607087</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52607087</guid><author>standmyground</author><pubDate>Wed, 21 Sep 2016 13:56:18 +0800</pubDate><description><![CDATA[原文：http://blog.youkuaiyun.com/rheostat/article/details/7614451XZ压缩最新压缩率之王xz这个压缩可能很多都很陌生，不过您可知道xz是绝大数linux默认就带的一个压缩工具。之前xz使用一直很少，所以几乎没有什么提起。我是在下载phpmyadmin的时候看到这种压缩格式的，phpmyadmin压缩包xz格式的居然比7z还要小，这引起我的兴趣。最新一段时]]></description><category></category></item><item><title><![CDATA[组播简介]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52592594</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52592594</guid><author>standmyground</author><pubDate>Tue, 20 Sep 2016 08:55:07 +0800</pubDate><description><![CDATA[通过组播，可以实现一个主机同时向组内的多台主机发送数据，节省网络带宽。组播ip地址范围是224.0.0.0—–239.255.255.255， 
其中 
224.0.0.0—–224.0.0.255是有特殊用途的保留地址， 
239.0.0.0—–239.255.255.255是私网地址， 
224.0.1.0—–238.255.255.255是用于公网上的组播地址。组播有一系列的协议支持包括：]]></description><category></category></item><item><title><![CDATA[使用guestfish修改QEMU IMAGE的root用户密码]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52583389</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52583389</guid><author>standmyground</author><pubDate>Mon, 19 Sep 2016 10:20:10 +0800</pubDate><description><![CDATA[原文：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]]></description><category></category></item><item><title><![CDATA[QEMU 简单使用]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52576934</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52576934</guid><author>standmyground</author><pubDate>Sun, 18 Sep 2016 19:03:03 +0800</pubDate><description><![CDATA[安装：  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]]></description><category></category></item><item><title><![CDATA[UNIX网络编程笔记 第十一章 名字与地址转换]]></title><link>https://blog.youkuaiyun.com/standmyground/article/details/52562620</link><guid>https://blog.youkuaiyun.com/standmyground/article/details/52562620</guid><author>standmyground</author><pubDate>Sat, 17 Sep 2016 12:25:06 +0800</pubDate><description><![CDATA[只适用于IPV4的函数：#include <netdb.h>
struct hostent *gethostbyname(const char *hostname);
//成功返回非空指针，出错返回NULL且设置h_errnostruct hostent{
    char *h_name;        //名字
    char **h_aliases;    //指向别名列表的指针
    i]]></description><category></category></item></channel></rss>