0
点赞
收藏
分享

微信扫一扫

Linux系统监控

一、Linux系统监控

  一、Linux常用的性能指标

  1、Linux常用的17个性能指标

1、Average load:Average number of processes simultaneously in Ready state during the last minute.
上一分钟同时处于“就绪”状态的平均进程数
2、Collision rate:Collisions per second detected on the Ethernet.
每秒钟在以太网上检测到的冲突数。
3、Context switches rate:Number of switches between processes or threads, per second
每秒钟在进程或线程之间的切换次数。
4、CPU utilization:Percent of time that the CPU is utilized
CPU 的使用时间百分比。
5、Disk Traffic:Rate of disk transfers
磁盘传输速率。
6、Incoming packets error rate:Errors per second while receiving Ethernet packets
接收以太网数据包时每秒钟接收到的错误数。
7、Incoming packets rate:Incoming Ethernet packets per second
每秒钟传入的以太网数据包数。
8、Interrupt rate:Number of device interrupts per second
每秒内的设备中断数。
9、Outgoing packets errors rate:Errors per second while sending Ethernet packets
发送以太网数据包时每秒钟发送的错误数。
10、Outgoing packets rate:Outgoing Ethernet packets per second
每秒钟传出的以太网数据包数。
11、Page-in rate:Number of pages read to physical memory, per second
指标表明的是每秒交换到物理内存中的页面数。
12、Page-out rate:Number of pages written to pagefile(s) and removed from physical memory, per second
表示每秒从物理内存中移出或者写入到页面数。
13、Paging rate:Number of pages read to physical memory or written to pagefile(s), per second
每秒钟读入物理内存或写入页面文件中的页数。
14、Swap-in rate:Number of processes being swapped
每秒交换到内存的进程数。
15、Swap-out rate:Number of processes being swapped
每秒从内存交换出来的进程数。
16、System mode CPU utilization:Percent of time that the CPU is utilized in system mode
在系统模式下使用 CPU 的时间百分比。
17、User mode CPU utilization:Percent of time CPU is utilized in user mode
在用户模式下使用 CPU 的时间百分比。

  2、Linux系统监控命令

  ​​https://mp.weixin.qq.com/s?__biz=MzA3OTgyMDcwNg==&mid=2650636974&idx=1&sn=0d837513881423db36afff1b10abf916&chksm=87a48063b0d309750f234dda2a8260a7b521d2207c64a9e891312ac8d4c7e6bb1b5a6220b851&scene=0&xtrack=1&key=4412de0a725b1dc90f20247569a7add70bdfca49d1f2f38d3db86830633e3fae80aa612e0ad8f0b226a74f02e80ee8d75a1da8ce21a07c041928bf36584dbcd861378ead546642366dd22e66092983cc&ascene=14&uin=MjcyNjM5NjY0MA%3D%3D&devicetype=Windows+10&version=62060833&lang=zh_CN&pass_ticket=4XDmk2fqTjAKLof2vZIJ18CrJm7Ql3K5D7yuYGzMC4%2B%2BS5g1eQJu9mpgBD2G2%2F5Y​​

  二、CPU

  1、CPU上下文切换

  2、CPU中断

    1、中断实现的基本原理
    2、性能分析

  3、限制CPU的使用

  ​​https://www.howtoing.com/limit-cpu-usage-of-a-process-in-linux-with-cpulimit-tool​​

 

  三、disk

  1、iostat性能指标

  四、Linux系统瓶颈阈值分析

  五、Linu性能指标

1 CPU利用率:us <= 70,sy <= 35,us + sy <= 70。
2 可用内存/物理内存 >= 30%
3 Use% <= 90%

 



举报

相关推荐

0 条评论