Please help me with a script to shutdown 5 servers at a time using a command without waiting for one by one to happen? i am sorry for the minimal information provided. I am using a window machine from that machine i need to login a linux based interface OA through ssh where i need to shutdown all servers at once. Instead of doing one by one which is time consuming.<\P> I tried using <code> @server = (1 .. 5); foreach (@servers) { exec ("poweroff server $_"); } <\code> Since I doesn't want the status of the command output for poweroff so used exec command. Is this info enough for you? Thanks in advance.
In reply to Shuting down servers by subhash_fire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |