Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tom
2014-09-30 09:08:42 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
890a43b04180fee9b1f0ee4da8ef10eebbbb3655
890a43b0
1 parent
e440a632
Adding test command to remotely kill onos instance.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
tools/test/bin/onos-kill
tools/test/bin/onos-kill
0 → 100755
View file @
890a43b
#!/bin/bash
#-------------------------------------------------------------------------------
# Remotely kills the ONOS service on the specified node.
#-------------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
ssh
$ONOS_USER
@
${
1
:-
$OCI
}
"kill -9
\$
(ps -ef | grep karaf.jar | grep -v grep | cut -c10-15)"
\ No newline at end of file
Please
register
or
login
to post a comment