[Users] About vznetstat output
Vasiliy Averin
vvs at virtuozzo.com
Mon Dec 23 11:50:21 MSK 2019
Dear Paulo
On 12/18/19 5:36 AM, Paulo Coghi - Coghi IT wrote:
> I would like to know, on the *vznetstat* command, if the Input and
> Output columns (both bytes and packages) refer to the lifetime of the
> container or to the last X days of traffic.
According to sources vznetstat request this statistic from kernel
https://src.openvz.org/projects/OVZ/repos/vzctl/browse/src/vznetstat.c#287
https://src.openvz.org/projects/OVZ/repos/vzctl/browse/src/tc.c#120
They refers to containers lifetime, they should be resetted after stop of container.
Thank you,
Vasily Averin
More information about the Users
mailing list