strace server
This commit is contained in:
parent
e7fe896657
commit
aa4055297c
1 changed files with 16 additions and 3 deletions
|
@ -4,10 +4,16 @@ cd $6/shared
|
||||||
|
|
||||||
echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrmap status_general status_client guard info notice warn err newdesc descchanged ns status_server stream_bw clients_seen hs_desc network_liveness' | \
|
echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrmap status_general status_client guard info notice warn err newdesc descchanged ns status_server stream_bw clients_seen hs_desc network_liveness' | \
|
||||||
nc --no-shutdown 127.0.0.1 9051 | \
|
nc --no-shutdown 127.0.0.1 9051 | \
|
||||||
ts \
|
ts '<%b %d %H:%M:%.S>' \
|
||||||
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log &
|
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log &
|
||||||
|
|
||||||
strace -e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait -p 1 \
|
strace \
|
||||||
|
-s 800 \
|
||||||
|
-f \
|
||||||
|
-e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait,close \
|
||||||
|
-p 1 \
|
||||||
|
-o /dev/stdout | \
|
||||||
|
ts '<%b %d %H:%M:%.S>' \
|
||||||
> ../log/server-strace-tor-stdout.log 2> ../log/server-strace-tor-stderr.log &
|
> ../log/server-strace-tor-stdout.log 2> ../log/server-strace-tor-stderr.log &
|
||||||
|
|
||||||
donar \
|
donar \
|
||||||
|
@ -19,7 +25,14 @@ donar \
|
||||||
-e 9000 \
|
-e 9000 \
|
||||||
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
|
||||||
|
|
||||||
strace -e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait -p `pidof donar` \
|
sleep 3
|
||||||
|
strace \
|
||||||
|
-s 800 \
|
||||||
|
-f \
|
||||||
|
-e trace=network,epoll_wait,epoll_create,epoll_create1,epoll_ctl,epoll_pwait,close \
|
||||||
|
-p `pidof donar` \
|
||||||
|
-o /dev/stdout | \
|
||||||
|
ts '<%b %d %H:%M:%.S>' \
|
||||||
> ../log/server-strace-donar-stdout.log 2> ../log/server-strace-donar-stderr.log &
|
> ../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
|
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