projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added rtt to who
[spider.git]
/
cmd
/
who.pl
diff --git
a/cmd/who.pl
b/cmd/who.pl
index d001d9c3efde80d71364dd02fec30a114293a877..beea0071703f1d5be284d080d9407c4da1b46bfd 100644
(file)
--- a/
cmd/who.pl
+++ b/
cmd/who.pl
@@
-18,7
+18,9
@@
foreach $dxchan ( sort {$a->call cmp $b->call} DXChannel::get_all ) {
my $t = cldatetime($dxchan->user->lastin);
my $sort = $dxchan->is_ak1a() ? "NODE" : "USER";
my $name = $dxchan->user->name || " ";
my $t = cldatetime($dxchan->user->lastin);
my $sort = $dxchan->is_ak1a() ? "NODE" : "USER";
my $name = $dxchan->user->name || " ";
- push @out, sprintf "%10s $sort $t $name", $call;
+ my $ping = $dxchan->is_ak1a ? sprintf("(rtt %.2f secs)", $dxchan->pingave) : "";
+ $ping = "" if $dxchan->call eq $main::mycall;
+ push @out, sprintf "%10s $sort $t $name $ping", $call;
}
return (1, @out)
}
return (1, @out)