vznetstat

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
RETURN CODE
EXAMPLES
SEE ALSO
COPYRIGHT

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/sysconfig/vz-scripts/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

networks_classes(5).

COPYRIGHT

Copyright (c) 1999-2015 Parallels IP Holdings GmbH. All rights reserved.