摘要:
import paramikodef sshExeCMD(): ssh_client=paramiko.SSHClient() ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh_client.connect(ho 阅读全文
摘要:
[root@zabbix-agent files]# cat xun.py# -*- coding:utf-8 -*- - import os, time last_worktime=0last_idletime=0 def get_cpu(): global last_worktime, last 阅读全文