2 # show all the values on a message header
7 my ($self, $line) = @_;
8 my @list = split /\s+/, $line; # generate a list of msg nos
11 return (1, $self->msg('e5')) if $self->priv < 1;
15 push @out, "Work Queue Keys";
16 push @out, map { " $_" } sort (DXMsg::get_all_fwq());
17 push @out, "Busy Queue Data";
18 foreach my $key (sort (DXMsg::get_all_busy())) {
19 $ref = DXMsg::get_busy($key);
21 my $msgno = $ref->msgno;
22 my $stream = $ref->stream;
23 my $lref = $ref->lines;
25 $lines = @$lref if $lref;
26 my $count = $ref->count;
28 my $from = $ref->from;
29 my $tonode = $ref->tonode;
30 my $lastt = $ref->lastt ? " Last Processed: " . cldatetime($ref->lastt) : "";
31 my $waitt = $ref->waitt ? " Waiting since: " . cldatetime($ref->waitt) : "";
32 push @out, " $key/$tonode: $from -> $to msg: $msgno stream: $stream Count: $count Lines: $lines$lastt$waitt"
34 push @out, " dangling ref for $key";
38 foreach my $msgno (@list) {
39 my $ref = DXMsg::get($msgno);
41 @out = print_all_fields($self, $ref, "Msg Parameters $msgno");
43 push @out, $self->msg('m4', $msgno);
45 push @out, "" if @list > 1;