- 浏览: 9987 次
- 来自: ...
最新评论
文章列表
这是我在网上看到的,昨天按照下面的方法试了下,感觉还可以,各位经常使用电脑的XDJM们不妨一试!
一
个朋友前一段时间因为常常加班导致眼睛过度疲劳得了干眼症,大夫建议他电脑屏幕不要用白色,因为白色对眼睛的刺激是最大的。像我们这样整天对着电脑干活
的,也应该注意一下。其实,只要稍微设置一下,就能让你电脑上的窗口从白花花的颜色变成淡淡的绿色。设置方法如下:在桌面点右键选“属性”
(properties),接着点“外观”(appearance),点右下角的“高级”(advanced),然后在“项目”(items)的下拉菜单
里选“窗口”
(windows),再点它右侧的下拉菜单 ...
如何用python subprocess module
http://jimmyg.org/blog/2009/working-with-python-subprocess.html
F: 按某列排序
f: 显示或不显示某列
O/o:列的从左向右的显示顺序。O向左移动,o向右移动。
列的对应字符:
a: PID = Process Id
b: PPID = Parent Process Pid
c: RUSER = Real user name
d: UID = User Id
e: USER = User Name
f: GROUP = Group Name
g: TTY = Controlling Tty
h: PR ...
- 2009-12-04 16:02
- 浏览 911
- 评论(0)
http://www.kernel.org/doc/Documentation/filesystems/proc.txt
比如/proc/stat
- 2009-11-12 10:49
- 浏览 1167
- 评论(0)
vmstat
vmstat提供的数据是基于系统启动后到目前计算的,无法给出当前io运行的统计数据
Options
Option
Explanation
-D
This displays Linux I/O subsystem total
statistics. This option can give you a good idea of how your I/O subsystem is
being used, but it won't give statistics on individual di ...
- 2009-11-11 14:11
- 浏览 1823
- 评论(0)
Options:
-s <length>: Grap the packet with the specified length. default is 96 bytes
-A: print data in ASCII format
-X: print data in Hex and AscII format.
-i <interface>
Examples:
tcpdump -As 2048 -i eth1 tcp port 80 and host 10.32.73.41
- 2009-11-06 13:59
- 浏览 781
- 评论(0)
转载自 http://blog.xupeng.me/2009/08/09/change-base-dn-in-openldap/
Stop the OpenLDAP server
/etc/init.d/slapd stop
Use slapcat to dump the database
slapcat -l backup-openldap.ldif
The OpenLDAP database will be dumped to file backup-openldap.ldif
Use sed or something else to replace ...
- 2009-11-06 12:09
- 浏览 1834
- 评论(0)
LDAP
Basic Concepts
What
is LDAP
LDAP stands
for Ligthweight Directory Access Protocol.
LDAP
protocol is a message-oreiented protocol.
LDAP
Protocol Operations
LDAP has nine
protocol operations, which can be divided into 3 categories:
I ...
- 2009-11-06 12:05
- 浏览 1023
- 评论(0)
* .vimrc example
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
" set indent for c and cpp
set cindent
set shiftwidth=4
" set the space ...
- 2009-11-06 12:01
- 浏览 640
- 评论(0)