摘自:《嵌入式Linux应用开发完全手册》 ( Target : smdk2410 $1
Architecture: arm $2 CPU: arm920t $3 BOARD: smdk241...
分类:
其他好文 时间:
2014-04-30 05:05:54
阅读次数:
641
一、错误情况环境:win7+iis7.0DirectoryEntry配置IIS7出现如下错误或者是下面一段代码在IIS6.0下运转正常,但IIS7.0下运转会出错:System.DirectoryServices.DirectoryEntryiisServer;iisServer
=newSyste...
分类:
其他好文 时间:
2014-04-28 17:53:29
阅读次数:
464
代码: 1 /* 2 test.java 3 */ 4 package test; 5
public class test { 6 public static void main(String args[] ) 7 { 8 CPU ccp= new
CPU();...
分类:
编程语言 时间:
2014-04-28 14:04:45
阅读次数:
439
内核态: CPU可以访问内存所有数据, 包括外围设备, 例如硬盘, 网卡.
CPU也可以将自己从一个程序切换到另一个程序用户态: 只能受限的访问内存, 且不允许访问外围设备. 占用CPU的能力被剥夺,
CPU资源可以被其他程序获取为什么要有用户态和内核态由于需要限制不同的程序之间的访问能力, 防止他...
分类:
其他好文 时间:
2014-04-28 12:32:05
阅读次数:
465
这个问题困扰了挺久,网上找了挺多方法 都太好使。分几种情况。1.如果查询结果
转换,那比较容易。var q = from c in db.Customers where c.Country == "UK" || c.Country ==
"USA" select new { ...
分类:
其他好文 时间:
2014-04-28 11:56:12
阅读次数:
620
统计SQL执行时间和次数的语句:SELECT top 50qt.text AS
SQL_text ,SUM(qs.total_worker_time) AS total_cpu_time,SUM(qs.execution_count) AS
total_execution_count,SUM(qs....
分类:
数据库 时间:
2014-04-28 11:14:38
阅读次数:
640
系统现在很慢”似乎是对系统的性能最常用的抱怨了,但究竟慢到什么程度,如何来界定慢,可能需要对性能进行量化,对于OS来说,大致主要分为cpu,内存,磁盘,网络等组件,对这些维度的性能量化,不但可以更准确的定位到系统的瓶颈,更是做容量评估的基础。下面先看看cpu。
Cpu的性能主要跟缓存,主频,指令集,...
分类:
其他好文 时间:
2014-04-28 03:36:06
阅读次数:
578
为了方便自己测试和监控,写了三个监控的脚本。 分别监控:
主机【cpu,mem,disk,fs,net】 oracle mysql 脚本如下:hmon.py: monitor Linux os system
including cpu,memory,disk,net,file s...
分类:
数据库 时间:
2014-04-28 01:27:52
阅读次数:
765
本人有一段代码关于"~"运算符 public class m{ public static
void main(String[] args){ int x=~5; System.out.println(x); ...
分类:
其他好文 时间:
2014-04-28 00:48:41
阅读次数:
326
using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using System.Text;u...
分类:
Windows程序 时间:
2014-04-27 23:51:43
阅读次数:
1188