Thread (5 messages) 5 messages, 2 authors, 2014-06-03

How to trace the send() in client call

From: Augusto Mecking Caringi <hidden>
Date: 2014-05-27 15:56:29

On Tue, May 27, 2014 at 8:31 AM, Robert Clove [off-list ref] wrote:
But there will be other packets also coming from the network like if some
one is browsing the net on mozilla.
I only want to trace the send() calls that i have used in my code,is that
possible?
Robert,

    You must specify the PID of your process (to attach strace to a running
process), or run your program through strace.

    Yon can use grep to filter only the write syscall.

    Regards.

--
Augusto Mecking Caringi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140527/a4eb54a5/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help