line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package M3::ServerView::ServerView; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
23
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
147
|
|
4
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
104
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
2473
|
use M3::ServerView::ServerEntry; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
110
|
|
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
23
|
use base qw(M3::ServerView::View); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
845
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
5
|
sub _entry_class { "M3::ServerView::ServerEntry"; } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub _entry_columns { |
13
|
|
|
|
|
|
|
return ( |
14
|
|
|
|
|
|
|
"No" => [ no => "numeric" ], |
15
|
|
|
|
|
|
|
"Type" => [ type => "text" ], |
16
|
|
|
|
|
|
|
"Address" => sub { |
17
|
56
|
|
|
56
|
|
9466
|
my ($view, $entry, $uri) = @_; |
18
|
56
|
100
|
|
|
|
377
|
if (ref $uri) { |
19
|
28
|
|
|
|
|
102
|
$entry->{_details} = [$view->connection, $uri->path, $uri->query]; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
"Jobs" => [ jobs => "numeric" ], |
23
|
|
|
|
|
|
|
"Threads" => [ threads => "numeric" ], |
24
|
|
|
|
|
|
|
"Status" => [ status => "text" ], |
25
|
140
|
|
|
140
|
|
5271
|
"Command" => sub {}, |
26
|
1
|
|
|
1
|
|
18
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
__END__ |