<path_cacti>/scripts/ping.pl can't be executed on Win

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ccyang

<path_cacti>/scripts/ping.pl can't be executed on Win

Post by ccyang »

I found perl script on <path_cacti>/scripts/ping.pl is unable be
executed on Win32 environment.

Because "grep" & "awk" unable be executed on Win32 environment.
How to solve it? :-? :-?

$response = `ping $ARGV[1] -c $ARGV[0] |grep round-trip| awk '\{print \$4 \}' | awk -F / '\{print \$1 \}' | grep -v "Warning"`;
Guest

Post by Guest »

Look in the Win32 Help Section of this board for your answer
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests