开发者

How to convert netstat -in output on Sunos

On Sunos netstat -in gives me below output.

Name  Mtu  Net/Dest      Address        Ipkts  Ierrs Opkts  Oerrs Collis Queue 
lo0   832 127.0.0.0     127.0.0.开发者_开发技巧1      20026 0     20026 0     0      0     
nxge0 100 192.168.0.0  192.168.0.31 40957 0     465768 0     0      0

Is it possible to change the input/output values to volume i.e. in KB, etc. OR Please advise if there is any other way to find how much data (in Kb or Mb) transmitted from my NIC.


You can get these values on Solaris by using kstat.

eg:

kstat -c net -n nxge0 | grep bytes64

PS: There's nothing in /proc which isn't process related, unlike Linux.


You can't get that info from netstat, but there's probably something in the /proc filesystem that will give the statistics.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜