Find the answer to your Linux question:
Results 1 to 2 of 2
Hello I searched around but could not find this out . . . Given a process number, how can I find out how many bytes it is receiving from/sending to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    6

    How many bytes is a given process sending/receiving?


    Hello

    I searched around but could not find this out . . .
    Given a process number,
    how can I find out how many bytes it is receiving from/sending to network?

    I poked around and saw that netstat has "-p" argument that is supposed to print out process info, but it mostly returned blank data in that column. Besides, it did not report amount of bytes sent/received.

    Thank you for help in advance.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,748
    Normal tools won't do this. You need something in the realm of network traffic analysis, such as snort, to do this.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •