projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed the 'ever lengthening msg' syndrome and probably made the whole
[spider.git]
/
cmd
/
stat
/
msg.pl
diff --git
a/cmd/stat/msg.pl
b/cmd/stat/msg.pl
index 2b937d81f1db2633e5bb51310a5fde04afe1c6fe..57eccca4293aea042bb48039e27863bc5890f3ca 100644
(file)
--- 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";
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;
push @out, "Busy Queue Data";
foreach $ref (sort {$a->to cmp $b->to} DXMsg::get_all_busy) {
my $msgno = $ref->msgno;
@@
-24,10
+24,11
@@
if (@list == 0) {
my $count = $ref->count;
my $to = $ref->to;
my $from = $ref->from;
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) : "";
my $lastt = $ref->lastt ? " Last Processed: " . cldatetime($ref->lastt) : "";
my $waitt = $ref->waitt ? " Waiting since: " . cldatetime($ref->waitt) : "";
- push @out, "$from -> $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) {
}
} else {
foreach my $msgno (@list) {