Question : Problem: Looking for Freeware terminal emulator with macro function

Hi

I'm looking for a terminal emulator freeware (like Putty or possibly QVTerm)
that could program a macro or a series of commands/instructions that's
sent to the host server :

The  macro or series of instructions I plan to take are :
a) login using ssh into the server
b) run repeatedly the server's OS commands :
      date
      netstat -an | grep 1521
      df -k
c)I plan to do "screen capture" to capture

The set of commands in step (b) above will be repeated
continuously & I will stop it manually (by exiting the terminal
emulator) once I'm done capturing enough info

Appreciate if you can give me some instructions on how to get
this going quickly for the freeware that you've recommended

tks

Answer : Problem: Looking for Freeware terminal emulator with macro function

Does this system have ssh key logon? If it does the read section 7.2.2 as this will solve the a) part of your question.

http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter7.html#plink

So create a batch file currentState.bat that will read:
date /T>> report.txt
"plink login.example.com -l myUserName netstat -an | grep 1521" >> report.txt
"plink login.example.com -l myUserName df -k" >> report.txt

Create a job that will run this batch file every 10 seconds...
Random Solutions  
 
programming4us programming4us