Can someone help me provide a sample perl script where: 1. I will ssh user@xx.xxx.xx.xx into 25 different servers (25 different IP addressess) 2. Automatically login 3. execute some command like df -h on each of the 25 servers 4. write/capture the logfile and get the %use of the HD of each server (ip address) Thanks,
In reply to SSHing in multiple servers and execute command on each by sabas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |