Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
1593fe37
Commit
1593fe37
authored
Jun 24, 2020
by
Joanne Hugé
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow displaying timestamps without enabling histograms in wrapper script
parent
bd13db96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
scripts/run_client
scripts/run_client
+6
-3
No files found.
scripts/run_client
View file @
1593fe37
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
script_dir
=
$(
dirname
$(
realpath
$0
))
script_dir
=
$(
dirname
$(
realpath
$0
))
usage
()
{
usage
()
{
echo
"Usage:
$0
(-e delta [-o etf_offset] | -p) [-bg] [-i INTERVAL] [-d TX_BUFFER_LEN] [emerald|slate|onyx]"
1>&2
;
echo
"Usage:
$0
(-e delta [-o etf_offset] | -p) [-bg
t
] [-i INTERVAL] [-d TX_BUFFER_LEN] [emerald|slate|onyx]"
1>&2
;
exit
1
;
exit
1
;
}
}
...
@@ -16,7 +16,7 @@ qdisc_options=""
...
@@ -16,7 +16,7 @@ qdisc_options=""
ip
=
"192.168.99."
ip
=
"192.168.99."
etf_offset
=
500
etf_offset
=
500
while
getopts
"bd:e:o:ghi:p"
opt
;
do
while
getopts
"bd:e:o:ghi:p
t
"
opt
;
do
case
"
${
opt
}
"
in
case
"
${
opt
}
"
in
b
)
b
)
client_options+
=
" -b"
client_options+
=
" -b"
...
@@ -33,7 +33,7 @@ while getopts "bd:e:o:ghi:p" opt; do
...
@@ -33,7 +33,7 @@ while getopts "bd:e:o:ghi:p" opt; do
etf_offset
=
${
OPTARG
}
etf_offset
=
${
OPTARG
}
;;
;;
g
)
g
)
client_options+
=
" -g
-t
"
client_options+
=
" -g"
use_histogram
=
1
use_histogram
=
1
;;
;;
h
)
h
)
...
@@ -48,6 +48,9 @@ while getopts "bd:e:o:ghi:p" opt; do
...
@@ -48,6 +48,9 @@ while getopts "bd:e:o:ghi:p" opt; do
client_options+
=
" -q 1"
client_options+
=
" -q 1"
qdisc_options+
=
"-p"
qdisc_options+
=
"-p"
;;
;;
t
)
client_options+
=
" -t"
;;
*
)
*
)
usage
usage
;;
;;
...
...
Joanne Hugé
@jhuge
mentioned in commit
2aa17b73
·
Jul 31, 2020
mentioned in commit
2aa17b73
mentioned in commit 2aa17b73fd8c7c5a0c0e35ba717a55e84582700d
Toggle commit list
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