문서 편집 권한이 없습니다. 다음 이유를 확인해주세요: 요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다: 사용자. 문서의 원본을 보거나 복사할 수 있습니다. ==개요== ;sosreport; sos ;/usr/sbin/sosreport ;리눅스 SOS 보고서 ;리눅스 SOS REPORT *리눅스 시스템 트러블슈팅 정보 수집 도구 *시스템에 대한 디버깅 정보(설정 정보)들을 수집하고 /tmp 폴더에 압축파일을 만들어 준다. ==방법 1: 기본 실행== ;명령어 <source lang='bash'> sosreport </source> ;실행예시 <source lang='console'> [root@zetawiki ~]# sosreport sosreport (version 1.7) plugin openais.py does not install, skipping could not load plugin openais.py This utility will collect some detailed information about the hardware and setup of your Enterprise Linux system. The information is collected and an archive is packaged under /tmp, which you can send to a support representative. This information will be used for diagnostic purposes ONLY and it will be considered confidential information. This process may take a while to complete. No changes will be made to your system. Press ENTER to continue, or CTRL-C to quit. One or more plugins have detected a problem in your configuration. Please review the following messages: </source> :{{키|Enter}} 키 입력 <source lang='console'> cluster: * required module is not loaded: dlm * service cman is not running * service cman is not started in default runlevel * service rgmanager is not running * service rgmanager is not started in default runlevel * cluster node is not quorate * /etc/cluster/cluster.conf is missing Are you sure you would like to continue (y/n) ? </source> :{{키|Y}}, {{키|Enter}} 키 입력 <source lang='console'> Please enter your first initial and last name [jmnote]: Please enter the case number that you are generating this report for: </source> :{{키|Enter}}, {{키|Enter}} 키 입력 <source lang='console'> plugin rpm finished ... Completed. Creating compressed archive... Your sosreport has been generated and saved in: /tmp/sosreport-jmnote-314360-40345e.tar.bz2 The md5sum is: 12345bb0aaaf02c05dafb37f9f40345e Please send this file to your support representative. </source> :→ /tmp 폴더에 sosreport-jmnote-314360-40345e.tar.bz2 라는 이름으로 보고서 파일이 생성되었다. ==방법 2: 수집 범위 지정== ;명령어 <source lang='bash'> sosreport -o hardware -o kernel -o networking -o udev -o system -o rpm </source> ;실행예시 <source lang='console'> [root@localhost ~]# sosreport -o hardware -o kernel -o networking -o udev -o system -o rpm sosreport (version 2.1) This utility will collect some detailed information about the hardware and setup of your Fedora system. The information is collected and an archive is packaged under /tmp, which you can send to a support representative. Fedora will use this information for diagnostic purposes ONLY and it will be considered confidential information. This process may take a while to complete. No changes will be made to your system. Press ENTER to continue, or CTRL-C to quit. </source> {{키|Enter}} 키 입력 <source lang='console'> Please enter your first initial and last name [localhost]: Please enter the case number that you are generating this report for: </source> {{키|Enter}} 키 2회 입력 <source lang='console'> Running plugins. Please wait ... Completed [6/6] ... Creating compressed archive... Your sosreport has been generated and saved in: /tmp/sosreport-localhost-20120330122910-0374.tar.xz The md5sum is: 12b3f4ca5b678ef90ef1f88f23aa4567 Please send this file to your support representative. </source> :→ /tmp 폴더에 sosreport-localhost-20120330122910-0374.tar.xz 라는 이름으로 보고서 파일이 생성되었다. ==방법 3: 대체 명령어== sosreport 대신 아래 방법으로 유사한 자료를 수집할 수 있다. <source lang='bash'> mkdir my_sosreport cd my_sosreport cat /etc/hosts > hosts.txt cat /etc/fstab > fstab.txt cat /boot/grub/grub.conf > grub.conf cat /proc/partitions > partitions.txt cat /etc/modprobe.conf > modprobe.conf.txt df -h > df_-h.txt ps aux > ps_aux.txt free -m > free_-m.txt ifconfig > ifconfig.txt chkconfig --list > chkconfig_--list.txt tar cvzf netconfig.tar.gz /etc/sysconfig/* tar cvzf syslog.tar.gz /var/log/* cd .. TODAY=`date +%Y%m%d` tar cvzf my_sosreport.$HOSTNAME.$TODAY.tgz ./my_sosreport rm -rf ./my_sosreport ll my_sosreport* </source> my_sosreport.호스트명.날짜.tgz 라는 이름으로 생성된다. ==같이 보기== *[[리눅스 sosreport 설치]] *[[sysreport]] *[[윈도우 설정 수집]] *[[트러블슈팅]] [[분류: 리눅스]] [[분류: /usr/sbin]] 이 문서에서 사용한 틀: 틀:유니코드 (원본 보기) 틀:키 (원본 보기) 틀:키눌림 (원본 보기) 틀:키눌림/core (원본 보기) 리눅스 sosreport 문서로 돌아갑니다.