当你新登录一个主机,过着管理一个主机,这时候你就需要这些命令来进行查看了: 1. w : Show who is logged on and what they are doing. w [options] user [...] 常用命令: w -h --no-header w -u --no-current w -s : Use the short format. Don't print the login time, JCPU or PCPU times. w -i, --ip-add…
Linux下查看内核.CPU.内存及各组件版本的命令和方法 Linux查看内核版本: uname -a more /etc/*release more /etc/RedHat-release more /proc/version 查看CPU信息:grep "model name" /proc/cpuinfo …