Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
95762aea
Commit
95762aea
authored
Feb 21, 2019
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More minor changes.
parent
4e97124c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
protogeni/lib/GeniCM.pm.in
protogeni/lib/GeniCM.pm.in
+1
-1
protogeni/lib/GeniSlice.pm.in
protogeni/lib/GeniSlice.pm.in
+5
-5
No files found.
protogeni/lib/GeniCM.pm.in
View file @
95762aea
...
...
@@ -8429,7 +8429,7 @@ sub KillMonitor($)
{
my ($slice) = @_;
return $slice->
Kil
lMonitor();
return $slice->
Cance
lMonitor();
}
#
...
...
protogeni/lib/GeniSlice.pm.in
View file @
95762aea
...
...
@@ -1659,7 +1659,7 @@ sub GetPortalURL($)
sub
CheckMonitor
($)
{
my
($
slice
)
=
@
_
;
my
$
pid
=
$
slice
->
monitor_p
id
();
my
$
pid
=
$
slice
->
GetMonitorP
id
();
#
#
See
if
the
process
still
exists
.
...
...
@@ -1675,12 +1675,12 @@ sub CheckMonitor($)
}
#
#
Kill
th
e
monitor
process
.
#
Cancel
the
slic
e
monitor
process
.
#
sub
Kil
lMonitor
($)
sub
Cance
lMonitor
($)
{
my
($
slice
)
=
@
_
;
my
$
pid
=
$
slice
->
monitor_p
id
();
my
$
pid
=
$
slice
->
GetMonitorP
id
();
require
libtestbed
;
return
0
...
...
@@ -1698,6 +1698,7 @@ sub KillMonitor($)
if
(
kill
(
0
,
$
pid
)
==
0
)
{
if
($
!{ESRCH}) {
print
STDERR
"Monitor process $pid no longer exists.
\n
"
;
$
experiment
->
SetCancelFlag
(
0
);
$
slice
->
ClearMonitorPid
();
return
0
;
}
...
...
@@ -1741,7 +1742,6 @@ sub KillMonitor($)
"$TBBASE/showslice.php?slice_idx="
.
$
slice
->
idx
()
.
"&showtype=cm"
,
$
TBOPS
);
print
STDERR
"Could not shutdown $slice!
\n
"
;
return
GeniResponse
->
Create
(
GENIRESPONSE_ERROR
,
undef
,
"Monitor would not die"
);
}
...
...
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