当前位置: 首页 > news >正文

Linux CPU 数据 Metrics 指标解读

过去从未仔细了解过使用 tophtop 等命令时显式的CPU信息,本文我们详解解读和标注一下各个数据项的含义,同时和 Ganglia 显式的数据做一个映射。开始前介绍一个小知识,很多查看CPU的命令行工具都是 cat /proc/stat 里的数据,所以数据来源都是一样的,区别只在于显式格式,用户体验上。本文我们以 mpstatuptime 命令为主,最后介绍一下 tophtop 的一些细微差异。

一般来说,CPU 的性能会分成两个维度来看,一个是:利用率,另一个是:(1/5/15分钟的)平均负载,这两种指标是不同的 (具体内容,年后补啦!收工了!今年肝稿 108 篇!累死~)

在这里插入图片描述

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

%user: Percentage of CPU utilization that occurred while executing at the user level (application).
%nice: Percentage of CPU utilization that occurred while executing at the user level with nice priority.
%system: Percentage of CPU utilization that occurred while executing at the system level (kernel).
%iowait: Percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.
%idle: Percentage of time that the CPU or CPUs were idle and the system did not have an outstanding disk I/O request.

%usr – % CPU usage at the user level
%nice – % CPU usage for user processes labeled “nice”
%sys – % CPU usage at the system (Linux kernel) level
%iowait – % CPU usage idling waiting on a disk read/write
%irq – % CPU usage handling hardware interrupts
%soft – % CPU usage handing software interrupts
%steal – % CPU usage being forced to wait for a hypervisor handling other virtual processors
%guest – % CPU usage spent running a virtual processor
%idle – % CPU usage on idle time (no processes, and not waiting on a disk read/write)

http://www.lryc.cn/news/271571.html

相关文章:

  • Ansible自动化运维(一)简介及部署、清单
  • 深度学习MLP_实战演练使用感知机用于感情识别_keras
  • [ffmpeg系列 02] 音视频基本知识
  • 【ASP.NET Core 基础知识】--目录
  • java数据结构与算法刷题-----LeetCode509. 斐波那契数
  • vue3 element plus el-table封装(二)
  • cnn lstm结合网络
  • Ubuntu连接xshell
  • nginx安装和配置
  • 【头歌实训】kafka-入门篇
  • 华为云创新中心,引领浙南的数字化腾飞
  • 240101-5步MacOS自带软件无损快速导出iPhone照片
  • github鉴权失败
  • 2023湾区产城创新大会:培育数字化供应链金融新时代
  • 多维时序 | MATLAB实现SSA-GRU麻雀算法优化门控循环单元多变量时间序列预测
  • 二叉树的前序遍历 、二叉树的最大深度、平衡二叉树、二叉树遍历(leetcode)
  • SQL之CASE WHEN用法详解
  • Ubuntu 18.04搭建RISCV和QEMU环境
  • 立足兴趣社交赛道,Soul创新在线社交元宇宙新玩法
  • Couchdb 任意命令执行漏洞(CVE-2017-12636)
  • VectorWorks各版本安装指南
  • 【MySQL】数据库中为什么使用B+树不用B树
  • 微信小程序发送模板消息-详解【有图】
  • Easy Rules规则引擎实战
  • 听GPT 讲Rust源代码--library/alloc(2)
  • OSG读取和添加节点学习
  • 计算机网络技术--念念
  • C#_var
  • Linux---进程控制
  • Java注解学习,一文掌握@Autowired 和 @Resource 注解区别