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
阅读全文
摘要:# 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
阅读全文
摘要:# _*_coding:utf-8 _*_ import time import requests import json import sys import random import string import datetime def login_device(user_name, passw
阅读全文
摘要:# -*- coding: UTF-8 -*- import telnetlib import time import datetime import os import json Username= Password= ip= enable_passwd= file='/opt/test.txt'
阅读全文

浙公网安备 33010602011771号