Solved

Linux, dstat question

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choosing CentOS 16 107
open source backup solution 1 36
awk variable in printf 1 33
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 47
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

840 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