VMware Cloud Community
adotan
Enthusiast
Enthusiast
Jump to solution

finding Network statistics when logged in ssh on my ESXI Mng network interface

Hi,

I would like to see some statistics on my ESXi Manamgnet port.

I want to see if I have network errors, Discarding etc.

I'm not sure how to do it when I logged in to the Managment with SSH CLi

please help.

Thanks!

Dotan.

Tags (3)
Reply
0 Kudos
1 Solution

Accepted Solutions
zXi_Gamer
Virtuoso
Virtuoso
Jump to solution

My sincere apologies. I tried out in a 5.1 environment where the namespace is there. Also, in 5.0, I tested out

ethtool -S vmnic0  to be giving similar data.


View solution in original post

Reply
0 Kudos
7 Replies
vmroyale
Immortal
Immortal
Jump to solution

Use the esxtop command and then the n and v keys. The q key will exit esxtop, when you are finished.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
lamw
Community Manager
Community Manager
Jump to solution

In addition to ESXTOP, you can view additional stats using ESXCLI. Take a look at this blog article for more details http://blogs.vmware.com/vsphere/2013/01/network-troubleshooting-using-esxcli-5-1.html

adotan
Enthusiast
Enthusiast
Jump to solution

Hi,

I need something like in the link below:

http://blogs.vmware.com/vsphere/files/2013/01/net-stats-2.png

but for ESXI 5.0

Thanks!

Dotan.

Reply
0 Kudos
zXi_Gamer
Virtuoso
Virtuoso
Jump to solution

Hmmm..

you can still use esxcli network nic stats get -n vmnic0 and get the same output from the command prompt in ssh of your ESXi.

Also, in case, you are MORE interested in more details, you can also do

vsish -e get /net/pNics/vmnic4/stats

Again, do try to use vsish only if you know what you are doing. It is only for troubleshooting

Reply
0 Kudos
adotan
Enthusiast
Enthusiast
Jump to solution

Hi,

Thanks a lot for your answer!!

vsish -e get /net/pNics/vmnic0/stats - works great!!!!

when I typied "esxcli network nic stats get -n vmnic0"

I get "Error: Unknown command or namespace network nic stats get"  (ESXI 5.0)

but I think I'm good.

Thanks again!!

Dotan.

Reply
0 Kudos
zXi_Gamer
Virtuoso
Virtuoso
Jump to solution

My sincere apologies. I tried out in a 5.1 environment where the namespace is there. Also, in 5.0, I tested out

ethtool -S vmnic0  to be giving similar data.


Reply
0 Kudos
adotan
Enthusiast
Enthusiast
Jump to solution

Briliant!!

Thank you!!

Reply
0 Kudos