Web blog of yydzero
姚延栋(Yandong Yao)的博客
归档
« 十一月 2009
星期日星期一星期二星期三星期四星期五星期六
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
今天
Click me to subscribe
Search In My Blog

链接
 

今日点击: 13

Locations of visitors to this page
星期五 十月 19, 2007
Manually config solaris host name
 
Posted at 02:43上午 十月 19, 2007 by Yaodong Zero Yao in solaris  |  评论[0]

星期日 八月 05, 2007
Process and User Accounting on Solaris

1. Process Accounting

Process accounting is performed by the system kernel. Upon termination of a process, one record per process is written to a file (normally /var/adm/pacct). The accounting information is initiated when creating one new process using fork(2). exec(2) will not create accounting information, even though it will change the program name in accounting structure.

2. User Accounting

3.Extended accounting

Extended accounting perform accounting not only on process but also on task and flow(IPQos)

Posted at 04:25上午 八月 05, 2007 by Yaodong Zero Yao in solaris  |  评论[0]

星期五 五月 25, 2007
在 Solaris 上编译vim

由于 Solaris 默认不安装 vim 而使用老古董级的 vi,因此如果想使用vim的强大功能,需要自己安装,有几个安装方式:

值得一提的是 Solaris 已经注意到了类似的问题,因此建立了一个称为 Indiana 的项目,该项目将使 Solaris 包含更多的开源软件,详细信息请参见http://mail.opensolaris.org/pipermail/opensolaris-discuss/2007-May/028871.htmlhttp://mail.opensolaris.org/pipermail/opensolaris-discuss/2007-May/028845.html

下面介绍一下如何使用编译源代码方式来安装 vim。

0。安装 SunStudio 11 和 cbe 环境

1。安装 ncurses

由于 vim 需要使用 ncurses 来实现丰富多彩的字符颜色显示,因此首先需要安装 ncurses 库。

2。如果需要ruby编辑支持,需要安装ruby

参见 http://blogs.sun.com/yydzero/entry/%E5%9C%A8_solaris_express_%E4%B8%8A%E7%BC%96%E8%AF%91_ruby 

3。安装 vim

4. 运行 vim

    如果你的 ncurses 库不是在标准的库路径中,那么需要在运行vim之前 export LD_LIBRARY_PATH。 但是每次这样做是非常繁琐的,为了避免每次设定,可以在 $HOME/.bash_profile 中加入 alias vi='LD_LIBRARY_PATH=/path/to/your/ncurses.so /path/to/your/vim',这样每次运行vi时会自动export LD_LIBRARY_PATH. 使用 :version 查看版本信息。

Posted at 10:16下午 五月 25, 2007 by Yaodong Zero Yao in solaris  |  评论[1]

在 Solaris Express 上编译 ruby 1.8.6
Posted at 09:31下午 五月 25, 2007 by Yaodong Zero Yao in solaris  |  评论[3]

星期二 十二月 05, 2006
collection of mdb related information
Posted at 09:37上午 十二月 05, 2006 by Yaodong Zero Yao in solaris  |  评论[0]

星期二 七月 18, 2006
UTF-8 Migration tool analysis

As UTF-8 becomes the most popular encoding, many operating system such as solaris, ubuntu are using UTF-8 as the default locale. Then how to handle the large amount of legacy encoded file(filename/filecontent)? There are several tools available, let's have a look.

[Read More]
Posted at 02:57上午 七月 18, 2006 by Yaodong Zero Yao in solaris  |  评论[8]

星期五 十二月 23, 2005
Solaris Command Tips
  1.  find some directory and ignore some other directory:  find . -name ignoreDir -prune -o -name \*.iso -print
Posted at 12:14下午 十二月 23, 2005 by Yaodong Zero Yao in solaris  |  评论[0]