linux cpu intr s,Linux CPU实时监控命令mpstat介绍
[root@ora10g ~]# mpstat -P ALL 2 5
4,字段含义如下
英文解释:
CPU:Processor number. The keyword all indicates that statistics are calculated as averages among all processors.
%user:Show the percentage of CPU utilization that occurred while executing at the user level (application).
%nice:Show the percentage of CPU utilization that occurred while executing at the user level with nice priority.
%sys:Show the percentage of CPU utilization that occurred while executing at the system level (kernel). Note that
this does not include time spent servicing interrupts or softirqs.
%iowait:Show the percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.
%irq:Show the percentage of time spent by the CPU or CPUs to service interrupts.
%soft:Show the percentage of time spent by the CPU or CPUs to service softirqs. A softirq (software interrupt) is
one of up to 32 enumerated software interrupts which can run on multiple CPUs at once.
%steal:Show the percentage of time spent in involuntary wait by the virtual CPU or CPUs while the hypervisor was ser-vicing another virtual processor.
%idle:Show the percentage of time that the CPU or CPUs were idle and the system did not have an outstanding disk I/O request.
intr/s:Show the total number of interrupts received per second by the CPU or CPUs.
参数解释 从/proc/stat获得数据
CPU 处理器 ID
user 在internal时间段里,用户态的CPU时间(%),不包含 nice值为负 进程 (usr/total)*100
nice 在internal时间段里,nice值为负进程的CPU时间(%) (nice/total)*100
system 在internal时间段里,核心时间(%) (system/total)*100
iowait 在internal时间段里,硬盘IO等待时间(%) (iowait/total)*100
irq 在internal时间段里,硬中断时间(%) (irq/total)*100
soft 在internal时间段里,软中断时间(%) (softirq/total)*100
idle 在internal时间段里,CPU除去等待磁盘IO操作外的因为任何原因而空闲的时间闲置时间(%)(idle/total)*100
intr/s 在internal时间段里,每秒CPU接收的中断的次数intr/total)*100
CPU总的工作时间=total_cur=user+system+nice+idle+iowait+irq+softirq
total_pre=pre_user+ pre_system+ pre_nice+ pre_idle+ pre_iowait+ pre_irq+ pre_softirq
user=user_cur – user_pre
total=total_cur-total_pre
其中_cur 表示当前值,_pre表示interval时间前的值。上表中的所有值可取到两位小数点。
linux cpu intr s,Linux CPU实时监控命令mpstat介绍相关推荐
- 在 Linux/UNIX 终端下使用 nload 实时监控网络流量和带宽使用
摘要:如果你想在命令行界面监控网络吞吐量,nload应用程序是个不错的选择.它是一个实时监控网络流量和带宽使用的控制台应用程序,使用两个图表可视化地展示接收和发送的流量,并提供诸如数据交换总量.最小/ ...
- Linux:查看网络信息和网络监控命令。
ifconfig 该命令用于查看机器挂载的网卡情况. 使用方式 ifconfig -a 命令输出 可见机器有两个网卡,一个时eth0,另一个是本地回环虚拟网卡. 另外,iproute2软件包含一个强大 ...
- linux脚本实时监控,linux实时监控命令
1.查看磁盘IO iostat -x 1 10 查看设备使用率(%util).响应时间(await) avg-cpu: %user %nice %system %iowait %steal ...
- linux 系统 指令lis,常用Linxu系统监控命令
) 树状线程图 5.top -Hp pid 实时的跟踪并获取指定进程中最耗cpu的线程 三.定位I/O瓶颈 1.mpstat -P ALL 1 1000 [bppf_bgw@devappdb001 / ...
- Linux下实用的JAVA内存泄露监控命令及工具
2019独角兽企业重金招聘Python工程师标准>>> 一.Linux 命令 1.jstack (linux下特有) 可以观察到jvm中当前所有线程的运行情况和线程当前状态 jsta ...
- java 内存泄露监控,Linux下实用的JAVA内存泄露监控命令
内存泄露一直是比较头疼的事情,下面三个命令我个人觉得相当有用. 1.jstack (linux下特有) 可以观察到jvm中当前所有线程的运行情况和线程当前状态 jstack 2083 输出内容如下: ...
- Linux系统管理(9)——系统状态监控命令top使用详解
一个服务器运维管理员,每天早上到公司第一件事 就是端着一杯咖啡 连上服务器,输入top命令 看着满屏幕系统运行参数状态,一股朕日理万机的感觉油然而生 [root@localhost ~]#top [参 ...
- Linux中常用的tar解压打包命令语法介绍
常用的tar解压打包命令语法介绍 1.命令格式 2.命令功能 3.命令参数 4.常见解压/压缩命令 5.使用实例 1.命令格式 tar[必要参数][选择参数][文件] 2.命令功能 用来压缩和解压文件 ...
- Linux实时监控日志文件的swatchdog
1. 前言 本教程主要讲解在Linux系统中如何使用swatchdog实时监控日志文件的变化. swatchdog(Simple WATCH DOG)是一个简单的Perl脚本,用于监视类Unix系统( ...
最新文章
- 人工智能帮助预测混合用药的副作用
- Progressbar 实现从右向左 加载(逆向)
- ctf-cybrics
- 详解X-shell7的安装与配置
- OpenGL着色器将纹理应用于全屏四边形
- 5分钟让你了解 ZooKeeper 的功能和原理
- 京东php asp,jd jd demo 关于php的代码里面是 一些京东的接口 包含了 重要 WEB(ASP,PHP,...) 238万源代码下载- www.pudn.com...
- mysql 表分区优缺点_Mysql分区表局限性总结
- android复杂列表滑动卡顿,Android 列表滑动性能优化总结
- 华为交换机查看发光收光
- 向工程腐化开炮|动态链接库so治理
- 密码学与加密算法详解
- 电脑录音软件哪个比较专业
- 阿里云视频服务之点播服务
- Linux下Oracle移植数据
- 常见网络设备分类和工作分层
- MIoU(均交并比)的计算
- 【C++】-- AVL树详解
- 1.python真的是万恶之源么?(初识python)
- Android Studio-开发少年强国App(三)网格列表 0. 需求分享
热门文章
- 乐视回应法拉第未来工厂停产:资金已到位,从未停工
- Redis为何那么快-----底层原理浅析
- Java学习笔记(视频:韩顺平老师)4.0
- 《UnityAPI.Gyroscope陀螺仪》(Yanlz+Unity+SteamVR+云技术+5G+AI+VR云游戏+Unity+Gyroscope+rotationRate+立钻哥哥++OK++)
- html5 图片抽奖代码,html5实现九宫格抽奖可固定抽中某项奖品
- 二维码 生成工具类(文件转Base64字符串,Base64字符串转文件)
- 大数据采集的流程是什么,主要分为哪几步?
- 关于波兰式、逆波兰式
- 【Vue基础】什么是跨域?如何解决跨域问题?浅浅了解一下什么是登录鉴权
- HTMLCSS相关面试题