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

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>
if (! ($swapreqs=="" || $swapreqs==0)) {
echo "<tr>
<td>Swap Requests: </td>
<td class=\"left\">$swapreqs</td>
echo "<tr>
<td>Last Swap Req.: </td>
<td class=\"left\">$lastswapreq</td>
if ($batchmode) {
echo "<tr>
Supports Markdown
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