RudiC is absolutely right: we help you to help yourself, we don't write your scripts for you:
Quote:
Originally Posted by
seenuvasan1985
which should collect the all configuration details and store in a file
OK, here is some help: start by describing what "configuration details" these are an how they are collected manually. A list could look like this:
- IP-address
netstat -i
- fileystems to mount
/etc/fstab
etc.. All information either comes from a command (or series of commands) or from the content of some file or from some other source of information (like the place in the rack or the serial number of the hardware - you don't get these things off the server itself usually).
Once you have this list you can start to write a script to get one after the other information and write it down to a file.
I hope this helps.
bakunin