08 2014 档案

摘要:解决:1、下载php-redis zip安装包https://github.com/nicolasff/phpredis或我上传的http://download.csdn.net/detail/musicrabbit/58651152、找到PHP安装路径命令whereis phpize和wherei... 阅读全文
posted @ 2014-08-28 10:32 三六五 阅读(137) 评论(0) 推荐(0)
摘要:由于公司需要用到redis这个键值数据库,今天用了好久才把他安装了上去。具体安装方法如下:首先下载reids的压缩包 reidis-2.4.15.tar.gz,然后键入:# tar xf redis-2.4.45.tar.gz然后进入目录下键入如下命令:# make依赖包wgethttp://dow... 阅读全文
posted @ 2014-08-27 11:05 三六五 阅读(185) 评论(0) 推荐(0)
摘要:假设存在组合索引it1c1c2(c1,c2),查询语句select * from t1 where c1=1 and c2=2能够使用该索引。查询语句select * from t1 where c1=1也能够使用该索引。但是,查询语句select * from t1 where c2=2不能够使用... 阅读全文
posted @ 2014-08-19 11:36 三六五 阅读(105) 评论(0) 推荐(0)
摘要:http://hi.baidu.com/hcq11/blog/item/9f5bfc6e696209d680cb4a25.htmlhttp://hi.baidu.com/litto/blog/item/759389dd198111375882dd1e.htmlhttp://blogold.china... 阅读全文
posted @ 2014-08-08 10:23 三六五 阅读(166) 评论(0) 推荐(0)
摘要:查看最大线程数:cat /proc/sys/kernel/threads-maxulimitUser limits - limit the use of system-wide resources.Syntaxulimit [-acdfHlmnpsStuv] [limit]Options-S Cha... 阅读全文
posted @ 2014-08-07 13:41 三六五 阅读(764) 评论(0) 推荐(0)
摘要:Top命令监控某个进程的资源占有情况下面是各种内存:VIRT:virtual memory usage 1、进程“需要的”虚拟内存大小,包括进程使用的库、代码、数据等 2、假如进程申请100m的内存,但实际只使用了10m,那么它会增长100m,而不是实际的使用量RES:resident memory... 阅读全文
posted @ 2014-08-07 11:40 三六五 阅读(244) 评论(0) 推荐(0)
摘要:/*includeunpipch*//*Ourownheader.Tabsaresetfor4spaces,not8*/#ifndef __unpipc_h#define __unpipc_h#include "../config.h" /*configurationoptionsforcurren... 阅读全文
posted @ 2014-08-07 09:58 三六五 阅读(767) 评论(0) 推荐(0)
摘要:sem_close 进程关闭是调用sem_unlink 从系统内核中删除 否则有名信号量就存在在与内核中。 保存了O_等常量。 阅读全文
posted @ 2014-08-06 17:57 三六五 阅读(101) 评论(0) 推荐(0)