Check System Configuration and Hardware Information on Linux Fedora using sysreport Command



Configuration for GNU Linux Fedora Computer using Linux Command

 

   The system configuration and hardware information in Linux Fedora can be collect and view using the sysreport utillity.  The sysreport command can be executed to collect all the information, setting, including the hardware information for Fedora Linux system.  The command example below show the step by step execution of sysreport command.

sysreport Command Example:

# sysreport 

# sysreport -norpm 

# cp /tmp/sysreport-fedora.gnulinux.com.20080724203716.tar.bz2 ./

 

1.  Open the shell prompt then type in sysreport or sysreport -normp, then hit the Enter key.

sysreport command

[root@fedora ~]# sysreport

 

This 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.   <- hit Enter key here

 

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 bridge: [ OK ]

Checking module information bnep: [ OK ]

Checking module information rfcomm: [ OK ]

Checking module information l2cap: [ OK ]

Checking module information bluetooth: [ OK ]

Checking module information ib_iser: [ OK ]

Checking module information rdma_cm: [ OK ]

Checking module information ib_cm: [ OK ]

Checking module information iw_cm: [ OK ]

Checking module information ib_sa: [ OK ]

Checking module information ib_mad: [ OK ]

Checking module information ib_core: [ OK ]

Checking module information ib_addr: [ OK ]

Checking module information iscsi_tcp: [ OK ]

Checking module information libiscsi: [ OK ]

Checking module information scsi_transport_iscsi: [ OK ]

Checking module information fuse: [ OK ]

Checking module information sunrpc: [ OK ]

Checking module information ipt_REJECT: [ OK ]

Checking module information nf_conntrack_ipv4: [ OK ]

Checking module information iptable_filter: [ OK ]

Checking module information ip_tables: [ OK ]

Checking module information ip6t_REJECT: [ OK ]

Checking module information xt_tcpudp: [ OK ]

Checking module information nf_conntrack_ipv6: [ OK ]

Checking module information xt_state: [ OK ]

Checking module information nf_conntrack: [ OK ]

Checking module information ip6table_filter: [ OK ]

Checking module information ip6_tables: [ OK ]

Checking module information x_tables: [ OK ]

Checking module information loop: [ OK ]

Checking module information dm_multipath: [ OK ]

Checking module information ipv6: [ OK ]

Checking module information ppdev: [ 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 parport_pc: [ OK ]

Checking module information snd_seq_midi_event: [ OK ]

Checking module information parport: [ OK ]

Checking module information snd_seq: [ OK ]

Checking module information floppy: [ 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 pcspkr: [ OK ]

Checking module information snd_timer: [ OK ]

Checking module information snd: [ OK ]

Checking module information soundcore: [ OK ]

Checking module information snd_page_alloc: [ OK ]

Checking module information pcnet32: [ OK ]

Checking module information mii: [ OK ]

Checking module information ac: [ OK ]

Checking module information button: [ OK ]

Checking module information i2c_piix4: [ OK ]

Checking module information BusLogic: [ 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 dm_snapshot: [ OK ]

Checking module information dm_zero: [ OK ]

Checking module information dm_mirror: [ OK ]

Checking module information dm_mod: [ OK ]

Checking module information ata_generic: [ OK ]

Checking module information ata_piix: [ OK ]

Checking module information pata_acpi: [ OK ]

Checking module information libata: [ 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 ]

Gathering information about slabinfo: [ 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 ]

Gathering LVM setup [ 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 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.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 exim configuration directory [ 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 (auth_kerb.conf) [ OK ]

Getting information about apache (auth_mysql.conf) [ OK ]

Getting information about apache (auth_pgsql.conf) [ OK ]

Getting information about apache (authz_ldap.conf) [ OK ]

Getting information about apache (awstats.conf) [ OK ]

Getting information about apache (drupal.conf) [ OK ]

Getting information about apache (fcgid.conf) [ OK ]

Getting information about apache (manual.conf) [ OK ]

Getting information about apache (mod_cband.conf) [ OK ]

Getting information about apache (mod_extract_forwarded.con[ OK ]

Getting information about apache (mod_geoip.conf) [ OK ]

Getting information about apache (mod_security.conf) [ OK ]

Getting information about apache (opendap_apache.conf) [ OK ]

Getting information about apache (perl-HTML-Mason.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 (tiquit.conf) [ OK ]

Getting information about apache (webalizer.conf) [ OK ]

Getting information about apache (welcome.conf) [ OK ]

Getting information about apache (wordpress.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 ]

 

Gathering information from system logs

 

Collecting information from dmesg: [ OK ]

Collecting messages files (/var/log/messages) [ OK ]

Collecting messages files (/var/log/messages-20080703) [ OK ]

Collecting messages files (/var/log/messages-20080710) [ OK ]

Collecting messages files (/var/log/messages-20080714) [ OK ]

Collecting messages files (/var/log/messages-20080720) [ OK ]

Collecting maillog files (/var/log/maillog) [ OK ]

Collecting maillog files (/var/log/maillog-20080703) [ OK ]

Collecting maillog files (/var/log/maillog-20080710) [ OK ]

Collecting maillog files (/var/log/maillog-20080714) [ OK ]

Collecting maillog files (/var/log/maillog-20080720) [ 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):  .   <- hit Enter key here

 

Please send /tmp/sysreport-fedora.gnulinux.com.20080724203716.tar.bz2 to your support representative.

 

[root@fedora ~]#

 

2.  The sysreport program will generate and store the result of system configuration and hardware information in the compress file, usually end with .tar.bz2 in the /tmp directory.  Copy this result report to current directory, as shown on copy (cp command) example below.

Copy sysreport .tar.bz2 to current directory

[root@fedora ~]# cp /tmp/sysreport-fedora.gnulinux.com.20080724203716.tar.bz2 ./

[root@fedora ~]#

 

3.  To view the system configuration and hardware information open extract .tar.bz2 file (sysreport-fedora.gnulinux.com.20080724203716.tar.bz2) and then view the report file with your choice of text editor.

 




0 comments: