BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} bb-top.sh, bb-axis.sh
The way I test bb scripts that aren't working are to become the bb user,
and then give myself the same environment as bb:
1. su -l bb
2. export BBHOME=/home/bb (or wherever it is)
3. cd /home/bb/etc
4. source bbdef.sh
5. source bbsys.sh
6. source bbsys.local
I now have the same environment as bb scripts do when they run...now I
can do "cd /home/bb/ext", and run ./scriptname and observe what
happens. For really fine detail on what the script is doing, try "sh -x
./scriptname". Note that perl scripts (*.pl) are an entirely different
animal and unless the author added a debug switch you are out of luck
unless you know perl.
Good luck!
Misty Stanley-Jones wrote:
I am doing it that way, and no dice. I get no overt errors from the script.
I'm able to do the same thing the script is doing as far as FTP, and get no
errors. I can download the status and config files by hand, but the script
can't seem to do it. Is there a way to debug what is going on?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index