In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about using the lnstat command in linux to display the network status of the Linux system. 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.
The lnstat command actually reads the file under the directory "/ proc/net/stat" on the system "/ proc" to show the network status of the current host. The lnstat command is an updated alternative to the rtstat command, which is more functional.
Syntax format: lnstat [parameters]
Common parameters:
-c specifies the number of times the network status is displayed, network status is displayed at regular intervals-d displays available files or keywords-I specifies the number of seconds between which to display the network shape-k displays only the given keyword-s displays the title header-w specifies the width of each field-h displays help information-v displays instruction version information
Reference example
Displays the network status:
[root@linuxcool ~] # lnstat
Displays the statistics files supported by the command:
[root@linuxcool ~] # lnstat-d
Filter out the key field information you only want to view:
[root@linuxcool ~] # lnstat-k arp_cache:entries,rt_cache:in_hit,arp_cache:destroysarp_cach | rt_cache | arp_cach | entries | in_hit | destroys | 6 | 0 | 2 | enough about using the lnstat command in linux to display the network status of the Linux system. I hope the above content can be helpful to you and 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.