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
alshabib
2014-10-08 20:15:56 -0700
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
166f1a583d440c17242a34433a20b162771d7d08
166f1a58
2 parents
26834584
43c4f3da
Merge branch 'master' of
ssh://gerrit.onlab.us:29418/onos-next
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
tools/test/bin/onos-watch
tools/test/bin/onos-watch
0 → 100755
View file @
166f1a5
#!/bin/bash
#-------------------------------------------------------------------------------
# Monitors selected set of ONOS commands using the system watch command.
#-------------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
node
=
${
1
:-
$OCI
}
commands
=
"
${
2
:-
summary
,intents,flows,hosts
}
"
aux
=
/tmp/onos-watch.
$$
trap
"rm -f
$aux
'"
EXIT
echo
"
$commands
"
| tr
','
'\n'
>
$aux
watch
$3
"onos
$node
-b <
$aux
2>/dev/null"
Please
register
or
login
to post a comment