strace_apache_speed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
strace_apache_speed [2016/03/24 21:35] – luke7858 | strace_apache_speed [2024/05/23 07:26] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 29: | Line 29: | ||
</ | </ | ||
<sxh bash> | <sxh bash> | ||
- | strace -o /tmp/output -f -r -s4096 -p 16742 | + | strace -o /tmp/output -f -r -s4096 -p `pidof telnet` |
</ | </ | ||
<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 | ||
+ | </ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | === Start of Script === | ||
+ | <sxh bash> | ||
+ | { sleep 2; printf "GET / HTTP/ | ||
</ | </ |
strace_apache_speed.1458855355.txt.gz · Last modified: 2024/05/23 07:26 (external edit)