BACKGROUNDProcessor power consumption has become a major issue in recent years. The current trend of processor design to multi-core architecture as ea...
分类:
其他好文 时间:
2014-06-18 22:16:54
阅读次数:
435
Cache类,是一个用于缓存常用信息的类。HttpRuntime.Cache以及HttpContext.Current.Cache都是该类的实例。一、属性属性说明Count获取存储在缓存中的项数。EffectivePercentagePhysicalMemoryLimit获取在 ASP.NET .....
分类:
Web程序 时间:
2014-06-18 13:40:24
阅读次数:
266
比如直接查看ORA-01031错误gaosheng-> oerr ora 0103101031, 00000, "insufficient privileges"// *Cause: An attempt was made to change the current username or pass...
分类:
其他好文 时间:
2014-06-18 09:19:08
阅读次数:
210
rman备份脚本
#! /bin/bash
su - oracle
rman target /
backup AS COMPRESSED BACKUPSET
database
include current controlfile format'/orabak/db_%d_%T_%s'
plus archivelog format'/orabak/a...
分类:
系统相关 时间:
2014-06-17 19:33:13
阅读次数:
348
以2.7升级到3.3为例1.删除原版本a)删除系统库中的版本sudo rm -R /System/Library/Frameworks/Python.framework/Versions/2.7b)删除Current版本sudo rm /System/Library/Frameworks/Pytho...
分类:
编程语言 时间:
2014-06-17 15:35:13
阅读次数:
518
1.The GetCurrentDirectory function retrieves the current directory for the current processDWORD GetCurrentDirectory( DWORD nBufferLength, // size of d...
分类:
其他好文 时间:
2014-06-17 13:44:58
阅读次数:
206
如下一个存储过程是dba创建一个表空间、创建一个用户并给这个用户授予权限:
create or replace procedure createTS(tname in varchar2)
is
PRAGMA AUTONOMOUS_TRANSACTION;
v_createsql varchar2(400);
vtbsname varchar2(40);
...
分类:
其他好文 时间:
2014-06-16 19:37:04
阅读次数:
229
客户提交一个dump文件,WinDbg加载时出现大量WARNING,加载对应版本的SOS后执行相应命令提示"SOS does not support the current target architecture"。原因在于使用了64位的任务管理器导出了32位进程的dump文件,下面是两个解决方法:...
分类:
其他好文 时间:
2014-06-15 20:04:30
阅读次数:
463
printf("member:%d\n",member);//find current signoffsSAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs));//remove exists revi...
分类:
其他好文 时间:
2014-06-15 07:21:08
阅读次数:
270
Execute shell commandsThere are a number of
different ways to run shell commands from Ruby.TheexeccommandKernel#execreplaces
the current process and r...
分类:
其他好文 时间:
2014-06-12 06:50:15
阅读次数:
281