User Tools

Site Tools


strace_apache_speed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
strace_apache_speed [2016/03/24 21:35] luke7858strace_apache_speed [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 29: Line 29:
 </sxh> </sxh>
 <sxh bash> <sxh bash>
-strace -o /tmp/output -f -r -s4096 -p 16742+strace -o /tmp/output -f -r -s4096 -p `pidof telnet`
 </sxh> </sxh>
 <sxh bash> <sxh bash>
Line 53: Line 53:
 <sxh bash> <sxh bash>
 cat /tmp/output | cut -c12-16 | sort -rn | head cat /tmp/output | cut -c12-16 | sort -rn | head
 +</sxh>
 +\\
 +\\
 +\\
 +\\
 +=== Start of Script ===
 +<sxh bash>
 +{ sleep 2;  printf "GET / HTTP/1.1\n"; printf "Host: example.com\n" ; echo ""; sleep 2;} | telnet 127.0.0.1 80
 </sxh> </sxh>
strace_apache_speed.1458855355.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki