|
|
@ -23,7 +23,7 @@ $news_header = "From: Statistic Robot <postmaster\@fido.xxx.local>\n".
|
|
|
|
{
|
|
|
|
{
|
|
|
|
print $news_header;
|
|
|
|
print $news_header;
|
|
|
|
print "\n";
|
|
|
|
print "\n";
|
|
|
|
print "\"$system_name\" statistic from <$TimeFirst> to <$TimeLast>\n";
|
|
|
|
print "\"$station_name\" statistic from <$TimeFirst> to <$TimeLast>\n";
|
|
|
|
print "\n";
|
|
|
|
print "\n";
|
|
|
|
&TotalStatistic();
|
|
|
|
&TotalStatistic();
|
|
|
|
print "\n";
|
|
|
|
print "\n";
|
|
|
@ -113,17 +113,10 @@ sub ReadLog
|
|
|
|
|
|
|
|
|
|
|
|
if( ($start == 1) && ($Pid eq $MySexyPid) )
|
|
|
|
if( ($start == 1) && ($Pid eq $MySexyPid) )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if( $Text =~ /^remote is password protected system/ )
|
|
|
|
if( $Text =~ /^remote is (\w+),(\w+)$/ ) {
|
|
|
|
{
|
|
|
|
my $stat_ = $1;
|
|
|
|
$Status[$cnt] = "P";
|
|
|
|
my $sec_ = $2;
|
|
|
|
}
|
|
|
|
$Status[$cnt] = ( $stat_ eq "listed" ? "L" : "U" ) . ( $sec_ eq "protected" ? "P" : "N" );
|
|
|
|
elsif( $Text =~ /^remote is listed system/ )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$Status[$cnt] = "L";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
elsif( $Text =~ /^remote is unlisted system/ )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$Status[$cnt] = "U";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
elsif( $Text =~ /^[ \t]*Address :/ )
|
|
|
|
elsif( $Text =~ /^[ \t]*Address :/ )
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -347,19 +340,19 @@ sub sec2str
|
|
|
|
|
|
|
|
|
|
|
|
format HEADER =
|
|
|
|
format HEADER =
|
|
|
|
ª”” Call : 'I' - Incoming, 'O' - Outgoing
|
|
|
|
ª”” Call : 'I' - Incoming, 'O' - Outgoing
|
|
|
|
ƒª” Status : 'U' - Unlisted, 'L' - Listed, 'P' - Protected
|
|
|
|
ƒª” Status : 'U' - Unlisted, 'L' - Listed, 'P' - Protected, 'N' - UnProtected
|
|
|
|
ƒƒª Session : ' ' - Success, 'A' - Aborted
|
|
|
|
ƒƒª Session : ' ' - Success, 'A' - Aborted
|
|
|
|
¥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˆ
|
|
|
|
¥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¡<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˆ
|
|
|
|
ƒ Time ƒSta ƒ FTN ƒ On-Line ƒ Incoming ƒ Outgoing ƒ Avg.ƒSpeedƒ
|
|
|
|
ƒ Time ƒSta ƒ FTN ƒ On-Line ƒ Incoming ƒ Outgoing ƒ Avg.ƒSpeedƒ
|
|
|
|
ƒhh:mm-hh:mmƒtus ƒ Address ƒhhh:mm:ssƒ Bytesƒ N ƒ Bytesƒ N ƒ CPS ƒ ƒ
|
|
|
|
ƒhh:mm-hh:mmƒtus ƒ Address ƒhhh:mm:ssƒ Bytesƒ N ƒ Bytesƒ N ƒ CPS ƒ ƒ
|
|
|
|
–<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>…
|
|
|
|
–<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¨<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>…
|
|
|
|
.
|
|
|
|
.
|
|
|
|
format EACH =
|
|
|
|
format EACH =
|
|
|
|
ƒ@<<<<-@<<<<ƒ@<<ƒ@<<<<<<<<<<<<<<ƒ@>>>>>>>>ƒ@>>>>>ƒ@>>ƒ@>>>>>ƒ@>>ƒ@>>>>ƒ@>>>>ƒ
|
|
|
|
ƒ@<<<<-@<<<<ƒ@<<<ƒ@<<<<<<<<<<<<<<ƒ@>>>>>>>>ƒ@>>>>>ƒ@>>ƒ@>>>>>ƒ@>>ƒ@>>>>ƒ@>>>>ƒ
|
|
|
|
$start,$finish,$stat,$addr, $online, $ibyte, $in,$obyte, $on,$cps, $speed
|
|
|
|
$start,$finish,$stat,$addr, $online, $ibyte, $in,$obyte, $on,$cps, $speed
|
|
|
|
.
|
|
|
|
.
|
|
|
|
format FOOTER =
|
|
|
|
format FOOTER =
|
|
|
|
¤<EFBFBD><EFBFBD><EFBFBD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