PF1: HELP帮助键 PF2: SPLIT键,改变分屏位置 PF3: END键,结束并退回上级菜单 PF4: RETURN键,结束并退回主菜单 PF5: REFIND键,重复最近一次FIND命令 PF6: RECHANGE键,重复最近一次CHANGE命令 PF7: UP键,向上滚屏 PF8: D ...
分类:
其他好文 时间:
2017-03-23 23:49:48
阅读次数:
234
1.用python实现一个查看某网段所有主机的状态(3秒实现)#vimping.pyimportsubprocessimportthreadingdefping(host):result=subprocess.call(‘ping-c2%s&>/dev/null‘%host,shell=True)ifresult==0:print"%s:up"%hostelse:print"%s:down"%hostif__name__==‘__main__‘:ips..
分类:
编程语言 时间:
2017-03-23 22:37:33
阅读次数:
177
Skip to content FeaturesExplorePricing This repository</form> Sign in or Sign up FeaturesExplorePricing This repository</form> Sign in or Sign up Feat ...
分类:
Web程序 时间:
2017-03-23 20:36:59
阅读次数:
230
Cleaning data in Python Table of Contents Set up environments Data analysis packages in Python Clean data in Python Load dataset into Spyder Subset Dr ...
分类:
其他好文 时间:
2017-03-23 19:56:56
阅读次数:
377
首先我们先了解一下mac下各个键位的含义:? Command? Shift? Option? Control?? Return/Enter? Delete? 向前删除键(Fn+Delete)↑ 上箭头↓ 下箭头← 左箭头→ 右箭头? Page Up(Fn+↑)? Page Down(Fn+↓)Hom ...
分类:
系统相关 时间:
2017-03-23 02:15:23
阅读次数:
188
(1)请写出下列程序的输出内容 代码如下: 输出内容如上注释。 (2)请写出下列程序的输出内容 代码如下: 输出内容如上注释 (3)请写出下列程序的输出内容 代码如下: 输出内容如上注释。 Good Good Study, Day Day Up. 顺序 选择 循环 总结 ...
分类:
编程语言 时间:
2017-03-23 01:48:59
阅读次数:
188
当业务扩展到一定程度时,服务器的负载能力往往不能胜任当前的业务规模,解决的方法无非是横向扩展和纵向扩展:横向扩展:又称水平扩展(Scale
Out),是通过负载均衡的方式,将压力疏散到后端各个节点服务器;纵向扩展:又称垂直扩展(Scale
Up),简单提高服务器的硬件性能,..
分类:
数据库 时间:
2017-03-22 23:53:36
阅读次数:
398
linux-网络相关配置,ssh服务,bash命令及优先级,元字符 二:临时配置网络(ip,网关,dns)+永久配置 临时配置: [root@nfs-server ~]# ifconfig ens32: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1 ...
分类:
系统相关 时间:
2017-03-21 19:12:52
阅读次数:
268
nohup node server.js & "I wanted to add that the accepted answer is really the way to go. I'm using forever on instances that need to stay up. I like ...
分类:
其他好文 时间:
2017-03-20 14:01:37
阅读次数:
183
1. Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input wo ...
分类:
其他好文 时间:
2017-03-19 14:13:29
阅读次数:
124