Hello,
Has anyone ever tried toying or configuring fping and parsing its output via
perl? The reason why I am asking this question is that, I am trying to capture the
output
generated by the command fping -s, what fping -s does is that it generates a summary
output upon exit, I have tried to pipe, fping -s > testfile, or fping -s 1> testfile,
but it just doesn't work. I am a beginner at perl, and I am wondering if there is a
way perl can capture its output, fping -s after execution. I have tried
$variable=`fping -s 202.8.xxx.xxx`, but the variable simply won't store fpings`s
output. fping -s 1> myfile doesn't work either the output just generates after fpings'
exit I think there is no way to capture the output of fping -s via pipe. Although any
other fping option can be piped, i.e. fping -a, fping -u.I would greatly appreciate
your help.
Thanks,
Hubert