摘要: import paramikodef sshExeCMD(): ssh_client=paramiko.SSHClient() ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh_client.connect(ho 阅读全文
posted @ 2023-11-06 21:30 往事已成昨天 阅读(109) 评论(0) 推荐(0) 编辑
摘要: [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 阅读全文
posted @ 2023-11-06 16:16 往事已成昨天 阅读(70) 评论(0) 推荐(0) 编辑