diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-05-30 18:40:37 +0200 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-05-31 15:31:07 +0200 |
commit | 16e8b2f32ecc0dd071a9303159d5ff8d86e7279f (patch) | |
tree | 11aac0d37e7b472257394895becfa4a30bcfc6f0 /cmd | |
parent | a550af260a536aeaa35e4b8810971748a6f16f5f (diff) | |
download | podman-16e8b2f32ecc0dd071a9303159d5ff8d86e7279f.tar.gz podman-16e8b2f32ecc0dd071a9303159d5ff8d86e7279f.tar.bz2 podman-16e8b2f32ecc0dd071a9303159d5ff8d86e7279f.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