Re: How to trace the send() in client call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 27, 2014 at 8:31 AM, Robert Clove <cloverobert@xxxxxxxxx> 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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux