我在Centos上使用Dstat来监视传入networking,它只显示数字,而不是我在其他人Dstats上看到的B / Mb,我如何使它显示单位? 当前Dstat的示例:
[root@vps ~]# dstat -n --socket --integer -net/total- ------sockets------ recv send|tot tcp udp raw frg 0 0 |192 23 2 0 117 18M 592k|192 23 2 0 136 18M 598k|192 23 2 0 116 19M 601k|192 23 2 0 132 19M 596k|192 23 2 0 141 20M 599k|192 23 2 0 117 20M 594k|192 23 2 0 118
是不是显示sockets行中的单位?
这是因为“sockets”的数据是计数器,而不是单位。 他们正在计算套接字,而不是networkingstream量。 单位可能是指标,所以如果你超过了1024,你可能会看到1K。