Forum: Shell Scripting Jun 7th, 2005 |
| Replies: 6 Views: 2,287 |
Forum: Shell Scripting Jun 7th, 2005 |
| Replies: 6 Views: 3,372 Re: Script needed to check OID values 'normal' as in opposite of being 'ABnormal'? ;)
This is just one of the possible formats. The other format being the file containg the OIDs one per line. |
Forum: Shell Scripting Jun 7th, 2005 |
| Replies: 6 Views: 3,372 Re: Script needed to check OID values if you can [???] create a file MIB file with just FULL OID specification - one OID [to snmpget] per line. Some MIB tools allow you to do that. Having file in this format will greatly simplify the... |
Forum: Shell Scripting Jun 6th, 2005 |
| Replies: 6 Views: 3,372 Re: Script needed to check OID values Translate all the MIB(s) your device supports into a a file of scalar OIDs - one OID per line
Depending on the tools you have [snmpget...] iterate through the OID file executing one snmpget [or... |
Forum: Shell Scripting May 27th, 2005 |
| Replies: 1 Views: 2,755 |
Forum: Shell Scripting May 20th, 2005 |
| Replies: 8 Views: 2,981 |
Forum: Shell Scripting May 18th, 2005 |
| Replies: 1 Views: 3,815 |
Forum: Shell Scripting May 5th, 2005 |
| Replies: 2 Views: 2,169 |
Forum: Shell Scripting May 5th, 2005 |
| Replies: 2 Views: 2,169 Re: what's the meaning of " ${1:-} "? [quote man ksh]
${parameter:-word}
Use Default Values. If parameter is unset or null,
the expansion of word will be substituted; other-
wise, the... |
Forum: Shell Scripting May 2nd, 2005 |
| Replies: 3 Views: 20,550 |
Forum: Shell Scripting Jan 7th, 2005 |
| Replies: 5 Views: 5,764 Re: Arping script this is a hint/template how to use 'trap' with the interrupt [eg ^C]. |
Forum: Shell Scripting Dec 29th, 2004 |
| Replies: 1 Views: 2,279 |
Forum: Shell Scripting Dec 26th, 2004 |
| Replies: 7 Views: 6,456 |
Forum: Shell Scripting Dec 7th, 2004 |
| Replies: 13 Views: 6,587 |
Forum: Shell Scripting Dec 7th, 2004 |
| Replies: 13 Views: 6,587 |
Forum: Shell Scripting Dec 7th, 2004 |
| Replies: 13 Views: 6,587 Re: Subshell Problem, syntax error...Help please! your culprit is this:
while [ $stat -gt 0 ]
seem that '$stat' does not get assigned any number. When the comparison is made there's nothing to compare against '0'.
instead of using
set count =... |
Forum: Shell Scripting Dec 6th, 2004 |
| Replies: 13 Views: 6,587 |
Forum: Shell Scripting Dec 6th, 2004 |
| Replies: 13 Views: 6,587 Re: Subshell Problem, syntax error...Help please! using 'vi':
1. place your cursor on the closing ')' on the offinding line
2. hit '%' - the cursor will move to the MATCHING '(' - make sure it is what it's supposed to be
3. do the same for any... |
Forum: Shell Scripting Dec 6th, 2004 |
| Replies: 13 Views: 6,587 |
Forum: Shell Scripting Dec 6th, 2004 |
| Replies: 5 Views: 5,764 Re: Arping script #!/bin/ksh
typeset iter=0
trap 'echo "$(date): iter->[${iter}]";exit' INT;
while :
do
ls /tmp > /dev/null
iter=$(( iter + 1)) |
Forum: Shell Scripting Nov 24th, 2004 |
| Replies: 2 Views: 6,016 |