View Single Post
  #3  
Old 12-16-2014, 02:03 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi jbd1300,

Thanks for the post. It seems like we are missing some of the equation.

I have no knowledge of your modem farm, but it seems like you don't just need to find the string "modem<x>". You need to find the string, and determine if the modem is idle or busy.

I think that I would read in the output of the "sh users" command, and then parse the data using a loop combination of some sort.

Is my understanding of your goal accurate?

What is the version of SecureCRT that you are using?

Also, you are welcome to keep this thread here. In the future you may consider posting scripting questions in the scripting forum.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730