按类别查询搜索结果
关于关键词 的检测结果,共 346
steve78926 | 2016-01-19 17:27:22 | 阅读(1910) | 评论(0)
一个检测OpenSSL心脏出血漏洞的Python脚本分享【阅读全文】
by917611 | 2015-12-10 17:12:34 | 阅读(3420) | 评论(0)
zabbix python 脚本报警【阅读全文】
【系统运维】 python 登陆线上服务器
by917611 | 2015-12-10 17:00:30 | 阅读(2780) | 评论(0)
python 登陆线上服务器
1. 传入变量直接登陆
2. search ip 登陆
3. 传入id直接登陆【阅读全文】
【系统运维】 python 监控服务器信息
framerhbx | 2015-12-04 11:24:09 | 阅读(1000) | 评论(0)
python 监控服务器基本信息【阅读全文】
【系统运维】 python 监控服务器信息
by917611 | 2015-11-19 14:13:15 | 阅读(3130) | 评论(0)
python 监控服务器基本信息【阅读全文】
chengxuyonghu | 2015-09-25 15:02:58 | 阅读(1390) | 评论(0)
<p style="margin:10px auto;white-space:normal;line-height:19.5px;color:#4B4B4B;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;font-size:13px;background-color:#FFFFFF;"><strong>简介</strong><br />python-qrcode是个用来生成二维码图片的第三方模块,依赖于 PIL 模块和 qrcode 库。</p><p styl...【阅读全文】
bjutslg | 2015-09-23 16:29:41 | 阅读(1090) | 评论(0)
<span style="color:#FFFFFF;"><span style="color:#E53333;background-color:#FFFFFF;">&nbsp;</span><wbr><span style="color:#E53333;background-color:#FFFFFF;"> python中得thread的一些机制和C/C++不同:在C/C++中,主线程结束后,其子线程会默认被主线程kill掉。而在python中,主线程结束后,会默认等待子线程结束后...【阅读全文】
expert1 | 2015-09-21 14:26:12 | 阅读(3030) | 评论(0)
<br /><div id="codeText" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style="color:#000000;"><span style="color:#0000FF;">import</span> ldap<br /></span></li><li><span style="color:#0000FF;">import</span> ldap<span style=...【阅读全文】
woodman886 | 2015-09-16 14:07:50 | 阅读(690) | 评论(0)
<div class="articalTitle"><h2 class="titName SG_txta" id="t_86bf6b700101nani">Python在自动化运维时经常会用到的方法</h2><span class="time SG_txtc">(2014-01-14 14:29:18)</span> <div class="turnBoxzz"><a class="SG_aBtn SG_aBtn_ico SG_turn" href="javascript:;" action-type="reblog" action-da...【阅读全文】
Goun1314 | 2015-09-15 11:50:25 | 阅读(730) | 评论(0)
<div style="font-family:微软雅黑;font-size:14px;line-height:21px;white-space:normal;widows:auto;background-color:#FFFFFF;"><span style="background-color:#FFE500;">下面的内容都是看书做的笔记</span><br /># -*- coding: utf-8 -*-</div><div style="font-family:微软雅黑;font-size:14px;line-height:21px...【阅读全文】
expert1 | 2015-09-14 21:53:18 | 阅读(3680) | 评论(0)
#!/usr/bin/python
#coding:utf-8

from functools import wraps
import sys
import json
import requests
import sys
from optparse import OptionParser

def CheckLogin(func):
    def wrapper(self,*args,**kwargs):
   ...【阅读全文】
expert1 | 2015-09-14 21:19:44 | 阅读(1050) | 评论(0)
    业务中的reports产生后在数据库插入一条记录,现在要检测report是否按时生成,用python写了个nagios插件,其实很简单,只需要判断返回值0/1/2/3即可。

#!/usr/bin/env python

import MySQLdb,sys

from optparse import OptionParser

parser = OptionPar...【阅读全文】
【系统运维】 python datetime处理时间
chengxuyonghu | 2015-09-10 14:32:29 | 阅读(1370) | 评论(0)
Python提供了多个内置模块用于操作日期时间,像calendar,time,datetime。time模块我在之前的文章已经有所介绍...【阅读全文】
【系统运维】 python 发送邮件实例
chengxuyonghu | 2015-09-09 17:16:57 | 阅读(1070) | 评论(0)
<p style="margin:10px auto;line-height:19.5px;font-size:13px;font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;white-space:normal;background-color:#28557E;"><strong>文件形式的邮件</strong></p><div class="dp-highlighter bg_python" style="font-family:Consolas, 'Courier New', Courier, mono,...【阅读全文】
chengxuyonghu | 2015-09-09 16:49:10 | 阅读(1300) | 评论(0)
一、相关模块介绍【阅读全文】
chengxuyonghu | 2015-08-25 14:47:06 | 阅读(1570) | 评论(0)
<article id="post-280" class="post-280 post type-post status-publish format-standard hentry category-python category-87 tag-daemon tag-python-2 tag-supervisor tag-90" style="box-sizing:border-box;color:#333333;font-family:sans-serif;font-size:medium;line-height:22.399999618530273px;white-space:norma...【阅读全文】
expert1 | 2015-08-20 17:27:40 | 阅读(4050) | 评论(0)
    穷极无聊而作,本来是可以bash来完成的,没啥技术含量可言,注意的是要想把配置一口气输入,需要执行skip-page-display, cisco的交换机应该是 terminal length 0 。


【阅读全文】
【系统运维】 python编写网络爬虫
hwc56 | 2015-08-10 18:53:39 | 阅读(480) | 评论(0)
chengxuyonghu | 2015-08-03 17:20:14 | 阅读(1180) | 评论(0)
一、安装xlrd模块【阅读全文】
【系统运维】 python读取xml文件
chengxuyonghu | 2015-08-03 17:11:20 | 阅读(810) | 评论(0)
<p class="p0" style="line-height:25.200000762939453px;margin:10px auto;color:#333333;font-family:Georgia, 'Times New Roman', Times, sans-serif;font-size:14px;white-space:normal;background-color:#FFFFFF;"><p class="p0" style="margin:10px auto;padding-top:2px;padding-bottom:2px;white-space:normal;ba...【阅读全文】