Changeset 42276 for trunk/ippMonitor/raw/storage.php
- Timestamp:
- Sep 2, 2022, 11:11:31 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/storage.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/storage.php
r42272 r42276 65 65 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #bbbbbb\"><center>Down | Repair</div>"; 66 66 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>Power Off</div>"; 67 echo " <div style=\"font-size: 12px; height: 14px; border: 1px solid; background-color: #ffffff\"><center>68 <a href=\"https://confluence.ipp.ifa.hawaii.edu/display/IKB/IPP+Hardware+Status#IPPHardwareStatus-StorageNodes\" target=new><font color=\"blue\">Notes</font></a></div>";69 67 echo " </div>"; 70 68 echo "</div>"; … … 79 77 echo " 'free', {type: 'string', role: 'style'}, {type: 'string', role: 'tooltip', 'p': {'html': true}}],"; 80 78 81 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts ";79 $sql = "SELECT host, format(total,1), format(available,2), format(used,2), writable, readable, format(used/total*100,2) FROM hosts order by host"; 82 80 if ($debug) {echo "$sql<br>";} 83 81 $qry = $db->query($sql);
Note:
See TracChangeset
for help on using the changeset viewer.
