On 2/10/02 at 2:22 PM, Ray Olszewski <[EMAIL PROTECTED]> wrote:

> OK. My suggestion is that we need something short and
> sweet, something that is not comprehensive (by a long
> shot) but that contains a short list of items that covers
> the most common things we need to know.
> 
> It's part of a general ambition I have to put the F back
> in FAQ (by which I mean that FAQs grow over time, but old
> Q&As that no longer fit the "frequently" part of the FAQ
> term never get culled out).
> 
> Here's my first-draft suggestion for a new item:
> 
> ---begin sample---
> 
> Q. If I want help troubleshooting a connectivity failure
> with my LEAF router, what information you you need from me?

Maybe I'm out on a limb - but I keep thinking of this (which does the
same thing as your answer....

---begin code---
#!/bin/sh

banner () {
    echo
    echo "====== $1 ======"
    }

banner Release
cat /etc/*release

banner "Linux Kernel"
uname -a

banner "System Logs"
tail -n 30 /var/log/messages

banner "Networking"
if which ip ; then
   ip addr show
   ip route show
else
   route
   ifconfig -a
fi

banner "Kernel Modules"
lsmod

banner "Firewall"
ipchains -Lvn
---end code---

I noticed that FreeSCO (which seems to have a STRONG following) uses
this method - they have a program called "report" ...only problem is
there is no "sanitizing" of information here...
--
David Douthitt
UNIX Systems Administrator
HP-UX, Unixware, Linux
[EMAIL PROTECTED]

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to