Hello, We have this script running for years... just found that one outbound thread can not be processed by this script recently.. .Basically this script will check the very connection ... can anyone tell me what does highlighted the statement mean?
sub ckconnStatus {
#; check connection status
open(NETCONFIG,"grep '^protocol' $netconfig |") || return 0;
@NETCONFIG = <NETCONFIG>;
close(NETCONFIG);
foreach $proc (
@procs) {
open(CONNSTATUS,"hciconnstatus |grep '^$proc ' |")
|| die "Cannot access hciconnstatus";
$procpath = $rootpath . "/" . $site . "/exec/processes/" . $proc;
while (<CONNSTATUS>) {
chop;
if (/^S+s+(S+)s+ups+S+.*$/) { ($conn) = $1;
foreach (
@NETCONFIG) {
$NCline = $_;
chop($NCline);
if ($NCline =~ /^protocol ($connS*).*$/) ($conn) = $1;
printf("nProcessingn Root: %s, site: %s, proc: %s, thread: %sn",$rootpath,$site,$proc,$conn);
last;
}
}
&ckSavemsgs;
}
}
close(CONNSTATUS);
}
return 1;
}
Thanks