Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)

****1.ifconfig命令:获取网卡配置与网络状态信息
格式:ifconfig [网络设备] [参数]
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
2.uname命令:查看系统内核与系统版本信息
格式:uname [-a]
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
3.uptime命令:查看系统负载信息
**格式:**uptime
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
4.free命令:查看内存中信息使用量
**格式:**free -h
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
5.who命令:当前登入主机的用户终端信息
格式who
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
6.last命令:查看所有系统的等级记录
格式:last
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
7.history命令:显示历史执行过的命令
格式:history / history - c 清楚所有记录
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)
8.sosreport命令:收集系统配置及架构信息输出诊断文档
格式sosreport
Linux- 1.3 系统状态检测命令(ifconfig,uname,uptime,free,who,last,history,sosreport)