diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-05-30 18:40:37 +0200 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-06-14 16:12:10 -0400 |
commit | 74056bdfc24f83843efce276a61c871dff4b6bba (patch) | |
tree | 54e1f5ef6145248ee44e65b58b77d134f40433fe /cmd | |
parent | e23dd66fa9cedc8f4cc35aeedfa74194b19e9c5b (diff) | |
download | podman-74056bdfc24f83843efce276a61c871dff4b6bba.tar.gz podman-74056bdfc24f83843efce276a61c871dff4b6bba.tar.bz2 podman-74056bdfc24f83843efce276a61c871dff4b6bba.zip |
podman stats: work with network connect/disconnect
Hardcoding the interface name is a bad idea. We have no control over the
actual interface name since the user can change it.
The correct thing is to read them from the network status. Since the
contianer can have more than one interface we have to add the RX/TX
values. The other values are currently not used.
For podman 5.0 we should change it so that the API can return the
statistics per interface and the client should sum the TX/RX for the
command output. This is what docker is doing.
Fixes #13824
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions