1 策略设计模式 1 package thinkJava; 2 /* 3 * 策略设计模式 4 * 像本例一样,能够根据所传递的参数对象的不同而具有不同的行为的方法。 5 * Processor对象就是一个策略,有3中不同的策略应用到了String类型的对象上。 6 */ 7 import ...
分类:
其他好文 时间:
2014-11-12 13:33:38
阅读次数:
198
在一次C500K性能压测过程中,发现一个问题:8 processor的CPU,负载基本集中在CPU0,并且负载达到70以上,并通过mpstat发现CPU0每秒总中断(%irq+%soft)次数比较高。
基于对此问题的研究,解决和思考,便有了这篇文章,希望大家能够喜欢,也欢迎大家留言讨论。...
分类:
其他好文 时间:
2014-11-10 23:30:25
阅读次数:
794
what would we do if we are faced with a situation to execute a receiving transaction in oracle ebusiness suite from a BPEL process in Oracle Fusion Mi...
分类:
其他好文 时间:
2014-11-09 13:44:44
阅读次数:
295
用WMI来查询CPU的频率,一直没问题:"Select MaxClockSpeed From Win32_Processor Where ProcessorType = 3"结果今天在一台虚拟机上发现无法查询了,于是乎在Powershell里查询了一下Get-WmiObject –Class Win...
分类:
其他好文 时间:
2014-11-06 17:18:49
阅读次数:
201
批处理:%PROCESSOR_IDENTIFIER:~0,3%PowerShell:([Array](Get-WmiObject -Query "select AddressWidth from Win32_Processor"))[0].AddressWidthPowerShell3.0:[Sys...
分类:
其他好文 时间:
2014-11-04 16:38:18
阅读次数:
155
我们要监视CPU,内存.硬盘的资源情况.得到以下的参数提供分析的依据.%processor time(processor_total):器消耗的处理器时间数量.如果服务器专用于sql server 可接受的最大上限是80% -85 %.也就是常见的CPU使用率.%User time(processo...
分类:
其他好文 时间:
2014-11-04 16:31:41
阅读次数:
252
类别计数器名称计数器描述SystemTotal Processor Time数据库进程占用的CPU时间。在不同的数据库中以不同的名称表示。例如,在oracle中,该计数器被称为cpu used by this sessionUser Connection当前的用户连接数。数据库服务器一般都有用...
分类:
数据库 时间:
2014-11-03 16:13:12
阅读次数:
187
判断CPU瓶颈1, %processor time 平均值大于952, processor queue length大于2 (大于处理器个数+1).可以确定CPU瓶颈3, CPU空闲时间为零(zero percent idle CPU)4, 过高的用户占用CPU时间(%User Time)5, 过高...
分类:
其他好文 时间:
2014-11-03 14:35:02
阅读次数:
169
Apache Samza is a distributed stream processing framework. It uses Apache
Kafka for messaging, and Apache
Hadoop YARN to provide fault tolerance, processor isolation, security, and resource manage...
分类:
其他好文 时间:
2014-11-02 16:36:31
阅读次数:
255
几个cpu
more /proc/cpuinfo |grep "physical id"|uniq|wc -l
每个cpu是几核(假设cpu配置相同)
more /proc/cpuinfo |grep "physical id"|grep "0"|wc -l
cat /proc/cpuinfo | grep processor...
分类:
系统相关 时间:
2014-11-02 16:35:41
阅读次数:
300