简体   繁体   中英

Can anyone explain me the difference between NET I/O vs BLOCK I/O in docker stats?

I am getting the following stats for my redis while running docker stats command.

码头工人统计输出

I want to know about NET I/O and BLOCK I/O. I read few documentation they are saying about BLOCK I/O is something related to disk operation. But I am not sure what is this NET I/O. Can anyone help me here to know about these?

Block I/O stats : The amount of data the container has read to and written from block devices on the host. In other words the amount of Bytes written/read from your container to the disk.

Network I/O stats : The amount of data the container has sent and received over its network interface. Displays total bytes received (RX) and transmitted (TX). In other words the amount of Bytes your container had sent/received over the network.

Also the official doc .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM