I wanted to strace a php backend to see if the X-LIGHTTPD-send-file header (and feature) of Lighttpd was actually working, so I could see the backend doing some read operations or not and prove that the php was not in fact the process sending the file.
This was not necessary at all, but I just wanted to confirm php REALLY not having anything to do with the downloads.
So I started strace with the PID of the backend and saved the log to see those open() and read() operations
strace -Ff -tt -p PID 2>&1 | tee strace.log
And that was pretty much it ;-)
Tuesday, August 9, 2011
Subscribe to:
Post Comments (Atom)
Followers
About me
- coke
- Santa Fe, Argentina
- Programador Web, PHP, MySQL, JQuery, Administrador Linux. LAMP, Lighttpd, Nginx.
No comments:
Post a Comment