본문 바로가기

IT Study/Linux

linux sosreport 분석 툴 / xsos tool

xsos 시스템 상태확인 tool / sosreport 분석

 

리눅스 시스템상태를 확인하는데 sosreport를 사용하는게 일반적이며

sosreport는 분석 및 정보를 확인하는데 있어 별도로 정리가되지않아

확인하는데 다소 어려움이 있습니다.

xsos 는 수집된 sosreport를 필요한정보,색상구분 등 쉽고 편리하게

확인할수 있습니다.

 

1.

xsos 설치

wget http://people.redhat.com/rsawhill/rpms/latest-xsos.rpm

 

rpm -Uvh latest-xsos.rpm

 

http://people.redhat.com/rsawhill/rpms/latest-xsos.rpm 별도설치 가능.

 

 

2. 사용법

[root@localhost tmp]# xsos help

Usage: xsos [DISPLAY OPTIONS] [-6abokcfmdtlerngisp] [SOSREPORT ROOT]

or: xsos [DISPLAY OPTIONS] {--B|--C|--F|--M|--D|--T|--L|--R|--N|--G|--I|--P FILE}...

or: xsos [-?|-h|--help]

 

Display system info from localhost or extracted sosreport

Run with "-h" to see simplified help page

 

Content options:

-a, --all show everything

-b, --bios show info from dmidecode

-o, --os show hostname, distro, SELinux, kernel info, uptime, etc

-k, --kdump inspect kdump configuration

-c, --cpu show info from /proc/cpuinfo

-f, --intrupt show info from /proc/interrupts

-m, --mem show info from /proc/meminfo

-d, --disks show info from /proc/partitions + dm-multipath synopsis

-t, --mpath show info from dm-multipath

-l, --lspci show info from lspci

-e, --ethtool show info from ethtool

-r, --softirq show info from /proc/net/softnet_stat

-n, --netdev show info from /proc/net/dev

-g, --bonding show info from /proc/net/bonding

-i, --ip show info from ip addr (BASH v4+ required)

--net alias for: --lspci --ethtool --softirq --netdev --bonding --ip

-s, --sysctl show important kernel sysctls

-p, --ps inspect running processes via ps

 

수집된sosreport는 압축해제후 사용

# xsos - [옵션] [위치]

'IT Study > Linux' 카테고리의 다른 글

linux cockpit 시스템 관리모니터링 툴  (0) 2023.01.17