摘要:
sudo du -h --max-depth=1 阅读全文
摘要:
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... 阅读全文
摘要:
1. 安装 sshsudo apt-get install openssh-server 2. 查看是否已经开启了服务,如果有ssd,证明已经开了, sudo ps -e |grep ssh 没有开启,输入sudo service ssh start 就可以开启。 3. 查看这台主机的IP地址,记录一下sudo ifconfig 阅读全文