VNDSTAT(1M) Maintenance Commands VNDSTAT(1M)


NAME


vndstat - report vnd activity


SYNOPSIS


vndstat [interval [count]]


DESCRIPTION


The vndstat command reports a summary of per-device vnd activity. Once
per interval it prints a table of statistics per device. In the global
zone, vndstat reports on all devices in the system. From the non-global
zone, it only reports on devices that are present in that zone. vndstat
reports on all vnd devices that exist, including anonymous devices which
are not linked into the file system.


The vndstat command's output includes the following information:

name
The name of the device, if bound. If a given vnd device is
not bound into the file system, hence considered anonymous,
then there will be no name for the device.


rx B/s
The number of bytes received by the device during interval.


tx B/s
The number of bytes transmitted by the device during
interval.


drops
The number of packets and messages which have been dropped.
This includes all drops due to insufficient buffer space,
IP hooks, and unknown or malformed DLPI messages.


txfc
The number of flow control events that have occurred. A
flow control event occurs when the layers below vnd request
that all transmits be paused until a future call resumes
the flow. This statistic is incremented when the flow is
resumed. It is not incremented when it is first paused.


zone
The name of the zone the device is located in.


OPTIONS


interval
Report once each interval seconds. interval may not be
fractional.


count
Only print count reports, then exit.


When no arguments are given to vndstat, it will always print at an
interval of one second. Reports will continue until vndstat is
terminated.


EXAMPLES


Example 1 Print five seconds of data


example% vndstat 1 5
name | rx B/s | tx B/s | drops txfc | zone
net0 | 1.45MB/s | 14.1KB/s | 0 0 | 1b7155a4-aef9-e7f0-d33c-9705e4b8b525
net0 | 3.50MB/s | 19.5KB/s | 0 0 | 1b7155a4-aef9-e7f0-d33c-9705e4b8b525
net0 | 2.83MB/s | 30.8KB/s | 0 0 | 1b7155a4-aef9-e7f0-d33c-9705e4b8b525
net0 | 3.08MB/s | 30.6KB/s | 0 0 | 1b7155a4-aef9-e7f0-d33c-9705e4b8b525
net0 | 3.21MB/s | 30.6KB/s | 0 0 | 1b7155a4-aef9-e7f0-d33c-9705e4b8b525


ATTRIBUTES


See attributes(5) for descriptions of the following attributes:


+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | See below. |
+--------------------+-----------------+


Invocation is evolving. Human readable output is unstable.

SEE ALSO


dlstat(1M), nicstat(1M), vndadm(1M), vnd(7M)


March 6, 2014 VNDSTAT(1M)