摘要:
1,查看磁盘df -h2,查看内存大小freefree [-m|g]按MB,GB显示内存vmstat3,查看cpucat /proc/cpuinfo只看cpu数量grep "model name" /proc/cpuinfo | wc -l4,查看系统内存cat /proc/meminfo5,查看每 阅读全文
摘要:
# -*- coding: utf-8 -*- import osimport ftplibUSER_NAME = ""PASSWORD = ""SERVER_NAME = "127.0.0.1" def ftp_up(filename): ftp=ftplib.FTP() ftp... 阅读全文