Here’s the script to get uptime from multiple servers
for i in `cat s` do os_uptime=`ssh $i uptime` pipe=`echo "|"` echo $i $pipe $os_uptime done
Here’s the script to get uptime from multiple servers
for i in `cat s` do os_uptime=`ssh $i uptime` pipe=`echo "|"` echo $i $pipe $os_uptime done