Hi
I need to know the reboot timings of remote servers (all unix/AIX server )with the help of shell script as the list of servers is 400+.
None of the commands uses system name as parameter .What to do ?
I am trying man -b in variety of codes am preparing but all in vain .
#!/bin/ksh
file="/export/home/ABCDE/readIP.txt"
while read Line
do
#last reboot | head -1 >reboot data.txt
echo "line " ":" who -b >rebootData.txt
done < $file
with out login credentials also you can do ssh ( I am using that right now). we can change the settings in one ssh file for this i didnt remember that exact file name. you can take the help from your admin. In the mean time i will try for other method.