IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2025, 12:59:29 PM (8 months ago)
Author:
cclin33
Message:

update czartool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/raw/storage.php

    r42922 r42923  
    5858    exec("neb-host |cut -b 17-30,86-", $hostnoteall);
    5959
    60     $sql = "SELECT host, format(total, 2), format(available, 2), format(used, 2), writable, readable, format(used/total*100,3) as ratio FROM hosts where xattr <> 3 ORDER BY CASE WHEN ROUND(used/total*100,3) = 100 THEN 0 ELSE 1 END, CASE WHEN host LIKE '%\_bck.0' THEN 1 ELSE 0 END, host;";
     60    $sql = "SELECT host, format(total, 2), format(available, 2), format(used, 2), writable, readable, format(used/total*100,3) as ratio FROM hosts where xattr <> 3 ORDER BY CASE WHEN ROUND(used/total*100,3) = 100 THEN 0 ELSE 1 END, xattr, host;";
    6161    $qry = $db->query($sql);
    6262
Note: See TracChangeset for help on using the changeset viewer.