In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail how to obtain the running status of the docker container on each node. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Get the running status of the docker container on each node
Output once per second
Docker stats $(docker ps | awk'{if (NR > 1) print $NF}') CONTAINER CPU% MEM USAGE / LIMIT MEM% NET BLOCK O PIDSk8s_parse_parse-deployment-69f5bd8f46-56mlp_pro_3243b353-fde7-11e8-9d61-00163e118486_30 8.08% 73.51MiB / 200MiB 36.76% 0B / 0B 8.06MB / 0B 32k8s_web_web-deployment-74946bb4f6-r8scz_fintest_18d04e05-09af-11e9-9d61-00163e118486_1 4.68% 183.6MiB / 200MiB 91.80% 0B / 0B 17MB / 0B 6k8s_POD_web-deployment-74946bb4f6-r8scz_fintest_18d04e05-09af-11e9-9d61-00163e118486_0
Output only once
Docker stats-- no-stream $(docker ps | awk'{if (NR > 1) print $NF}') so much about how to obtain the running status of the docker container on each node. I hope the above content can be helpful to you and you can learn more. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.