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
2908473f
Commit
2908473f
authored
Jan 30, 2003
by
Leigh B. Stoller
Browse files
Use UDP for isalive from both local and remote nodes.
parent
c85d7a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/watchdog
View file @
2908473f
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
use
Getopt::
Std
;
...
...
@@ -199,10 +199,7 @@ sub startisalive()
while
(
$retries
)
{
# my $options = "-p 7778 REDIRECT=192.168.100.1";
my
$options
=
"";
if
(
REMOTE
())
{
$options
.=
"
-u -t 3
";
}
my
$options
=
"
-u -t 3
";
my
$result
=
`
tmcc
$options
isalive
`;
if
(
!
$?
)
{
my
$date
=
POSIX::
strftime
("
20%y/%m/%d %H:%M:%S
",
localtime
());
...
...
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