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-devel
Commits
dbc2dd33
Commit
dbc2dd33
authored
Jul 07, 2004
by
Leigh B. Stoller
Browse files
Show modelnet fields in SHOWEXP() when usemodelnet is turned on.
parent
13d0cbfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/showstuff.php3
View file @
dbc2dd33
...
...
@@ -628,6 +628,9 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
$cpu_usage
=
$exprow
[
"cpu_usage"
];
$exp_slice
=
$exprow
[
slicename
];
$linktest
=
$exprow
[
"linktest_level"
];
$usemodelnet
=
$exprow
[
"usemodelnet"
];
$mnet_cores
=
$exprow
[
"modelnet_cores"
];
$mnet_edges
=
$exprow
[
"modelnet_edges"
];
$autoswap_hrs
=
(
$autoswap_timeout
/
60.0
);
$idleswap_hrs
=
(
$idleswap_timeout
/
60.0
);
...
...
@@ -844,6 +847,21 @@ function SHOWEXP($pid, $eid, $short = 0, $sortby = "") {
}
if
(
!
$short
)
{
if
(
$usemodelnet
)
{
echo
"<tr>
<td>Use Modelnet: </td>
<td class=
\"
left
\"
>Yes</td>
</tr>
\n
"
;
echo
"<tr>
<td>Modelnet Phys Core Nodes: </td>
<td class=
\"
left
\"
>
$mnet_cores
</td>
</tr>
\n
"
;
echo
"<tr>
<td>Modelnet Phys Edge Nodes: </td>
<td class=
\"
left
\"
>
$mnet_edges
</td>
</tr>
\n
"
;
}
if
(
isset
(
$syncserver
))
{
echo
"<tr>
<td>Sync Server: </td>
...
...
Write
Preview
Markdown
is supported
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