vznetstat(8)
| vznetstat(8) | System Manager's Manual | vznetstat(8) |
NAME
vznetstat - display network traffic statistics per CT.
SYNOPSIS
vznetstat [-4|-6] [-v ctid] [-c class] [-a] [-r] [-h]
DESCRIPTION
The utility displays incoming and outcoming traffic for Containers for each defined network class. The output is grouped by CT ID. The network classes are described in the /etc/vz/conf/networks_classes file. If no options are specified the network statistics for all running Containers is printed.
Note that for the CT ID of 0, the traffic of the HS (the host server itself) is shown. The figures for HS does not include CT traffic.
OPTIONS
- -v ctid
- Display statistics only for the CTs with the given ctid.
- -c class
- Display statistics only for the given network class.
- -a
- Display all classes (16).
- -r
- Round off the statistics figures from bytes to K(b), M(b) or G(b).
- -h
- Print short usage information.
- -4
- Display ipv4 statistics.
- -6
- Display ipv6 statistics.
RETURN CODE
Returns 0 upon success.
EXAMPLES
To display statistics for all CTs:
vznetstat
To display statistics for CTs 101 and 102 for network classes 1 and 2:
vznetstat -v 101 -v 102 -c 1 -c 2
SEE ALSO
COPYRIGHT
Copyright (c) 1999-2017, Parallels International GmbH. All rights reserved. Copyright (c) 2017-2019 Virtuozzo International GmbH. All rights reserved.
| October 2009 | OpenVZ |
