07 2020 档案

摘要:1 import psutil 2 from subprocess import Popen, PIPE 3 4 process_name ="bsmr.exe,fxclient.exe,FxTerm.exe,Xshell.exe,Foxmail.exe" 5 def getoutput(comma 阅读全文
posted @ 2020-07-30 16:32 QQmini 阅读(246) 评论(0) 推荐(0)
摘要:# coding: UTF-8 import psutil import platform import re def get_cpu_used(upu_base, interval=1): percent = psutil.cpu_percent(int(interval)) if float(p 阅读全文
posted @ 2020-07-20 13:57 QQmini 阅读(205) 评论(0) 推荐(0)
摘要:# _*_coding:utf-8 _*_ import time import requests import json import sys import random import string import datetime def login_device(user_name, passw 阅读全文
posted @ 2020-07-16 14:25 QQmini 阅读(789) 评论(0) 推荐(0)
摘要:# -*- coding: UTF-8 -*- import telnetlib import time import datetime import os import json Username= Password= ip= enable_passwd= file='/opt/test.txt' 阅读全文
posted @ 2020-07-16 14:17 QQmini 阅读(372) 评论(0) 推荐(0)