Solved

Linux, dstat question

Posted on 2014-01-23
1
543 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: 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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

705 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