码迷,mamicode.com
首页 >  
搜索关键字:cache group    ( 21338个结果
LINUX用户和组小练习
1.创建一个用户mandriva,其ID号为2002,基本组为distro(组ID为3003),附加组为linux[root@localhost~]#groupadd-g3003distro [root@localhost~]#tail-1/etc/group distro:x:3003: [root@localhost~]#groupaddlinux [root@localhost~]#tail-1/etc/group linux:x:3004:[root@loca..
分类:系统相关   时间:2014-05-27 03:37:39    阅读次数:409
分析Linux的组和用户
1.前言这一周,学习了LINUX的用户和组管理,接触到了很多新的东西,脑袋里面的知识有点乱,准备写一篇博客,理一理思路。2.一些观点第一,无论是WINDOWS的GUI,还是LINUX的COMMANDLINE,用户的请求最终将这样实现:USER-->PROCESS-->KENEL也就是说,进程将代理用户的请求..
分类:系统相关   时间:2014-05-27 03:14:07    阅读次数:379
【LeetCode】LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-05-23 09:59:05    阅读次数:257
看书小记7(《C专家编程》)
Cache是位于CPU寄存器与内存之间的存储器,它的容量比内存小但交换速度快。 Cache的工作原理 1、读取顺序 当数据从内存读入时,整行的数据(16~32字节)被装入Cache,如果程序具有良好的地址引用局部性(顺序浏览一个字符串),那么CPU以后对邻近数据的引用就可以从快速的Cache读取,而不用从缓慢的内存读取。典型情况下,主存的存取速度可能只有Cache的四分之一。 CPU要读取...
分类:其他好文   时间:2014-05-22 08:45:02    阅读次数:285
【LeetCode】LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the value (will always be positive) of the key if t...
分类:其他好文   时间:2014-05-22 07:25:32    阅读次数:254
POJ 2431 Expedition
ExpeditionTime Limit:  1000MSMemory Limit:  65536KDescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately manag...
分类:其他好文   时间:2014-05-22 06:16:01    阅读次数:423
Linux中的umask
1.文件和目录的默认权限在Linux中,我们创建文件或者目录的时候,并没有指定user,group,other这三类用户的权限,实际上umask(遮罩码)决定了创建时的默认权限。如果是文件,就用666-umask;如果是目录就用777-umask。记住LINUX的法则之一:文件默认情况下不应具有可执行权限。2...
分类:系统相关   时间:2014-05-20 22:51:07    阅读次数:576
ThinkPHP源码阅读3------行为扩展
ThinkPHP的核心采用的框架模式是CBD,也就是核心Core+行为Behavior+驱动Driver,核心也就是整个框架模式的核心,大部分都是一些基类,去规定规则,Behavior是行为,就是在指定的地方调用来完成一些特定的行为功能,而Driver驱动就类似cache缓存驱动,mysqldb数据库驱动等,完成功能行为..
分类:Web程序   时间:2014-05-20 22:45:40    阅读次数:456
CenOS 6 DNS服务器简要配置
yuminstallbind*一、修改下面配置文件vi/etc/named.confoptions{listen-onport53{192.168.100.210;};listen-on-v6port53{::1;};directory"/var/named";dump-file"/var/named/data/cache_dump.db";statistics-file"/var/named/data/named_stats.txt";memstatistics-file"/var/na..
分类:其他好文   时间:2014-05-20 22:07:44    阅读次数:341
ASA 8.0命令解析
有些朋友对配防火墙还是有问题,其实配置ASA防火墙很简单,常用的命令有hostname、interface(ipaddress、noshutdown、nameif、security-level)、nat、global、route、static、access-list、access-group。下面来解析一台ASA8.0的配置ASAVersion8.0(2)//注意版本,8.3以后NAT命..
分类:其他好文   时间:2014-05-20 21:55:33    阅读次数:1000
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!