Solved

Linux, dstat question

Posted on 2014-01-23
1
511 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

832 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