上一页 1 ··· 142 143 144 145 146 147 148 149 150 ··· 455 下一页
在lsnrctl命令的status时,常会看到如下返回值:Service "elvis" has 2 instance(s). Instance "elvis", statusUNKNOWN, has 1 handler(s) for this service... Instance "elvis", statusREADY, has 1 handler(s) for this service...Service "elvisXDB" has 1 instance(s). Instance "elvis& Read More
posted @ 2013-05-28 23:32 javawebsoa Views(620) Comments(0) Diggs(0)
本文对Linux内核模块rootkit进行分析,对基于idt hook的WNPS的实现进行分析。 完整内容请点击如下链接: 点击打开链接 Rootkit. 3WNPS test run. 4test env. 4compile and install4client run. 4WNPS explained. 6WNPS features. 6WNPS in general6classic system call and sys_call_table. 7fast system call - sysenter(Intel)/syscall(AMD) andsysexit. 8... Read More
posted @ 2013-05-28 23:31 javawebsoa Views(431) Comments(0) Diggs(0)
用来限制 fps#pragma once#include <windows.h>struct fps_limit { int previous_time; int tpf_limit; int tpf; fps_limit(int fps = 60) : previous_time(GetTickCount()), tpf(0) { limit_fps(fps); } void reset() { previous_time = GetTickCount(), tpf = 0; tpf_limit = 60; } void limit_fps(int fps) { tpf_limi Read More
posted @ 2013-05-28 23:29 javawebsoa Views(1118) Comments(0) Diggs(0)
设备挂载到bus总线上#include<linux/module.h>#include<linux/init.h>#include<linux/device.h>voidusb_dev_release(structdevice*dev);structbus_typemy_usb_bus={.name="my_usb",//总线的名字,注册成功后会在/sys/bus/目录下看到};structdevicemy_usb_device={.bus_id="usb_device",//设备的名字.bus=&my_usb Read More
posted @ 2013-05-28 23:28 javawebsoa Views(175) Comments(0) Diggs(0)
http://stephenzhou.cnblogs.com/ Read More
posted @ 2013-05-28 23:27 javawebsoa Views(104) Comments(0) Diggs(0)
#include<linux/module.h>#include<linux/init.h>#include<linux/device.h>voidusb_dev_release(structdevice*dev);structbus_typemy_usb_bus={.name="my_usb",//总线的名字,注册成功后会在/sys/bus/目录下看到};structdevicemy_usb_device={.bus_id="usb_device",//设备的名字.bus=&my_usb_bus,.relea Read More
posted @ 2013-05-28 23:26 javawebsoa Views(215) Comments(0) Diggs(0)
常见的性能测试是这样的:有人开发了百度知道,然后,想知道单机的最大并发处理量是多少。这就需要性能测试了。然后,我们常见的性能测试方法是:1.apache的ab;2.JMeter;3.loadrunner;4.自己开发的工具。 先大致的评价下上面的几个方法:1.apache的ab。这东西,用起来很简单,就一个命令。缺点就是,可定制差,使用不是很方便。2.JMeter真的很强大,我们的性能测试自动化,就是使用JMeter实现的;3.loadrunner,这东西要收费的,功能很强大,但是自动化方面,不清楚。直接入正题,看看怎么实现性能测试自动化。性能测试是很耗费时间、人力的事情,每次测试都需要有人来 Read More
posted @ 2013-05-28 23:24 javawebsoa Views(836) Comments(0) Diggs(0)
对于中小型机构,如:人数在200人之内,预算不太多,如何规划与实现私有云数据中心,这里给出一些建设性意见: 一、需求分析: 通常这类机构所需要的计算资源在300-500虚拟主机之间,生产型存储约10T-50T之间,灾备型存储约为1:0.6,为6T至30T之间。网络压力通常在30-100M网络出口,内部在千兆网左右,应用集中在:内部业务系统、内部VDI系统、数据共享平台、公共门户及OA系统等。 二、设计原则 计算资源可以采用1:50的比例构建虚拟主机,如可以规划6至10台,其中每五台安排一个灾备主机,总数约为7至12台。单台主机单价8万左右,可以配置96G内存、16核CPU、4-... Read More
posted @ 2013-05-28 23:23 javawebsoa Views(183) Comments(0) Diggs(0)
设备驱动程序:#include<linux/module.h>#include<linux/fs.h>#include<linux/cdev.h>#include<linux/uaccess.h>#include<linux/timer.h>#include<linux/sched.h>#include<linux/wait.h>MODULE_LICENSE("GPL");#defineBUF_SIZE256#defineDEVICE((constchar*)"kgrunt&quo Read More
posted @ 2013-05-28 23:22 javawebsoa Views(204) Comments(0) Diggs(0)
本人业余时间做了个小工具:QQ宠物保姆,欢迎大家提出意见,联系QQ:58095808 QQ宠物保姆有如下功能 自动喂食 让你不再担心宠物宝宝遭受饥饿之苦,保姆会帮你把宝宝喂得白白胖胖。当饥饿指数降至设定值时将会自动喂食,如果没有食物储备饥饿指数降至最低设定值时,保姆将会自动启用自我保护功能暂停宠物成长,以防宠物没有食物喂养时出现死亡的可能。 自动洗澡 聪明的宝宝人见人爱,车见车载。宝宝干净才可爱,Q宠保姆会帮你把宝宝洗得干干净净。当清洁指数降至设定值时将会自动洗澡,当清洁指数降至最低设定值时,保姆也会启用自我保护功能暂停成长,以防宠物因为清洁过低而时导致宠物生病、死亡。 自动逗宠 完全免... Read More
posted @ 2013-05-28 23:21 javawebsoa Views(357) Comments(0) Diggs(0)
上一页 1 ··· 142 143 144 145 146 147 148 149 150 ··· 455 下一页