- 浏览: 1445229 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (691)
- linux (207)
- shell (33)
- java (42)
- 其他 (22)
- javascript (33)
- cloud (16)
- python (33)
- c (48)
- sql (12)
- 工具 (6)
- 缓存 (16)
- ubuntu (7)
- perl (3)
- lua (2)
- 超级有用 (2)
- 服务器 (2)
- mac (22)
- nginx (34)
- php (2)
- 内核 (2)
- gdb (13)
- ICTCLAS (2)
- mac android (0)
- unix (1)
- android (1)
- vim (1)
- epoll (1)
- ios (21)
- mysql (3)
- systemtap (1)
- 算法 (2)
- 汇编 (2)
- arm (3)
- 我的数据结构 (8)
- websocket (12)
- hadoop (5)
- thrift (2)
- hbase (1)
- graphviz (1)
- redis (1)
- raspberry (2)
- qemu (31)
- opencv (4)
- socket (1)
- opengl (1)
- ibeacons (1)
- emacs (6)
- openstack (24)
- docker (1)
- webrtc (11)
- angularjs (2)
- neutron (23)
- jslinux (18)
- 网络 (13)
- tap (9)
- tensorflow (8)
- nlu (4)
- asm.js (5)
- sip (3)
- xl2tp (5)
- conda (1)
- emscripten (6)
- ffmpeg (10)
- srt (1)
- wasm (5)
- bert (3)
- kaldi (4)
- 知识图谱 (1)
最新评论
-
wahahachuang8:
我喜欢代码简洁易读,服务稳定的推送服务,前段时间研究了一下go ...
websocket的helloworld -
q114687576:
http://www.blue-zero.com/WebSoc ...
websocket的helloworld -
zhaoyanzimm:
感谢您的分享,给我提供了很大的帮助,在使用过程中发现了一个问题 ...
nginx的helloworld模块的helloworld -
haoningabc:
leebyte 写道太NB了,期待早日用上Killinux!么 ...
qemu+emacs+gdb调试内核 -
leebyte:
太NB了,期待早日用上Killinux!
qemu+emacs+gdb调试内核
Linux下中断来源可以从 /proc/interrupts 中了解到:
$ cat /proc/interrupts
CPU0 CPU1
0: 247701 250313 IO-APIC-edge timer
1: 501 567 IO-APIC-edge i8042
3: 1 1 IO-APIC-edge
8: 1 0 IO-APIC-edge rtc0
9: 256 240 IO-APIC-fasteoi acpi
12: 1134 1149 IO-APIC-edge i8042
16: 629 554 IO-APIC-fasteoi nvidia
17: 21313 20869 IO-APIC-fasteoi firewire_ohci, eth1
18: 0 0 IO-APIC-fasteoi mmc0
19: 51822 50079 IO-APIC-fasteoi ata_piix, ata_piix
20: 5605 5255 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb6
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb7
22: 33 33 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
45: 337 247 PCI-MSI-edge eth0
46: 441 447 PCI-MSI-edge hda_intel
NMI: 0 0 Non-maskable interrupts
LOC: 169176 174899 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 42289 40236 Rescheduling interrupts
CAL: 154 1076 Function call interrupts
TLB: 5838 5365 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 5 5 Machine check polls
ERR: 1
MIS: 0
软中断可以从/proc/softirqs 了解到:
$ cat /proc/softirqs
CPU0 CPU1
HI: 0 0
TIMER: 160508 1170976
NET_TX: 2 2
NET_RX: 3303 3165
BLOCK: 50964 49198
BLOCK_IOPOLL: 0 0
TASKLET: 24743 24284
SCHED: 39483 41848
HRTIMER: 34 40
RCU: 92193 92592
总的中断次数可以从vmstat或者dstat了解到:
$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 0 44160 327144 876600 0 0 894 584 458 2295 11 5 70 15
top提供了更方便的方式了解,作者Hunz在源码里面写:
It’s quite simple but it does its job.
虽然简单,但是适用:
Ubutun下可以这样安装: apt-get install itop
$ itop
INT NAME RATE MAX
0 [PIC-edge time] 628 Ints/s (max: 628)
1 [PIC-edge i804] 4 Ints/s (max: 4)
17 [PIC-fasteoi fire] 8 Ints/s (max: 22)
19 [PIC-fasteoi ata_] 1 Ints/s (max: 14)
20 [PIC-fasteoi ehci] 25 Ints/s (max: 25)
45 [MSI-edge eth0] 1 Ints/s (max: 1)
他会计算每秒每个中断源中断的次数,看起来比较方便.
$ cat /proc/interrupts
CPU0 CPU1
0: 247701 250313 IO-APIC-edge timer
1: 501 567 IO-APIC-edge i8042
3: 1 1 IO-APIC-edge
8: 1 0 IO-APIC-edge rtc0
9: 256 240 IO-APIC-fasteoi acpi
12: 1134 1149 IO-APIC-edge i8042
16: 629 554 IO-APIC-fasteoi nvidia
17: 21313 20869 IO-APIC-fasteoi firewire_ohci, eth1
18: 0 0 IO-APIC-fasteoi mmc0
19: 51822 50079 IO-APIC-fasteoi ata_piix, ata_piix
20: 5605 5255 IO-APIC-fasteoi ehci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb6
21: 0 0 IO-APIC-fasteoi uhci_hcd:usb4, uhci_hcd:usb7
22: 33 33 IO-APIC-fasteoi ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
45: 337 247 PCI-MSI-edge eth0
46: 441 447 PCI-MSI-edge hda_intel
NMI: 0 0 Non-maskable interrupts
LOC: 169176 174899 Local timer interrupts
SPU: 0 0 Spurious interrupts
PMI: 0 0 Performance monitoring interrupts
PND: 0 0 Performance pending work
RES: 42289 40236 Rescheduling interrupts
CAL: 154 1076 Function call interrupts
TLB: 5838 5365 TLB shootdowns
TRM: 0 0 Thermal event interrupts
THR: 0 0 Threshold APIC interrupts
MCE: 0 0 Machine check exceptions
MCP: 5 5 Machine check polls
ERR: 1
MIS: 0
软中断可以从/proc/softirqs 了解到:
$ cat /proc/softirqs
CPU0 CPU1
HI: 0 0
TIMER: 160508 1170976
NET_TX: 2 2
NET_RX: 3303 3165
BLOCK: 50964 49198
BLOCK_IOPOLL: 0 0
TASKLET: 24743 24284
SCHED: 39483 41848
HRTIMER: 34 40
RCU: 92193 92592
总的中断次数可以从vmstat或者dstat了解到:
$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
3 0 0 44160 327144 876600 0 0 894 584 458 2295 11 5 70 15
top提供了更方便的方式了解,作者Hunz在源码里面写:
It’s quite simple but it does its job.
虽然简单,但是适用:
Ubutun下可以这样安装: apt-get install itop
$ itop
INT NAME RATE MAX
0 [PIC-edge time] 628 Ints/s (max: 628)
1 [PIC-edge i804] 4 Ints/s (max: 4)
17 [PIC-fasteoi fire] 8 Ints/s (max: 22)
19 [PIC-fasteoi ata_] 1 Ints/s (max: 14)
20 [PIC-fasteoi ehci] 25 Ints/s (max: 25)
45 [MSI-edge eth0] 1 Ints/s (max: 1)
他会计算每秒每个中断源中断的次数,看起来比较方便.
发表评论
-
vim复制代码包含注释时格式会乱掉(转)
2013-07-16 10:47 3457乱码问题 一般来说只需要正确设置vim的编码识别序列就很少会遇 ... -
批量替换文件后缀名
2012-10-22 22:49 737for j in *.aga; do echo ` mv $j ... -
路由相关的的一些东西
2012-10-03 11:01 1018熟悉使用ifconfig 会非常方便。 if ... -
ubuntu脚本有区别rename和bash
2012-09-30 11:25 6275在ubuntu上写法有区别 使用 #!/bin/bash代替# ... -
一些常用的shell
2012-08-29 20:37 1078sudo !! 2009-01-26 10:26:48 Use ... -
telnet发邮件
2012-06-26 23:05 1705参考。http://forum.ubuntu.org.cn/v ... -
vim折叠和vim相关
2011-12-03 11:16 1184http://blog.csdn.net/namecyf/ar ... -
sed常用
2011-11-21 10:37 1479转http://blog.chinaunix.net/sp ... -
vim常用参数
2011-11-21 09:46 830cat - aa.txt >bb.txt cat -v ... -
awk的helloworld
2011-11-18 17:08 909两次过滤 awk -F '"' '{print $2 ... -
Print without executing the last command that starts with
2011-11-10 14:24 959Print without executing the las ... -
shell的function
2011-10-24 10:22 1091#!/bin/sh #/bin/sh hello(){ ... -
(转)查看网卡流量shell脚本工具
2011-10-19 10:10 909http://www.mysqlops.com/2011/10 ... -
看错误号的定义
2011-09-22 09:14 914perl -MPOSIX -e 'print strerror ... -
diff和patch
2011-09-08 23:31 979网上找的,摘抄 diff和patch是一对工具,在数学上来说, ... -
mkfifo 和nc
2011-08-25 00:00 1643服务器端 nc -l 1234 客户端 nc 10.10.10 ... -
linux date时间戳互相转换
2011-08-17 15:15 399991.查看指定时间的时间戳 查看当前时间 #date + ... -
linux修改主机名
2011-07-21 09:32 1042转http://hi.baidu.com/sunshibing ... -
转unix文本格式转换
2011-07-20 09:33 1983转http://wly719.iteye.com/blog/5 ... -
sed&& awk
2011-07-18 21:02 1036http://www.reddragonfly.org/abs ...
相关推荐
嵌入式Linux实验讯为ITop4412定制内核,并支持NFS文件系统与QT,遇到了各种错误,保姆级教程。 错误列举:1. PL2303TA不支持Windows11。 2. 系统误识别为Android1.0。 3. Android ADB Interface上有叹号。无法成功...
iTop,即IT运营门户(IT Operation Portal),是一种开源web应用程序,用于IT环境的日常运营。它基于ITIL最佳实践,而又不拘泥于任何具体流程。它很灵活,可以适应不管是非正式的、务实的流程,还是严格遵循ITIL的...
在iTop4412平台下, 简单地开发了裸机点亮LED得demo工程。亲自验证,没有问题。详情参考博客:https://www.cnblogs.com/w54255787/p/11000682.html
itop初始配置,新建交付模式、服务类型、合同、联系人,以及服务工单/事件如何新建、分配、解决过程演示。
介绍开源itop平台的使用功能。介绍开源itop平台的使用功能。介绍开源itop平台的使用功能。介绍开源itop平台的使用功能。
开源ITSM工具iTop接入开源单点登录框架CAS的实现方法。踩了很多坑,一点一点地啃透了源码做出来的。总结出来的接入方法分享给大家,已经在本单位的实践中应用了,itop和cas都是目前官方最新版的。
iTop功能模块详细介绍,主要包括门户、接口、事件、问题、变更、CMDB库等功能模板的介绍
该资源为iTOP-4412开发板的uboot源码,解压后为iTop4412_uboot文件夹,仅供交流学习
Customizing iTop 1-0; How to setup authentication with iTop; iTop 1-0 user guide; iTop 1-2 admin guide; iTop Customization; iTop Implementation Guide; Localizing iTop; OQL Reference;
iTop-2.1.0-2127 版本2015年1月更新
itop运维综合管理平台使用手册.pdfitop运维综合管理平台使用手册.pdfitop运维综合管理平台使用手册.pdfitop运维综合管理平台使用手册.pdfitop运维综合管理平台使用手册.pdfitop运维综合管理平台使用手册.pdfitop运维...
利用iTop-4412实验平台、UVC协议的USB摄像头、基于Linux操作系统,设计并实现一个视频远程监控系统。 系统最终达到的功能:利用电脑端浏览器、移动端App可以查看摄像头实时画面。 完整项目,搭建系统后,就可以直接...
itop4412 iTop4412相关模块代码. 加上文档
ITOP4412内核开发资料,可直接参与编译
ITOP4412内核开发资料,可直接参与编译
硬件设计资料ITOP4412_MAIN_ULTIMATE_V3_5
iTop事件时间字段.rar
iTop,作为全面支持ITIL流程的一款ITSM工具,具有强大的ITSM功能,开源免费、简单易用。 iTop,即IT运营门户(IT Operation Portal),是一个开源web应用程序,用于IT环境的日常运营。它基于ITIL最佳实践,而又不...
ITOP4412开发板原理图及资料哦,可参考学习。
iTOP-4412开发板的使用手册,iTOP-4412时ARM9内核,本手册详细的说明了iTOP-4412的使用方法,编译环境,注意事项等。