Skip to content
GitLab
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-devel
Commits
62084150
Commit
62084150
authored
Mar 22, 2004
by
Kirk Webb
Browse files
Show the plab slicename if it exists for an experiment in the experiment
view.
parent
cdbc784a
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showstuff.php3
View file @
62084150
...
...
@@ -587,8 +587,10 @@ function SHOWEXP($pid, $eid, $short = 0) {
}
$query_result
=
DBQueryFatal
(
"select e.*, round(minimum_nodes+.1,0) as min_nodes "
.
" from experiments as e "
.
DBQueryFatal
(
"select e.*, pl.slicename, "
.
"round(e.minimum_nodes+.1,0) as min_nodes "
.
" from experiments as e left join plab_slices as pl"
.
" on e.pid = pl.pid and e.eid = pl.eid "
.
"where e.pid='
$pid
' and e.eid='
$eid
'"
);
if
((
$exprow
=
mysql_fetch_array
(
$query_result
))
==
0
)
{
...
...
@@ -624,6 +626,7 @@ function SHOWEXP($pid, $eid, $short = 0) {
$syncserver
=
$exprow
[
"sync_server"
];
$mem_usage
=
$exprow
[
"mem_usage"
];
$cpu_usage
=
$exprow
[
"cpu_usage"
];
$exp_slice
=
$exprow
[
slicename
];
$autoswap_hrs
=
(
$autoswap_timeout
/
60.0
);
$idleswap_hrs
=
(
$idleswap_timeout
/
60.0
);
...
...
@@ -685,6 +688,13 @@ function SHOWEXP($pid, $eid, $short = 0) {
<a href='showgroup.php3?pid=
$pid
&gid=
$exp_gid
'>
$exp_gid
</a>
</td>
</tr>
\n
"
;
if
(
isset
(
$exp_slice
))
{
echo
"<tr>
<td>Planetlab Slice: </td>
<td class=
\"
left
\"
>
$exp_slice
</td>
</tr>
\n
"
;
}
}
echo
"<tr>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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