SystemTap脚本主要是由探测点和探测点处理函数组成的,来看下都有哪些探测点可用。
The essential idea behind a systemtap script is to name events, and to give them handlers.
Systemtap works by translating the script to C, running the system C compiler to create a kernel module from that.
When t...
分类:
其他好文 时间:
2014-06-07 01:59:08
阅读次数:
369
1 初始添加设备后、上传Object的具体流程
前几篇博客中,我们讲到环的基本原理即具体的实现过程,加入我们在初始创建Ring是执行如下几条命令:
?swift-ring-builder object.builder create 5 3 1
?swift-ring-builder object.builder add z1-127.0.0.1:6010/sdb1 100...
分类:
其他好文 时间:
2014-06-05 12:40:26
阅读次数:
316
一直没有认真觉察UPDATE操作的锁,最近在MSDN上看到一个问题,询问堆表更新的死锁问题,问题很简单,有类似这样的表及数据:CREATE TABLE dbo.tb( c1 int, c2 char(10), c3 varchar(10));GODECLARE @id int;SET @id = 0;WHILE @id 5BEGIN; SET...
分类:
其他好文 时间:
2014-06-05 10:24:32
阅读次数:
271
需求是这样的:系统中会有很多的执行时间,三个或者四个这样,不确定,以后可能是五个!当用户在页面添加执行时间时,我们后台也要对应执行用户添加的时间。
数据库设计:
DROP TABLE IF EXISTS `test_time_task`;
CREATE TABLE `test_time_task` (
`status` int(11) DEFAULT NULL COMMENT '状态:0为...
分类:
编程语言 时间:
2014-06-05 10:00:30
阅读次数:
245
在lxc安装过程遇到的所有问题解决后,你可以创建你的第一个lxc容器了。最简单的方法使用lxc自带的创建文件系统的工具,当然你也可以自己做个文件系统。模板的安装路径一般放在/usr/local/share/lxc/templates#lxc-create -t centos -n centos-tst#lxc-start -n centos-tst...
分类:
其他好文 时间:
2014-06-05 09:38:02
阅读次数:
258
DFC - Documentum Foundation Classes
位于Content server和client 之间。 用来做服务端业务逻辑和客制。
BOF- Business Object Framework.
模组。 最重要的两个模组是
1. TBOs --type based objects
2. SBOs-- service based objects
3. Aspec...
分类:
其他好文 时间:
2014-06-05 09:09:06
阅读次数:
264
看下ThreadPoolImpl的构造函数:
/**
* This constructor is used to create an unbounded threadpool
*/
public ThreadPoolImpl(ThreadGroup tg, String threadpoolName) {
inactivityTimeout = ORB...
分类:
其他好文 时间:
2014-06-05 07:41:45
阅读次数:
386
Managing the Activity Lifecycle
管理活动的生命周期
Previous
Next
Get started
Dependencies and prerequisites
依赖和先决条件
How to create an Android project (see
Creating ...
分类:
其他好文 时间:
2014-06-05 06:25:32
阅读次数:
300
菜单主页面:
主菜单页面背景
CCSprite* bg = CCSprite::create("MainMenu.png");
bg->setScale(0.5);
bg->setPosition( ccp(size.width/2, size.height/2) );
this->addChild(bg, 0,0);
菜单按钮及其效果,单击事件...
分类:
其他好文 时间:
2014-06-05 00:55:52
阅读次数:
437
解决办法:
mysql> SET PASSWORD = PASSWORD('123456');
Query OK, 0 rows affected (0.03 sec)
mysql> create database roger;
Query OK, 1 row affected (0.00 sec)
也就是用mysql> SET PASSWORD = PASSWORD('123456...
分类:
数据库 时间:
2014-06-05 00:19:53
阅读次数:
294