This is our old Q&A Site. Please post any new questions and answers at


I'm new to Wireshark and I want to be able to take the measure of our File Server bandwidth utilisation for a possible move into a remote location. So I want to capture (by port miroring) on a week my file server.

For testing purpose I start a capture excluding broadcast and multicast packets, in files with a 5 minutes rotation for a couples of hour. My problem is that I will rapidly run out of disk space.

What is the best way to measure bandwidth without catching all gigabytes and terabytes data exchange on that server ?



asked 15 Jun '12, 12:31

JimToupet's gravatar image

accept rate: 0%

You should not capture with wireshark or tshark, as they will build internal state while dissecting data.

I suggest this:

  • capture with dumpcap and options -b (ring buffer) -s 60 (snaplen set to 60 bytes - only TCP header plus some data). Also limit the capture to the ip address and the port of your file server protocol like this:

    dumpcap -i <interface> -s 60 -w fileserver.cap -b filesize:200000 -f "host and port 8888"

  • You can run this command much longer as you don't capture the payload data
  • If you have enough data, analyze the capture files with wireshark. Take a look at: Statistics -> Summary , Statistics -> IO Graph and Statistics -> TCP Stream Graph -> Throughput Graph (the later only if your file server protocol is TCP based). These will show the bandwidth consumption (especially the IO Graphs).


permanent link

answered 15 Jun '12, 14:13

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

edited 16 Jun '12, 01:39

Thanks Kurt and SYN-bit.

Kurt : I forgot to mention that our file server it's an Novell Netware. In our final step of analysis can we say that the Novell NCP protocol load will be equivalent with the SMB Windows load ? We planned to move the server but we change it too from Netware to Windows.

SYN-bit : We already have an SNMP traffic capter setup using PRTG Network Monitor. But one of the remote location admin want a capture without "noise" (broadcast and multicast request).

(16 Jun '12, 07:24) JimToupet

In our final step of analysis can we say that the Novell NCP protocol load will be equivalent with the SMB Windows load

well, you can differntiate the two protocols in wireshark however you need a different capture filter for NCP!

If you want to know if there will be the same network load after you migrated the server from NCP to SMB. Well, that's a good question. I can't tell you and I don't know a direct comparison of the two protocols regarding performance/bandwidth (which means nothing ;-))

(16 Jun '12, 07:36) Kurt Knochner ♦

But one of the remote location admin want a capture without "noise" (broadcast and multicast request).

usually netflow/sflow (whatever your switch/router supports) would help to separate protocols (using PRTG as a flow collector). However, that (possibly) won't work with NCP.

BTW: Are you using IPX or IP?

(16 Jun '12, 07:47) Kurt Knochner ♦

Regarding the bandwitdh/performance comparison of NCP versus SMB. Maybe you can test yourself. Download a set of identical files with both protocols and compare the results in wireshark. You should at least download 3-5 large files (> 10-20 MByte) and a set of small files (50 x 10-20 Kbyte) to get an idea how both protocols work in different scenarios.

(16 Jun '12, 08:21) Kurt Knochner ♦

We using IP.

(18 Jun '12, 06:45) JimToupet

In that case, you should consider Netflows. Much easier than any analysis with wireshark!

(18 Jun '12, 07:20) Kurt Knochner ♦
showing 5 of 6 show 1 more comments

I wouldn't use wireshark for this task. I would use SNMP to read the port statistics of the switch to which the fileserver is connected (or read the WMI stats from the server itself through SNMP).

One nice little SNMP tool is STG (freeware)

UPDATE: I totally forgot to mention the blogpost I wrote a while ago on how to use STG.

permanent link

answered 16 Jun '12, 04:51

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

edited 16 Jun '12, 04:53

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 15 Jun '12, 12:31

question was seen: 8,853 times

last updated: 18 Jun '12, 07:25

p​o​w​e​r​e​d by O​S​Q​A