System Information
Novell Cool Solutions: Cool Tool
Reader Rating
from 8 ratings
In Brief
Collect critical system information for easy reference in one text file.
Vitals
- Product Categories:
- Linux
- Open Enterprise Server
- SUSE Linux
- SUSE Linux Professional 9.3
- Functional Categories:
- Especially for Linux Newbies
- Workgroup
| Posted: | 18 Nov 2005 |
| File Size: | 859 Bytes |
| License: | GPL |
| Download: | /coolsolutions/tools/downloads/sysinfo.zip |
| Publisher: | David L. Austin |
Disclaimer
Please read the note from our friends in legal before using this file.
Details
This tool is for any products running Linux. It was written on a workstation running SUSE Linux Professional 9.3. Helpful for Newbies (such as I).
This tool was written to easily collect the basic system information that I might need to be able to reinstall my system. Also, it was an exercise in writing a shell script. You must "chown root:root ./sysinfo.sh" the file and then run it as root since it accesses files that only root has access to.
Save the file to your home folder, open a console window, "su -" to root, "cd" to your home directory, type "./sysinfo.sh" .
It will collect information from your HOSTNAME, hosts, fstab, mtab and /etc/samba/smb.conf files. Also, it gathers your ifconfig settings.
If you would like to add, delete or change any of the information collected, open ./sysinfo.sh in your favorite text editor and hack away.
All collected data is output to the file ./systeminformation.txt . You might want to add a line in the file for it to "cat ./systeminformation.txt" to see the settings on screen, or "cat ./systeminformation.txt > lpr" to keep a printed copy of your settings.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
Reader Comments
- Skript does not run on bash-2.05b-105
- Possible solution for above, try running 'dos2unix' on the file....
- Frankly speaking - it is useless
- It is too small to be of any use