On 11 Jun 2002, Gilad Ben-Yossef wrote: > I'm looking for a command line utility that with a simple no parameter > invocation will collect the biggest feaslable amount of configuration > and information for a given Linux system (hardware and software) and
For our purposes we use following function. It is part of bigger system to keep all system's configuration files in real cvs (with automatic updating of in-cvs files from real ones). The system uploads the configuration files (including dynamic files generated from the function below) via email as tar.gz. The system called mbSystem and is licensed under GPL, written completely in bash but doesn't have sources published yet. DynamicFiles() { # generate all generated-on-the-spot files which lspci > /dev/null && lspci > lspci route -n > route-n cat /proc/cpuinfo > cpuinfo cat /proc/meminfo > meminfo dmesg > dmesg uname -a > uname-a which rpm > /dev/null && rpm -qa > rpm-qa which dpkg 2>/dev/null > /dev/null && dpkg -la > dpkg-qa df > df mount > mount ps awx > ps-awx /bin/netstat -an > netstat-an /bin/netstat -nr > netstat-nr /sbin/ifconfig -a > ifconfig-a vmstat -n 1 3 > vmstat3sec last root | head > lastroot ls /usr/local/src > DynamicPackages.txt } > Gilad Ben-Yossef <[EMAIL PROTECTED]> --- Bye, | Fax: (972)-2-6796453 | Debian Arieh | Phone: (972)-5-2284657 | Now !!! ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]