sysreportコマンドRed Hat Linuxや
Fedoraでは、
知る人ぞ、知るコマンド。
ハードウェア構成や設定ファイル情報を
確認し、問題がないかを調べることが
できます。
#
sysreportThis utility will go through and collect some detailed information about the hardware and setup of your Fedora Core system.
This information will be used to diagnose problems with your system and will be considered confidential information. Red Hat will use this information for diagnostic purposes ONLY.
Please wait while we collect information about your system.
This process may take a while to complete....
No changes will be made to your system during this process.
NOTE: You can safely ignore a failed message. This only means a
file we were checking for did not exist.
If your system hangs while gathering rpm information, please abort the script with CTRL-C and run it again after adding -norpm to the sysreport command line
Press ENTER to continue, or CTRL-C to quit.
Getting system configuration information.
Determining Fedora Core version: [ OK ]
Determinding your current hostname:[ OK ]
Getting the date: [ OK ]
Checking your systems current uptime and load average:[ OK ]
Checking available memory:[ OK ]
Checking free disk space: [ OK ]
Checking currently running processes:[ OK ]
Checking current process tree: [ OK ]
Collecting information about ld.so.conf: [ OK ]
Collecting information about ld.so.conf.d:[ OK ]
Collecting IPC-related information: [ OK ]
Collecting information about chkconfig --list:[ OK ]
Collecting information about /etc/rc.d: [ OK ]
Lists information about files opened (lsof) [ OK ]
Collecting interprocess communication facilities status[ OK ]
Collecting interprocess communication facilities status[ OK ]
Collecting information about currently installed packages:
This may take several minutes.... [ OK ]
Collecting information about the boot process (
grub.conf): [ OK ]
Collecting information about the boot process (grub.map): [ OK ]
Collecting init configuration: [ OK ]
Collecting information about X: [ OK ]
Gathering sysctl information (/proc/sys): [ OK ]
Gathering sysctl information (/etc/sysctl.conf):[ OK ]
Collecting information about cron (cron.d): [ OK ]
Collecting information about cron (cron.daily): [ OK ]
Collecting information about cron (cron.deny): [ OK ]
Collecting information about cron (cron.hourly):[ OK ]
Collecting information about cron (cron.monthly):[ OK ]
Collecting information about cron (cron.weekly): [ OK ]
Collecting information about cron (crontab):[ OK ]
Gathering ntp configuration (/etc/ntp.conf):[ OK ]
Gathering ntp configuration (/etc/ntp/step-tickers):[ OK ]
Gathering ntp configuration (/etc/ntp/ntpservers): [ OK ]
Gathering IP information (/sbin/ifconfig): [ OK ]
Checking network routes: [ OK ]
Collecting Name Service Switch config information: [ OK ]
Collecting NIS client information: [ OK ]
Collecting system configuration information: [ OK ]
Collecting information about system authentication (pam): [ OK ]
Getting information about the kernel.
Getting kernel version: [ OK ]
Checking module information:[ OK ]
Checking module information rfcomm:[ OK ]
Checking module information l2cap: [ OK ]
Checking module information
bluetooth:[ OK ]
Checking module information autofs4: [ OK ]
Checking module information loop: [ OK ]
Checking module information dm_mirror:[ OK ]
Checking module information dm_multipath:[ OK ]
Checking module information dm_mod: [ OK ]
Checking module information ipv6: [ OK ]
Checking module information snd_ens1371: [ OK ]
Checking module information gameport: [ OK ]
Checking module information snd_rawmidi: [ OK ]
Checking module information snd_ac97_
codec:[ OK ]
Checking module information ac97_bus: [ OK ]
Checking module information snd_seq_dummy: [ OK ]
Checking module information snd_seq_oss: [ OK ]
Checking module information snd_seq_midi_event:[ OK ]
Checking module information snd_seq: [ OK ]
Checking module information snd_seq_device:[ OK ]
Checking module information snd_pcm_oss: [ OK ]
Checking module information snd_mixer_oss: [ OK ]
Checking module information snd_pcm: [ OK ]
Checking module information parport_pc:[ OK ]
Checking module information parport: [ OK ]
Checking module information button: [ OK ]
Checking module information floppy: [ OK ]
Checking module information snd_timer: [ OK ]
Checking module information snd: [ OK ]
Checking module information pcnet32: [ OK ]
Checking module information mii: [ OK ]
Checking module information soundcore: [ OK ]
Checking module information snd_page_alloc:[ OK ]
Checking module information i2c_piix4:[ OK ]
Checking module information i2c_core: [ OK ]
Checking module information sg: [ OK ]
Checking module information sr_mod: [ OK ]
Checking module information cdrom: [ OK ]
Checking module information ata_piix: [ OK ]
Checking module information libata: [ OK ]
Checking module information mptspi: [ OK ]
Checking module information mptscsih:[ OK ]
Checking module information mptbase: [ OK ]
Checking module information scsi_transport_spi:[ OK ]
Checking module information sd_mod: [ OK ]
Checking module information scsi_mod: [ OK ]
Checking module information ext3: [ OK ]
Checking module information jbd: [ OK ]
Checking module information mbcache: [ OK ]
Checking module information uhci_hcd: [ OK ]
Checking module information
ohci_hcd: [ OK ]
Checking module information ehci_hcd: [ OK ]
Gathering information about your filesystems:[ OK ]
Gathering information about your system stat:[ OK ]
Gathering information about your partitions: [ OK ]
Collecting information regarding kernel modules [ OK ]
Collecting information regarding kernel modules (modeprobe.[ OK ]
Getting kernel command line [ OK ]
Gathering information about your CPU:[ OK ]
Gathering information about your Ram:[ OK ]
Gathering information about your ioports: [ OK ]
Gathering information about your interrupts:[ OK ]
Gathering information about your scsi devices:[ OK ]
Gathering information about your dma: [ OK ]
Gathering information about your devices (/proc/devices): [ OK ]
Gathering information about your bus:[ OK ]
Gathering info on udev configuration:[ OK ]
Getting disk and filesystem information.
Collecting information from /etc/fstab:[ OK ]
Checking mounted file systems (mount) [ OK ]
Checking mounted file systems (/proc/mounts)[ OK ]
Collecting Software RAID information (/proc/mdstat) [ OK ]
Collecting Software RAID information (mdadm -D /dev/md*) [ OK ]
Collecting Automount information (auto.master) [ OK ]
Collecting Automount information (auto.misc) [ OK ]
Collecting Automount information (auto.net) [ OK ]
Collecting LVM information: [ OK ]
Collecting
USB devices list (lsusb): [ OK ]
Collecting global devices list (lshal):[ OK ]
collecting information about commonly used network services
Collecting information from /etc/host.conf: [ OK ]
Collecting information from /etc/hosts: [ OK ]
Collecting information from /etc/hosts.allow: [ OK ]
Collecting information from /etc/hosts.deny: [ OK ]
Collecting information about the ftp servers (ftpusers): [ OK ]
Collecting information about the ftp servers (user_list): [ OK ]
Collecting information about the ftp servers (vsftpd.conf):[ OK ]
Collecting information about the ftp servers (vsftpd_conf_m[ OK ]h):
Collecting information about ypbind configuration: [ OK ]
Getting iptables information: [ OK ]
Getting iptables information (filter):[ OK ]
Getting iptables information (mangle):[ OK ]
Getting iptables information (nat): [ OK ]
Getting LDAP configuration (
ldap.conf)[ OK ]
Getting LDAP configuration (ldap.conf)[ OK ]
Getting ssh configuration (ssh_config)[ OK ]
Getting sshd configuration (sshd_config) [ OK ]
Sendmail Configuration (/etc/mail/sendmail.cf):[ OK ]
Sendmail User aliases (/etc/aliases): [ OK ]
Getting files from (Makefile) [ OK ]
Getting files from (access) [ OK ]
Getting files from (domaintable) [ OK ]
Getting files from (helpfile) [ OK ]
Getting files from (local-host-names)[ OK ]
Getting files from (mailertable) [ OK ]
Getting files from (sendmail.cf) [ OK ]
Getting files from (sendmail.mc) [ OK ]
Getting files from (spamassassin) [ OK ]
Getting files from (submit.cf) [ OK ]
Getting files from (submit.cf.bak)[ OK ]
Getting files from (submit.mc) [ OK ]
Getting files from (trusted-users)[ OK ]
Getting files from (virtusertable)[ OK ]
Collecting Postfix Configuration (main.cf) [ OK ]
Collecting Postfix Configuration (master.cf) [ OK ]
Collecting host resolution information [ OK ]
Collecting information about the nameserver (named.conf)[ OK ]
Collecting information about the nameserver (/var/named)[ OK ]
Collecting information about the NFS: [ OK ]
Getting
samba informations (lmhosts) [ OK ]
Getting samba informations (smb.conf) [ OK ]
Getting samba informations (smbusers) [ OK ]
Getting samba informations (wbinfo -g):[ OK ]
Getting samba informations (wbinfo -u):[ OK ]
Getting /etc/securetty[ OK ]
Getting /etc/shells [ OK ]
Getting ulimit info [ OK ]
Getting nscd configuration [ OK ]
Getting Kerberos informations (/etc/krb5.conf) [ OK ]
Getting information about apache [ OK ]
Getting information about apache (BackupPC.conf)[ OK ]
Getting information about apache (awstats.conf) [ OK ]
Getting information about apache (manual.conf) [ OK ]
Getting information about apache (perl.conf)[ OK ]
Getting information about apache (php.conf) [ OK ]
Getting information about apache (phpldapadmin.conf) [ OK ]
Getting information about apache (proxy_ajp.conf)[ OK ]
Getting information about apache (python.conf) [ OK ]
Getting information about apache (squid.conf)[ OK ]
Getting information about apache (ssl.conf) [ OK ]
Getting information about apache (webalizer.conf)[ OK ]
Getting information about apache (welcome.conf) [ OK ]
Getting information about squid [ OK ]
Getting information about CUPS (/etc/cups/classes.conf)[ OK ]
Getting information about CUPS (/etc/cups/client.conf) [ OK ]
Getting information about CUPS (/etc/cups/cupsd.conf) [ OK ]
Getting information about CUPS (/etc/cups/pdftops.conf)[ OK ]
Getting information about CUPS (/etc/cups/printers.conf)[ OK ]
Getting information about CUPS (/etc/cups/snmp.conf) [ OK ]
Getting information about CUPS (/etc/cups/subscriptions.con[ OK ]
Getting information about printcap [ OK ]
Gathering information from system logs
Collecting information from dmesg:[ OK ]
Collecting messages files (/var/log/messages)[ OK ]
Collecting maillog files (/var/log/maillog) [ OK ]
Collecting X logs (/var/log/Xorg.0.log) [ OK ]
Collecting information (/var/log/rpmpkgs) [ OK ]
Collecting information (/var/log/boot.log)[ OK ]
Collecting information (/var/log/secure)[ OK ]
Collecting log files from Apache[ OK ]
Getting information about RHN
Gathering information on SELinux setup
Collecting log files from RHN [ OK ]
Please enter your case number (if you have one):
Please send /root/fc8.example.com.2007120302506.tar.bz2 to your support representative.
結構、時間がかかりますが、
一度、正常時にも試しておきましょう。
/rootに、ホスト名.日付.tar.bz2のファイル名で
情報が保存されます。
tar xvjfで展開して中身を確認しておくと
良いです。
すべてのファイルが、
同じコマンドで表示される情報と
完全一致ではないですが、
ほとんど同じです。
構築後の、保存情報として取得しておきます。========================================
★★★コツコツとカーネルの仕事をコマンドをうちながら、
学べます。
中身は、すごくやさしく書かれてます。
オススメ雑誌です。
Linuxカーネル徹底理解(日経BP出版センター,¥2,520(税込))