Try to strace this program
This commit is contained in:
parent
465c5a3c6f
commit
e7fe896657
2 changed files with 3 additions and 2 deletions
|
@ -44,6 +44,7 @@ RUN mkdir out && \
|
|||
FROM fedora:30
|
||||
RUN dnf install -y \
|
||||
glib2 \
|
||||
procps-ng \
|
||||
valgrind \
|
||||
nmap-ncat \
|
||||
psmisc \
|
||||
|
|
|
@ -7,7 +7,7 @@ echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrm
|
|||
ts \
|
||||
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log &
|
||||
|
||||
strace -e trace=network -p 1 \
|
||||
strace -e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait -p 1 \
|
||||
> ../log/server-strace-tor-stdout.log 2> ../log/server-strace-tor-stderr.log &
|
||||
|
||||
donar \
|
||||
|
@ -19,7 +19,7 @@ donar \
|
|||
-e 9000 \
|
||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||
|
||||
strace -e trace=network -p $! \
|
||||
strace -e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait -p `pidof donar` \
|
||||
> ../log/server-strace-donar-stdout.log 2> ../log/server-strace-donar-stderr.log &
|
||||
|
||||
measlat -h 127.0.0.1 -p 9000 -l -c $1 -i $2 -s $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log
|
||||
|
|
Loading…
Reference in a new issue