![]() |
|
|
|
|
|||||||
| Windows & DOS: Issues & Discussions Questions involving Unix to Windows (Desktop or Server) go here. Any Windows/DOS questions should go here as well. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to execute a batch script from shell script | lakshmis10 | Shell Programming and Scripting | 1 | 10-17-2007 09:43 AM |
| dos batch script | lorcan | Windows & DOS: Issues & Discussions | 0 | 07-31-2007 11:20 PM |
| SFTP batch script | Bab00shka | UNIX for Dummies Questions & Answers | 3 | 06-29-2007 10:07 AM |
| how to convert unix .ksh script to windows .batch script | 2.5lt V8 | Shell Programming and Scripting | 1 | 11-28-2006 08:52 AM |
| batch command in a shell script | ivvo | UNIX for Dummies Questions & Answers | 7 | 07-20-2005 06:06 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
dos batch script
We need to write a dos batch script that does following in order numbered below:
Connect to all UNIX boxes using IP,userid and password from a file. validate if login was successful check if there is at least 30mb disk space in the home folder of the user Check if there are any processes in SLEEP state, started by the user used to login. Kill the processes listed in the step 4 generate a summary page – Pass/Failed depending on the action in the particular step. I need to write a dos batch script that does following in order numbered below: Connect to all UNIX boxes using IP,userid and password from a file. validate if login was successful check if there is at least 30mb disk space in the home folder of the user Check if there are any processes in SLEEP state, started by the user used to login. Kill the processes listed in the step 4 generate a summary page – Pass/Failed depending on the action in the particular step. It's urgent..pls We need to write a dos batch script that does following in order numbered below: Connect to all UNIX boxes using IP,userid and password from a file. validate if login was successful check if there is at least 30mb disk space in the home folder of the user Check if there are any processes in SLEEP state, started by the user used to login. Kill the processes listed in the step 4 generate a summary page – Pass/Failed depending on the action in the particular step. Last edited by blowtorch; 08-01-2007 at 02:03 AM. |
| Forum Sponsor | ||
|
|
|
||||
|
chandraachii, please do not create multiple threads for the same topic. That is a violation of the rules. I have merged the threads.
Please be patient. |
|
|||
|
Hi chandraachii,
There is no simple way of doing what you want from a DOS batch script. It will be significantly easier for you to install a more powerfull command line interpreter (say bash) and script it up from there. Cygwin might be a good bet for this as it will also provide a full environment including binaries such as ssh for connecting to your hosts. Hope this helps, Craig |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|