Solved

Linux, dstat question

Posted on 2014-01-23
1
528 Views
Last Modified: 2014-01-23
My network utilizations scripts are not working properly on my SR-IOV cards, so I have to use dstat util I can figure out why.

In Linux, using dstat, I see the following

----total-cpu-usage---- -net/total- sda-
usr sys idl wai hiq siq| recv  send|util

 93   3   2   0   0   2|  31M   30M|   0
 95   3   0   0   0   2|  30M   30M|   0
 95   3   0   0   0   2|  32M   30M|0.04
 95   3   0   0   0   2|  31M   30M|   0
 95   3   0   0   0   2|  30M   30M|0.02

I am assuming that this means the NIC is btoh sending and receiving 30 M of BYTES, as opposed to bits.

Is this correct ?

Also, can I assume that this is roughly 2.5 percent utilization of a 10Gb NIC ?

Is the 2.5 percent util also correct ?

Open in new window


Thanks
0
Comment
Question by:Los Angeles1
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 39804522
The changelog of dstat says for version 0.3:
Converted all values to bytes
See line 376 of this document which is Dag Wieers' "dstat" changelog:

https://github.com/dagwieers/dstat/blob/master/ChangeLog

The same changelog introduces a new  
--bits option to force bit-values on screen
for version 0.7.2svn, see line 5 of the document above.

So when M indicates Megabytes your assumption of ~ 2.5% utilization is - roughly - correct.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question