上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页
摘要: 阅读全文
posted @ 2016-06-12 16:39 similarface 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 679 yum install gcc* 683 yum install snmp 684 yum install snmp* 686 yum install snmpget 687 yum install snmp* 690 yum install net-snmp-devel 692 yum install net-snmp 693 yum i... 阅读全文
posted @ 2016-06-10 19:02 similarface 阅读(198) 评论(0) 推荐(0) 编辑
摘要: ''' shelve模块: 映射容器 存储对象,被存储的对象都会被序列化并且被写入文件 反序列化然后从文件获取任意对象 method:shelve.open() 'r' Open existing database for reading only (default) 'w' Open existing database for reading and writing 'c' Open database for reading and writing, creating it if it doesn’t exist 'n' Always create a new, empty database, open for reading and writing ''' 阅读全文
posted @ 2016-06-10 08:54 similarface 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 堡垒机实现原理 阅读全文
posted @ 2016-06-06 21:32 similarface 阅读(290) 评论(0) 推荐(0) 编辑
摘要: paramiko是用python语言写的一个模块,遵循SSH2协议,支持以加密和认证的方式,进行远程服务器的连接。 阅读全文
posted @ 2016-06-05 10:15 similarface 阅读(984) 评论(0) 推荐(0) 编辑
摘要: 将文件目录转换成网页目录树,文件树变成字典 阅读全文
posted @ 2016-06-02 16:34 similarface 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: 获取磁盘的UUID 获取磁盘的使用信息(容量,使用大小) 获取磁盘的分区信息 获取挂载的分区信息 获取未挂载的分区 阅读全文
posted @ 2016-06-01 18:10 similarface 阅读(1721) 评论(0) 推荐(0) 编辑
摘要: #健康风险-disease db.disease.find({versions:'2'}).forEach(function(item){ item.diseaseDetail && item.diseaseDetail.mutations && item.diseaseDetail.mutations.forEach(function(m)... 阅读全文
posted @ 2016-06-01 10:29 similarface 阅读(1305) 评论(0) 推荐(0) 编辑
摘要: UNIX套接字用于在用一台机器上运行的进程之间通信。UNIX套接字比因特网域套接字的效率更高。UNIX与套接字提供和 数据报两种接口,UNIX域数据报服务是可靠的,就不会丢失消息也不会传递出错。UNIX域套接字是套接字和管道之间的混合物。 实现IPC的好方法。。。 阅读全文
posted @ 2016-05-30 11:44 similarface 阅读(295) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8__author__ = 'hdfs'try: name=['9','7'] name[3] 1/0except IndexError,e: print(e)except Exception,e: print(e)finally: print('End...>>>')cla 阅读全文
posted @ 2016-05-29 10:31 similarface 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页