摘要: sudo du -h --max-depth=1 阅读全文
posted @ 2019-09-26 15:15 可爱小小畅 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: CPU型号 grep "model name" /proc/cpuinfo |awk -F ':' '{print $NF}' 数量 lscpu |grep "CPU socket" |awk '{print $NF}' 或 lscpu |grep "Socket" |awk '{print $NF}' 每个CPU的核数 lscpu |grep "Core(s) per soc... 阅读全文
posted @ 2019-09-26 10:13 可爱小小畅 阅读(18943) 评论(0) 推荐(0) 编辑
摘要: 1. 安装 sshsudo apt-get install openssh-server 2. 查看是否已经开启了服务,如果有ssd,证明已经开了, sudo ps -e |grep ssh 没有开启,输入sudo service ssh start 就可以开启。 3. 查看这台主机的IP地址,记录一下sudo ifconfig 阅读全文
posted @ 2019-09-26 09:50 可爱小小畅 阅读(2305) 评论(0) 推荐(0) 编辑