摘要: 1,查看磁盘df -h2,查看内存大小freefree [-m|g]按MB,GB显示内存vmstat3,查看cpucat /proc/cpuinfo只看cpu数量grep "model name" /proc/cpuinfo | wc -l4,查看系统内存cat /proc/meminfo5,查看每 阅读全文
posted @ 2014-09-26 14:34 凌度 阅读(5284) 评论(0) 推荐(1) 编辑
摘要: # -*- coding: utf-8 -*- import osimport ftplibUSER_NAME = ""PASSWORD = ""SERVER_NAME = "127.0.0.1" def ftp_up(filename): ftp=ftplib.FTP() ftp... 阅读全文
posted @ 2014-09-26 11:06 凌度 阅读(316) 评论(0) 推荐(0) 编辑