Revision 42

Date:
2008/10/26 16:24:58
Author:
dpavlin
Revision Log:
added filesystem time and facet for it
Files:

Legend:

 
Added
 
Removed
 
Modified
  • wm/lib/WM/System.pm

     
    48 48 sub df {
    49 49 my ($self, $c) = @_;
    50 50
    51 my $df = `$remote df -k`;
    51 my $df = `$remote df -kT`;
    52 52 my @lines = split(/\n/, $df);
    53 my @header = map { lc($_) } split(/\s+/, shift @lines, 6);
    53 my @header = map { lc($_) } split(/\s+/, shift @lines, 7);
    54 54
    55 55 my @items;
    56 56 my $number;
  • wm/templates/system/exhibit.phtml

     
    25 25 ex:viewClass="Exhibit.TabularView"
    26 26 ex:columns="
    27 27 .filesystem,
    28 .type,
    28 29 ._1k_blocks,
    29 30 .used,
    30 31 .available,
     
    33 34 "
    34 35 ex:columnLabels="
    35 36 Filesystem,
    37 Type,
    36 38 1K blocks,
    37 39 Used,
    38 40 Available,
     
    45 47 list,
    46 48 list,
    47 49 list,
    50 list,
    48 51 list
    49 52 "
    50 53 ex:sortColumn="2"
     
    55 58 <div ex:role="facet" ex:facetClass="TextSearch"></div>
    56 59 <div ex:role="facet" ex:expression="._1k_blocks" ex:facetLabel="Size in Kb"
    57 60 ex:facetClass="NumericRange" ex:interval="1024" ex:scroll="true"></div>
    61 <div ex:role="facet" ex:expression=".type" ex:facetLabel="Type" ex:scroll="false"></div>
    58 62 <div ex:role="facet" ex:expression=".used" ex:facetLabel="Used"
    59 63 ex:facetClass="NumericRange" ex:interval="1024" ex:scroll="true"></div>
    60 64 <div ex:role="facet" ex:expression=".available" ex:facetLabel="Available"