I have six Unix Server. I have writen a script that returns directory and Used Memory of it above certain threhold of that server. This is essential for my team on regular based monitoring for system disk checkup.
So on execution of myscript it will result a log file. Log file conatin Max Value of directory above certain thresold.
Now my cocern is i want to execute this script on remaining 5 server for theire system disk checkup and that log will come to my orignal server (say Master)
So for performing this operation myscript must be present on other 6 servers.
So i am designing a script that will create a specfic path and keep myscript on that path. After execution of script on all 5 servers they will resend respective log files to my original server(i.e Master)
Let me know ift its possible with sftp -b mode. so batch file can able to do this.