<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 27, 2014 at 8:31 AM, Robert Clove <span dir="ltr"><<a href="mailto:cloverobert@gmail.com" target="_blank">cloverobert@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>But there will be other packets also coming from the network like if some one is browsing the net on mozilla.<br>
</div></div>I only want to trace the send() calls that i have used in my code,is that possible?<br></div></div></blockquote><div><br></div><div>Robert, </div><div><br></div><div> You must specify the PID of your process (to attach strace to a running process), or run your program through strace.</div>
<div><br></div><div> Yon can use grep to filter only the write syscall.</div><div><br></div><div> Regards.</div><div><br></div><div>-- </div></div>Augusto Mecking Caringi
</div></div>