Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

​ performance monitoring tools collection

2025-03-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Collection of performance monitoring tools

Performance Monitoring tool set (vmstat,dstat,htop,top,iotop,sar,iostat,iftop,netlog,glances,lm_sersors)

I. vmstat

Vmstat Virtual memory tool

Vmstat refresh time refresh times

Procs: process

R: the number of processes waiting to run and the length of tasks waiting to run on the CPU.

B: the number of processes in uninterruptible sleep, the length of blocked queues

Memory:

Swpd: total swap memory usage

Free: free physical memory

Buffer: total memory for buffer

Cache: for total memory in cache

Swap:

Si: the rate at which data enters the swap kb/s

So: the speed at which data leaves the swap kb/s

Io

The speed at which bi reads data from the block device to the system kb/s

Speed at which bo saves data to block devices kb/s

System

In: interrupt rate

Cs: Inter-process switching rate, context switching

Cpu

Us

Sy

Id

Wa

St

Option

-s: memory statistics

-d hard disk information

-n displays header information only once

-S k | m | g specify unit size

II. Dstat

Dstat very exquisite system viewing tool, very powerful, so powerful that there are no friends.

Dstat refresh time refresh times

Option

-c display information related to cpu

-d display data related to the hard disk

-g memory page data

-m memory related data

-n network card related data

-p is related to the process

-r shows IO correlation

-s shows swap correlation

-- tcp

-- udp

-- raw

-- socket

-- ipc

-- top-cpu

-- top-io

-- top-mem

-- top-lantency

III. Htop,top

IV. Iotop

-o: only processes with io operations are displayed

-b: batch display, no interaction, mainly used to record to files.

-n NUM: displays NUM times, mainly for non-interactive mode.

-d SEC: displays every SEC second.

Commonly used: iotop-b-o-n 3-k

5. Ifstat,iftop

VI. Glances,lm_sensors

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report