要查看 kdump 配置,请使用 -k 或 --kdump 开关运行 xsos 。
# xsos --kdump /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa KDUMP CONFIG kexec-tools rpm version: kexec-tools-2.0.15-21.el7.x86_64 Service enablement: UNIT STATE kdump.service enabled kdump initrd/initramfs: 13585734 Feb 19 05:51 initramfs-3.10.0-957.el7.x86_64kdump.img Memory reservation config: /proc/cmdline { crashkernel=auto } GRUB default { crashkernel=auto } Actual memory reservation per /proc/iomem: 2a000000-340fffff : Crash kernel kdump.conf: path /var/crash core_collector makedumpfile -l --message-level 1 -d 31 kdump.conf "path" available space: System MemTotal (uncompressed core size) { 1.80 GiB } Available free space on target path's fs { 22.68 GiB } (fs=/) Panic sysctls: kernel.sysrq [bitmask] = "16" (see proc man page) kernel.panic [secs] = 0 (no autoreboot on panic) kernel.hung_task_panic = 0 kernel.panic_on_oops = 1 kernel.panic_on_io_nmi = 0 kernel.panic_on_unrecovered_nmi = 0 kernel.panic_on_stackoverflow = 0 kernel.softlockup_panic = 0 kernel.unknown_nmi_panic = 0 kernel.nmi_watchdog = 1 vm.panic_on_oom [0-2] = 0 (no panic)
要查看有关 CPU 的信息,请使用 -c 或 --cpu 开关运行 xsos 。
# xsos --cpu /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa CPU 1 logical processors 1 Intel Core i7-6700HQ CPU @ 2.60GHz (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand)
要查看内存利用情况,请使用 -m 或 --mem 开关运行 xsos 。
# xsos --mem /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa MEMORY Stats graphed as percent of MemTotal: MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊..................... 58.8% Buffers .................................................. 0.6% Cached ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊................................... 29.9% HugePages .................................................. 0.0% Dirty .................................................. 0.7% RAM: 1.8 GiB total ram 1.1 GiB (59%) used 0.5 GiB (28%) used excluding Buffers/Cached 0.01 GiB (1%) dirty HugePages: No ram pre-allocated to HugePages LowMem/Slab/PageTables/Shmem: 0.09 GiB (5%) of total ram used for Slab 0.02 GiB (1%) of total ram used for PageTables 0.01 GiB (1%) of total ram used for Shmem Swap: 0 GiB (0%) used of 2 GiB total
(编辑:ASP站长网)
|