G
grk
Hi Guru's,
If i have file /hosts and then inside it
10.10.0.1 host1.new.corp.com
10.20.0.1 rts.new.corp.com
say i wan to extract only
host1.new.corp.com
rts.new.corp.com
two hostnames check if alive with ping and then run a rsh command to
check if df of these two machines are >90% or not, how best i can
achive this.
i have script which actually makes use of a file which i actually
prepare by going to hosts file and then updating very often. so if i
can get it direclty from hosts file and do that would save a lot fo
time.
thx for perl gurus in advance.
grk
If i have file /hosts and then inside it
10.10.0.1 host1.new.corp.com
10.20.0.1 rts.new.corp.com
say i wan to extract only
host1.new.corp.com
rts.new.corp.com
two hostnames check if alive with ping and then run a rsh command to
check if df of these two machines are >90% or not, how best i can
achive this.
i have script which actually makes use of a file which i actually
prepare by going to hosts file and then updating very often. so if i
can get it direclty from hosts file and do that would save a lot fo
time.
thx for perl gurus in advance.
grk