-
Notifications
You must be signed in to change notification settings - Fork 330
dstat showing incorrect tcp active sockt count? #92
Comments
Btw, noticed one thing. Proc file /proc/net/tcp used by dstat doesn't have this information. That means there is no issue in dstat code. But the real issue is with data available in /proc/net/tcp. I checked if other tools have this issue - Whats missing here? Is /proc/net/tcp right choice to look for this data? |
I've noticed the same problem. And changing tab width for |
Is the solution just to display those numbers in decimal format? 1.2k connections? |
I thought that the best solution would be to add one more app launch argument, something like --raw. Thank you! |
@kkalinin You get the raw numbers in CSV output. We cannot print raw numbers to the screen since it messes up the whole formatting to the point it is rendered useless. (That's the problem with e.g. vmstat) Currently one can already add |
I see what you mean now. Dstat did not show any unit numbers, and only reserved 3 columns in total for most connection stats. Should be fixed now ! |
BTW Option |
Want to know how did you resolve this problem? |
@superheizai It is fixed in the master branch. The fix is included in commit 4c47a34 |
Hi,
I am trying to use dstat to measure network numbers (bandwidth usage as well as sockets) while I run some performance tests using wrk. But I feel something is not right ..
Here is the output of dstat
See how 'act' connections grow to 804 and immediately reduce to 1 even if my wrk bench mark is running for next 20seconds with 1000 connections to this server. Wrk doesn't show any errors. So the code under test is working fine.
Whats happening here?
Btw, I am running dstat on Ubuntu box with this -
Dstat 0.7.2
Linux jupitor 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Thanks,
Siddharth
The text was updated successfully, but these errors were encountered: