以内核模块 drbd 为例: 1、创建 /etc/modules-load.d/drbd.conf 中,直接写模块名: drbd 2、创建 /etc/sysconfig/modules/drbd.modules:内容如下 # drbd module exists? /usr/sbin/modinfo ...
分类:
其他好文 时间:
2021-03-29 11:51:34
阅读次数:
0
iperf是一种命令行工具,用于通过测量服务器可以处理的最大网络吞吐量来诊断网络速度问题。它在遇到网络速度问题时特别有用,通过该工具可以确定哪个服务器无法达到最大吞吐量。 环境: server: centos/redhat 7.4 client:window10 iperf版本: iperf 3.1 ...
分类:
其他好文 时间:
2021-03-29 11:47:49
阅读次数:
0
Description:Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to t ...
分类:
其他好文 时间:
2021-03-18 14:37:13
阅读次数:
0
Given a non-negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you could get. ...
分类:
其他好文 时间:
2021-03-18 14:32:17
阅读次数:
0
华为交换机配置堆叠,请大家参考。 S5720s-12TP-LI-AC Istack 堆叠配置Leaf1 实施 先关闭物理接口[Leaf1]int g 0/0/11[Leaf1-GigabitEthernet0/0/11]shutdown[Leaf1]int g 0/0/12[Leaf1-Gigabi ...
分类:
其他好文 时间:
2021-03-17 14:24:45
阅读次数:
0
什么是 Cookie HTTP 是无状态的协议(对于事务处理没有记忆能力,每次客户端和服务端会话完成时,服务端不会保存任何会话信息):每个请求都是完全独立的,服务端无法确认当前访问者的身份信息,无法分辨上一次的请求发送者和这一次的发送者是不是同一个人。所以服务器与浏览器为了进行会话跟踪(知道是谁在访 ...
分类:
其他好文 时间:
2021-03-17 14:12:42
阅读次数:
0
1. hscale 2. vscale static void yuv2p010cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterSize, const int16_t **chrUSrc, const int16_t **chrV ...
分类:
其他好文 时间:
2021-03-17 14:06:46
阅读次数:
0
Linux命令cat使用攻略 选项解析: -A, --show-all 等价于 -vET -b, --number-nonblank 对非空输出行(包括仅仅有空格的行)编号,空输出行,指的是该行没有任何内容,即连续2次敲击回车按钮。 -e 等价于 -vE -E, --show-ends 在每行结束处 ...
分类:
系统相关 时间:
2021-03-16 14:12:35
阅读次数:
0
SQL按年月日进行分组 select count(project_name), create_at from table_a group by date_format(create_at, '%Y%m%d'); ...
分类:
数据库 时间:
2021-03-16 13:54:07
阅读次数:
0
1.url: 要求为String类型的参数,(默认为当前页地址)发送请求的地址。 2.type: 要求为String类型的参数,请求方式(post或get)默认为get。注意其他http请求方法,例如put和delete也可以使用,但仅部分浏览器支持。 3.timeout: 要求为Number类型的 ...
分类:
Web程序 时间:
2021-03-16 13:48:26
阅读次数:
0