Linux command to gather hardware and software snapshot for troubleshooting
When you work in tech support department and deal with inexperienced clients debugging problems turns into a nightmare. As a sysadmin, you won't become too paranoid if less experienced people have root-access. As a consultant, you won’t feel isolated if you don’t have remote access to your systems. As a support engineer, you won’t become frustrated if a customer has fiddled around with some important config file and you have to find which. As a performance tuner, you can capture the state of the system configuration in between performance tests/benchmarks.
Luckily, some nifty tools can create a system's hardware and software configuration snapshot. This kind of information is valuable asset while troubleshooting problems.
dconf (System config collector) is one of such tool. It allows to take your system configuration with you on the road, compare identical systems (like nodes in a cluster) to troubleshoot HW or SW problems, indeed a lifesaver.
Dconf is also useful in projects where you have to manage changes as a team. Dconf can run periodically and send out system changes to a list of email addresses so that they can be revised and discussed in group.
You can customize your dconf configuration for specific needs, like making a profile of your web server’s hardware or copy specific software configuration files to send out or compare with other systems.
As a sysadmin, you will not become too paranoid if less experienced people have root-access. As a consultant, you will not feel isolated if you do not have remote access to your systems. As a support engineer, you will not become frustrated if a customer has fiddled around with some important config file and you have to find which. As a performance tuner, you can capture the state of the system configuration in between performance tests/benchmarks.
Install dconf
If you are using Debian / Ubuntu Linux then type the command:
# apt-get install dconf
You can download Dconf for RedHat or Suse Linux here
Create a system's hardware and software configuration snapshot
Once installed you can simply create a snapshot using dconf command:
# dconf
It will write snapshot in /var/log/dconf/ directory. To view current snapshot info, enter:
# zcat /var/log/dconf/dconf-$HOSTNAME-latest.log.gz
To check the latest changes against the previous snapshot:
# zdiff -u /var/log/dconf/dconf-$HOSTNAME-previous.log.gz /var/log/dconf/dconf-$HOSTNAME-latest.log.gz
See also:
- Linux display system hardware status information gathered from /proc filesystem in easy format
- FreeBSD : Display information about the system
- Read man page of dconf for more information
- Offical Dconf home page
E-mail this to a Friend
Printable Version
You may also be interested in other helpful articles:
- Get Information About Your BIOS / Server Hardware From a Shell Without Opening Chassis ( BIOS Decoder )
- Find out if my server is capable of running para-virtualized guest ( PAE support )
- Consistent backup with Linux Logical Volume Manager (LVM) snapshots
- Dual network interface card to optimize Linux server backup process
- How to write a Web spider on Linux system
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: benchmarks, configuration files, dconf, dconf command, display information, download dconf, filesystem, hardware snapshot, hardware status, hw, install dconf, man page, nifty tools, performance tests, performance tuner, redhat hardware info, remote access, snapshot, software configuration, software snapshot, specific software, support engineer, sysadmin, system changes, system configuration, system hardware, troubleshooting problems



Recent Comments
Today ~ 4 Comments
Today ~ 160 Comments
Today ~ 5 Comments
Yesterday ~ 6 Comments
Yesterday ~ 4 Comments