sudo nano /etc/apt/sources.list源:deb
http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib
non-free rpi deb-src http://mirrors.tu...
分类:
Web程序 时间:
2014-06-29 07:58:09
阅读次数:
384
#查看当前系统load
uptime
#查看系统状态和每个进程的系统资源使用状况
top
#可视化显示CPU的使用状况
htop
#查看每个CPU的负载信息
mpstat -P ALL 1
#每隔1秒查看磁盘IO的统计信息
iostat -xkdz 1
#每隔一秒查看虚拟内存的使用信息
vmstat 1
#查看内存使用统计信息
free
#查看网络使用信息
nicstat -z 1
...
分类:
系统相关 时间:
2014-06-29 07:23:22
阅读次数:
461
IndexReaderFactory.java1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556package
org.ostree.modul...
分类:
其他好文 时间:
2014-06-11 23:34:37
阅读次数:
253
yum配置与使用(很详细)yum的配置一般有两种方式,一种是直接配置/etc目录下的yum.conf文件,另外一种是在/etc/yum.repos.d目录下增加.repo文件。一、yum的配置文件$cat/etc/yum.conf[main]cachedir=/var/cache/yum#yum下载...
分类:
其他好文 时间:
2014-06-11 23:11:34
阅读次数:
376
最近在负责公司Couchbase版本升级工作,之前只有一台Cache服务器,使用Couchbase Enterprise Edition
1.8,为避免单点故障现在需要新增加一台Cache服务器做负载,并对老版本couchbase进行升级。(以下均在windows系统下操作)在进行主题之前先提一下C...
分类:
其他好文 时间:
2014-06-11 13:32:38
阅读次数:
463
1 /* 2 Design and implement a data structure
for Least Recently Used (LRU) cache. It should support the following operations:
get and set. 3 ...
分类:
其他好文 时间:
2014-06-11 13:08:46
阅读次数:
297
Hibernate 缓存缓存(Cache):
计算机领域很通用的概念。它介于应用程序和永久性数据存储源(如硬盘上的文件或者数据库)之间,其作用是减少应用程序直接读写永久性数据存储源的频率,从而提高应用的执行性能。缓存中的数据是数据存储源中数据的拷贝。缓存的物理介质一般是内存Hibernate中提供了...
分类:
系统相关 时间:
2014-06-11 08:20:29
阅读次数:
374
C语言内存管理主要包括malloc()、remalloc()、free()三个函数。本文主要介绍动态分配二维数组的三种方法,及malloc的使用注意事项(判断成功否,释放)
分类:
编程语言 时间:
2014-06-11 07:48:46
阅读次数:
321
假设我们在 Objective C
中向一个对象发送它无法处理的消息,会出现什么情况呢?我们知道发送消息是通过 objc_send(id, SEL, ...) 来实现的,它会首先在对象的类对象的
cache,method list 以及父类对象的 cache, method list 中依次查找 S...
分类:
其他好文 时间:
2014-06-07 10:43:35
阅读次数:
228
什么是MantisMantisBT is a free popular web-based
bugtracking system (feature list). It is written in the PHP scripting language
and works with MySQL, MS ...
分类:
其他好文 时间:
2014-06-07 09:55:22
阅读次数:
353