In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to use the Linux dstat command". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to use the Linux dstat command.
Linux common command dstat is a more comprehensive performance monitoring tool, which is a sharp tool to troubleshoot server load anomalies.
Installation of dstat the installation of dstat is introduced here in three ways
Install using the "green version"
Wget http://dstat.sourcearchive.com/downloads/0.7.0/dstat_0.7.0.orig.tar.gz tar-xvzf dstat_0.7.0.orig.tar.gz cd dstat-0.7.0.orig/ # can be installed using dstat. / dstat- V using rpm in the following ways
Wget http://mirror.centos.org/centos/6/os/i386/Packages/dstat-0.7.0-2.el6.noarch.rpm rpm-ivh dstat-0.7.0-2.el6.noarch.rpm # can directly call dstat in the system to install dstat- V using yum
The parameters supported by yum install dstatdstat using the dstat command will not be discussed here. Here are two parameters that are commonly used by individuals.
Dstat-tcdrlmn-top-cpu-top=mem # View time, CPU, disk read and write, IO, load, memory, network, highest CPU footprint and highest memory footprint
-system---- total-cpu-usage-----dsk/total- io/total- load-avg----memory-usage--net/total--most-expensive- most-expensive- date/time | usr sys idl wai hiq siq | read writ | read writ | 1m 5m 15m | used buff cach free | recv send | cpu process | memory process 19-11 21:49 : 25 | 00 1000 | 1055B 1810B | 0.020.07 | 0.020.01 0 | 236m 131M 2961M 4527m | 00 | kipmi0 0.0 | sshd: root@p4488k 19-11 21:49:26 | 00 10000 | 00 | 0.020.01 0 | 236M 131M 2961m 4527m | 398B 1532B | sshd: root@p4488k 19-11 21:49:27 | 00 100000 0 | 00 | 0.020.01 0 | 236m 131m 2961M 4527m | 352B 542B | | sshd: root@p4488k 19-11 21:49:28 | 00 10000 | 00 | 00 | 0.020.01 0 | 236m 131m 2961m 4527m | 850B 542B | | sshd: root@p4488k 19-11 21:49:29 | 00 1000 | 00 | | 0 | 0.020.01 0 | 236m 131m 2961m 4527m | 256B 542B | | sshd: root@p4488kdstat-cl-C 0L1 2, top-cpu 3, 4, 5, 6, 7, 7-see 8 cores Usage of each core and CPU usage
-cpu0-usage-cpu1-usage-cpu2-usage-cpu3-usage-cpu4-usage-cpu5-usage-cpu6-usage- -cpu7-usage- load-avg----most-expensive- usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq:usr sys idl wai hiq siq | 1m 5m 15m | cpu process 00 10000 0: 00 100000: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 0 | 0.07 0.020 | kipmi0 0.0 00 100 00 0: 00 100 00 0: 0 1 99 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 0 | 0.07 0.020 | 00 100 00 0: 00 100 00 0: 1 1 98 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 00 0: 00 100 00 | 0.07 0.020 | kipmi0 0.10 1 99 00 0: 00 100 00 0: 20 98 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 0 | 0.07 0.020 | events/3 0.10 00 100 00 0: 00 100 00 0: 1 1 98 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0 | 0.07 0.02 0 | 00 100 00 0: 00 100 00 0: 10 99 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 00 0: 00 100 0 00: 00 100 000 0 | 0.07 0.020 | kipmi0 0.1 to this point I believe you have a deeper understanding of "how to use the Linux dstat command", so you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.