[root@localhost~]#ifconfig
ens8:flags=4163<UP,BROADCAST,RUNNING,MULTICAST>mtu1500
inet192.168.0.112netmask255.255.255.0broadcast192.168.0.255
inet6fe80::eda5:e2c1:5b96:46b5prefixlen64scopeid0x20<link>
ether52:54:00:c4:8d:84txqueuelen1000(Etherne..
分类:
其他好文 时间:
2017-08-24 10:41:22
阅读次数:
280
最近,微服务这个概念越来越流行,很多企业开始选择微服务作为自己新的架构。 那么,什么是微服务呢? 我们先来看一下架构大神martin fowler对微服务的解释。 The term "Microservice Architecture" has sprung up over the last few ...
分类:
其他好文 时间:
2017-08-24 00:05:34
阅读次数:
235
1、alarm clock go off闹钟响了,sleep right through it睡过去了,time to get up该起床, 2、you name it你说的 3、sleep in睡懒觉,赖床,you have been sleeping for 9hours(hour发奥的音)表睡 ...
分类:
其他好文 时间:
2017-08-23 14:56:51
阅读次数:
175
1、去北方城市go up to,去南方城市go down to; 2、you know the city shenyang?my family live up there.住在北方城市,沈阳。 3、turn it down/up调低/高点音量,turn it off=turn off sth关掉,i ...
分类:
其他好文 时间:
2017-08-23 13:48:31
阅读次数:
144
1、semaphore struct semaphore g_logic_func_sem; down_interruptible(&g_logic_func_sem) up(&g_logic_func_sem); sema_init(&g_logic_func_sem, 1); 1)是否支持嵌套获 ...
分类:
其他好文 时间:
2017-08-23 11:54:23
阅读次数:
158
查看系统负载的工具:uptime,w,都能查看系统负载,系统平均负载是处于运行或不可打扰状态的进程的平均数, 可运行:运行态,占用CPU,或就绪态,等待CPU调度。 不可打扰:阻塞,正在等待I/O 例1. 使用uptime查看系统负载 # uptime 19:26:17 up 49 days, 7: ...
分类:
系统相关 时间:
2017-08-23 11:47:25
阅读次数:
253
Linux手动添加swap分区 用法:dd [操作数] ... 或:dd 选项 Copy a file, converting and formatting according to the operands. bs=BYTES read and write up to BYTES bytes at ...
分类:
系统相关 时间:
2017-08-22 23:04:03
阅读次数:
206
有时候电脑中进行Java -version相关的操作时,会出现Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook提示信息,尽管这些提示信息不影响JDK的正常使用,这些不该出现的信息总是令人看着不太舒服。 有关 Picked up _JAVA_OPTIONS系 ...
分类:
编程语言 时间:
2017-08-22 12:26:58
阅读次数:
149
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic ...
分类:
其他好文 时间:
2017-08-22 10:32:06
阅读次数:
160
MongoDB基于CRUD(create,read,update,delete)方式实现了对集合上的文档进行增删改查。对于集合上字段的增删改,可以使用set或者unset修改器来实现。也可以使用文档替换的方式来实现。本文主要描述集合上字段的增删改,以及基于选项upsert的更新。a.语法描述db.collection.up..
分类:
数据库 时间:
2017-08-21 00:09:03
阅读次数:
255