Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
4e4bee51
Commit
4e4bee51
authored
Apr 02, 2003
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showstuff.php3
View file @
4e4bee51
...
...
@@ -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
)
...
...
@@ -612,8 +614,19 @@ function SHOWEXP($pid, $eid) {
<td>Idle Time: </td>
<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>
<td>Batch Mode: </td>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment