Commit 4e4bee51 authored by Mac Newbold's avatar Mac Newbold

When we show an expt that has gotten swap requests, show how many its had

and when the last one was sent.
parent b5993a43
......@@ -503,6 +503,8 @@ function SHOWEXP($pid, $eid) {
$batchstate = $exprow[batchstate];
$priority = $exprow[priority];
$swappable = $exprow[swappable];
$swapreqs = $exprow[swap_requests];
$lastswapreq = $exprow[last_swap_req];
$nodes = $exprow["count(r.node_id)"];
if ($swappable)
......@@ -613,6 +615,17 @@ function SHOWEXP($pid, $eid) {
<td class=\"left\">$idletime hours</td>
</tr>\n";
if (! ($swapreqs=="" || $swapreqs==0)) {
echo "<tr>
<td>Swap Requests: </td>
<td class=\"left\">$swapreqs</td>
</tr>\n";
echo "<tr>
<td>Last Swap Req.: </td>
<td class=\"left\">$lastswapreq</td>
</tr>\n";
}
if ($batchmode) {
echo "<tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment