User manual

Chapter 2 - General Purpose Command Set Ipstat Command (IP-Statistics)
Alvarion BreezeNET B130/B300 GigE 24 Operational User Manual
statistics gathering including ports and protocols information.
Bytes(/total_bytes) option sort ipstat output according to the number of
transmitted bytes in the moment(/bytes transmitted for the whole period).
This is the script for the reliable device statistics receiving with rsh command
usage:
#!/usr/bin/perl -w
for(;;)
{
my $stat;
do
{
$stat = system("rsh -t 30 -n -l root IP
ips fixit >/dev/null");
if(int($stat) != 0) { sleep(5); }
} while (int($stat) != 0);
do
{
$stat = system("rsh -t 30 -n -l root IP
ips fixget >stat.tmp");
if(int($stat) != 0) { sleep(5); }
} while (int($stat) != 0);
do
{
$stat = system("rsh -t 30 -n -l root IP
ips fixclear >/dev/null");
if(int($stat) != 0) { sleep(5); }
} while (int($stat) != 0);
system("cat stat.tmp >>stat.txt");
sleep(300);
}