signal(SIGCHLD, SignalHandler);
注册软中断,对应的apiclose(socket);ret=fork(): 父进程,返回子进程的pid. 子进程返回0,
出错返回<0set_process_name("Name"), 当前进程名称dpopen, dlclose,dls...
分类:
系统相关 时间:
2014-06-09 18:24:11
阅读次数:
306
1.关于pippip是python的软件安装工具,下面是pip的使用方法:(1)安装包:pip
install SomePackage(2)查看安装包时安装了哪些文件:pip show --files SomePackage(3)查看哪些包有更新:pip
show --files SomePacka...
分类:
编程语言 时间:
2014-06-09 17:58:04
阅读次数:
240
原题地址:https://oj.leetcode.com/problems/combination-sum/题意:Given
a set of candidate numbers (C) and a target number (T), find all unique
combinations in...
分类:
编程语言 时间:
2014-06-09 17:50:09
阅读次数:
333
原题地址:https://oj.leetcode.com/problems/first-missing-positive/题意:Given
an unsorted integer array, find the first missing positive integer.For
example,G...
分类:
编程语言 时间:
2014-06-09 17:44:43
阅读次数:
980
原题地址:https://oj.leetcode.com/problems/combination-sum-ii/题意:Given
a collection of candidate numbers (C) and a target number (T), find all unique
combi...
分类:
编程语言 时间:
2014-06-09 17:41:58
阅读次数:
320
Posted in Linux Kernel at November 8th, 2012 /
1 Comment ? 我以前写过一篇介绍 tunnel 的文章,只是做了大体的介绍。里面多数 tunnel
是很容易理解的,因为它们多是一对一的,换句话说,是直接从一端到另一端。比如 IPv6 over ...
分类:
其他好文 时间:
2014-06-09 17:35:09
阅读次数:
211
Creating an IP Tunnel using GRE on Linux
Contents[hide] · 1 IP Tunelling · 2 Starting Configuration · 3 Tunnelling
Objective o 3.1 Create Tunnels o 3....
分类:
系统相关 时间:
2014-06-09 17:34:28
阅读次数:
565
Posted in Linux Application at November 13th,
2012 如果你是用 openvswitch 内置的 GRE tunnel,那么配置很简单,基本上就一条命令: ovs-vsctl add-port br0
gre0 -- set interface gre...
分类:
其他好文 时间:
2014-06-09 17:11:23
阅读次数:
304
From:http://www.frostsky.com/2013/03/linux-performance-analysis-tool?wpmp_switcher=desktop前段时间看到brendangregg的
Linux Performance Analysis and Tools PPT...
分类:
系统相关 时间:
2014-06-09 17:10:01
阅读次数:
315
一、登录MySQL查看用SHOW VARIABLES LIKE
‘character%’;下字符集,显示如下:
+--------------------------+----------------------------+ | Variable_name |
Value | +---------...
分类:
数据库 时间:
2014-06-09 16:58:04
阅读次数:
247