是的,我已经生成了一个 SOSReport,文件如下。
# ls -lls -lh /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz 9.8M -rw-------. 1 root root 9.8M May 12 10:13 /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz
运行如下命令解开它。
# tar xf sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz
要查看全部信息,带上 -a 或 --all 开关运行 xsos :
# xsos --all /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
要查看 BIOS 信息,带上 -b 或 --bios 开关运行 xsos 。
# xsos --bios /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa DMIDECODE BIOS: Vend: innotek GmbH Vers: VirtualBox Date: 12/01/2006 BIOS Rev: FW Rev: System: Mfr: innotek GmbH Prod: VirtualBox Vers: 1.2 Ser: 0 UUID: 002f47b8-2af2-48f5-be1d-67b67e03514c CPU: 0 of 0 CPU sockets populated, 0 cores/0 threads per CPU 0 total cores, 0 total threads Mfr: Fam: Freq: Vers: Memory: Total: 0 MiB (0 GiB) DIMMs: 0 of 0 populated MaxCapacity: 0 MiB (0 GiB / 0.00 TiB)
要查看系统基本信息,如主机名、发行版、SELinux、内核信息、正常运行时间等,请使用 -o 或 --os 开关运行 xsos 。
# xsos --os /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa OS Hostname: CentOS7.2daygeek.com Distro: [redhat-release] CentOS Linux release 7.6.1810 (Core) [centos-release] CentOS Linux release 7.6.1810 (Core) [os-release] CentOS Linux 7 (Core) 7 (Core) RHN: (missing) RHSM: (missing) YUM: 2 enabled plugins: fastestmirror, langpacks SELinux: enforcing (default enforcing) Arch: mach=x86_64 cpu=x86_64 platform=x86_64 Kernel: Booted kernel: 3.10.0-957.el7.x86_64 GRUB default: 3.10.0-957.el7.x86_64 Build version: Linux version 3.10.0-957.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018 Booted kernel cmdline: root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 GRUB default kernel cmdline: root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet LANG=en_US.UTF-8 Taint-check: 536870912 (see https://access.redhat.com/solutions/40594) 29 TECH_PREVIEW: Technology Preview code is loaded - - - - - - - - - - - - - - - - - - - Sys time: Sun May 12 10:12:22 CDT 2019 Boot time: Sun May 12 09:50:20 CDT 2019 (epoch: 1557672620) Time Zone: America/Chicago Uptime: 22 min, 1 user LoadAvg: [1 CPU] 1.19 (119%), 0.27 (27%), 0.14 (14%) /proc/stat: procs_running: 8 procs_blocked: 2 processes [Since boot]: 9005 cpu [Utilization since boot]: us 1%, ni 0%, sys 1%, idle 99%, iowait 0%, irq 0%, sftirq 0%, steal 0%
(编辑:ASP站长网)
|