X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fstat%2Fmsg.pl;h=57eccca4293aea042bb48039e27863bc5890f3ca;hb=629ca1bff41ef8c74e61267b36f4028581789789;hp=da4a726248cab01d9825682e2622bdab4d53e272;hpb=6624dcdf07d628e8d6a16fc6549edf40be25b7b2;p=spider.git diff --git a/cmd/stat/msg.pl b/cmd/stat/msg.pl index da4a7262..57eccca4 100644 --- a/cmd/stat/msg.pl +++ b/cmd/stat/msg.pl @@ -13,7 +13,7 @@ return (1, $self->msg('e5')) if $self->priv < 1; if (@list == 0) { my $ref; push @out, "Work Queue Keys"; - push @out, map { " $_" } sort keys %DXMsg::work; + push @out, map { " $_" } sort DXMsg::get_all_fwq(); push @out, "Busy Queue Data"; foreach $ref (sort {$a->to cmp $b->to} DXMsg::get_all_busy) { my $msgno = $ref->msgno; @@ -23,10 +23,12 @@ if (@list == 0) { $lines = @$lref if $lref; my $count = $ref->count; my $to = $ref->to; + my $from = $ref->from; + my $tonode = $ref->tonode; my $lastt = $ref->lastt ? " Last Processed: " . cldatetime($ref->lastt) : ""; my $waitt = $ref->waitt ? " Waiting since: " . cldatetime($ref->waitt) : ""; - push @out, " $call -> $to msg: $msgno stream: $stream Count: $count Lines: $lines$lastt$waitt"; + push @out, " $tonode: $from -> $to msg: $msgno stream: $stream Count: $count Lines: $lines$lastt$waitt"; } } else { foreach my $msgno (@list) {