From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621770.tru64-unix-managers.marc@archive.invalid> From: Lee_Brewer () discovery ! com Date: Mon, 11 Jun 2001 18:58:09 +0000 To: tru64-unix-managers Subject: Update: HSZ or HSG controller scripting X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621770 Admins, I have had several responses stating that Command Scripter is the way to go... I have the PDF and I'm looking into purchasing.. One response has gotten me thinking though.. From Brandon Smith i knew someone who had all their HSGs setup on a terminal server. after they would establish a session w/ one of the controllers via a unix box, in their case a Tru64 box, they would echo HSG commands to the open session. i'm not sure of any details, because i don't have any. their scripts for the HSGs would contain lots of echo commands.... I have been trying to no avail to send command lines or strings to our controller.... My new question is What's thes best way to send commands through telnet to this controller. I have tried echo "\n\n\n show disks '^]'" | telnet (port) > output.txt or telnet (port) < echo "\n\n\n show disks '^]'" or make a command.txt file ^m ^m ^m show disks ^] then cat command.txt | telnet (port) There is a little tickler in my brain that thinks I may have to use expect.. Any idea???? By the way... I'm using Tru64 Unix 4.0f patch level 3. Lee Brewer ---------------------- Forwarded by Lee Brewer/US/DCI on 06/11/2001 02:34 PM --------------------------- Lee_Brewer@discovery.com on 06/11/2001 12:20:27 PM To: tru64-unix-managers@ornl.gov cc: (bcc: Lee Brewer/US/DCI) Subject: HSZ or HSG controller scripting Admins, Is there any way to script at the TRU64 unix level commands for HSZ70 and HSG80's without using hszterm. I have never used hszterm and my predecessor told me it was a bad tool. I would like to incorporate the cloning feature of the controller and eliminate the clone fileset commands Thanks Lee Brewer