??xml version="1.0" encoding="utf-8" standalone="yes"?>国内精品在线播放,青青草在线视频免费观看,欧美成人在线网站http://www.aygfsteel.com/honzeland/category/19364.html记录Ҏ。。?/description>zh-cnFri, 08 Jan 2010 16:14:39 GMTFri, 08 Jan 2010 16:14:39 GMT60RAM percentage utilised in Linuxhttp://www.aygfsteel.com/honzeland/archive/2008/12/26/248410.htmlhonzelandhonzelandFri, 26 Dec 2008 04:08:00 GMThttp://www.aygfsteel.com/honzeland/archive/2008/12/26/248410.htmlhttp://www.aygfsteel.com/honzeland/comments/248410.htmlhttp://www.aygfsteel.com/honzeland/archive/2008/12/26/248410.html#Feedback0http://www.aygfsteel.com/honzeland/comments/commentRss/248410.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/248410.html
Question:
We are planning to calculate the percentage of physical memory utilised as below:

System Page Size: 4Kbytes
Memory: 5343128K (1562428K) real, 13632356K (3504760K) virtual, 66088K free Page# 1/604

Now the formula goes as below:

(free memory / actual active real memory) * 100
(66088/1562428) * 100 = 4.22 %

Please let us know if its the correct formula .

Mainly we are interested in RAM percentage utilised

Reply 1:
Red Hat/Centos v 5 take spare ram and use it for a buffer cache.

100% memory allocation is pretty meaningless because allocation is almost always near 100%. The 2.6.x kernel permits rapid re-allocation of buffer to other purposes eliminating a performance penalty that you see on an OS like HP-UX

I'm not thrilled with your formula because it includes swap(virtual memory). If you start digging too deep into virtual memory, your system start paging processes from memory to disk and back again and slows down badly.

The formula is however essentially correct.

Reply 2:
Here, a quick example from the machine under my desk:
Mem:   3849216k total,  3648280k used,   200936k free,   210960k buffers
Swap:  4194296k total,       64k used,  4194232k free,  2986460k cached

If the value of 'Swap used' is up (i.e. hundreds of megabytes), then you've got an issue, but as you can see, it's only 64k here.
Your formula for how much memory is used is something along the lines of this:

(Used - (Buffers + Cached) / Total) * 100 = Used-by-programs%
(Free + Buffers + Cached / Total) * 100 = Free%

.. Roughly ..





honzeland 2008-12-26 12:08 发表评论
]]>
Vim使用技巧,长期更新中。。?/title><link>http://www.aygfsteel.com/honzeland/archive/2008/05/31/204865.html</link><dc:creator>honzeland</dc:creator><author>honzeland</author><pubDate>Sat, 31 May 2008 09:22:00 GMT</pubDate><guid>http://www.aygfsteel.com/honzeland/archive/2008/05/31/204865.html</guid><wfw:comment>http://www.aygfsteel.com/honzeland/comments/204865.html</wfw:comment><comments>http://www.aygfsteel.com/honzeland/archive/2008/05/31/204865.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/honzeland/comments/commentRss/204865.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/honzeland/services/trackbacks/204865.html</trackback:ping><description><![CDATA[1. <span id="wmqeeuq" class="postbody">多行注释:<br /> </span><span id="wmqeeuq" class="postbody"> ctrl+v q入列模?向下或向上移动光?把需要注释的行的开头标记v?然后按大写的I,再插入注释符,比如#,再按esc,׃全部注释?</span> <img src ="http://www.aygfsteel.com/honzeland/aggbug/204865.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/honzeland/" target="_blank">honzeland</a> 2008-05-31 17:22 <a href="http://www.aygfsteel.com/honzeland/archive/2008/05/31/204865.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu下Vim讄高亮http://www.aygfsteel.com/honzeland/archive/2008/03/05/183915.htmlhonzelandhonzelandWed, 05 Mar 2008 03:55:00 GMThttp://www.aygfsteel.com/honzeland/archive/2008/03/05/183915.htmlhttp://www.aygfsteel.com/honzeland/comments/183915.htmlhttp://www.aygfsteel.com/honzeland/archive/2008/03/05/183915.html#Feedback1http://www.aygfsteel.com/honzeland/comments/commentRss/183915.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/183915.html d如下内容Q?br /> if Qt_Co > 1
syntax enable
endif
2、如果不行,再sudo apt-get install vim


honzeland 2008-03-05 11:55 发表评论
]]>
Ubuntu下安装字?/title><link>http://www.aygfsteel.com/honzeland/archive/2008/03/05/183876.html</link><dc:creator>honzeland</dc:creator><author>honzeland</author><pubDate>Wed, 05 Mar 2008 02:44:00 GMT</pubDate><guid>http://www.aygfsteel.com/honzeland/archive/2008/03/05/183876.html</guid><wfw:comment>http://www.aygfsteel.com/honzeland/comments/183876.html</wfw:comment><comments>http://www.aygfsteel.com/honzeland/archive/2008/03/05/183876.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/honzeland/comments/commentRss/183876.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/honzeland/services/trackbacks/183876.html</trackback:ping><description><![CDATA[<span>/usr/share/fonts/truetype/ 下面 的某文g夹,例如yahei <br /> <br /> cd /usr/share/fonts/truetype/yahei <br /> <br /> sudo mkfontscale && sudo mkfontdir && sudo fc-cache -fv</span><br /> <img src ="http://www.aygfsteel.com/honzeland/aggbug/183876.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/honzeland/" target="_blank">honzeland</a> 2008-03-05 10:44 <a href="http://www.aygfsteel.com/honzeland/archive/2008/03/05/183876.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Ubuntu下安装vmvarehttp://www.aygfsteel.com/honzeland/archive/2008/01/25/177813.htmlhonzelandhonzelandFri, 25 Jan 2008 09:41:00 GMThttp://www.aygfsteel.com/honzeland/archive/2008/01/25/177813.htmlhttp://www.aygfsteel.com/honzeland/comments/177813.htmlhttp://www.aygfsteel.com/honzeland/archive/2008/01/25/177813.html#Feedback0http://www.aygfsteel.com/honzeland/comments/commentRss/177813.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/177813.html 下蝲tar包, rpm包安装没成功
sudo apt-get install ia32-libsq句好像没媄响,因ؓ试机是amdQ?4
安装好后Q登录guest OS后,再装vmware-toolsQ不要单独下载,之间vm-install vmware-tools可?br />




honzeland 2008-01-25 17:41 发表评论
]]>
Ubuntu下配|匿名vsftphttp://www.aygfsteel.com/honzeland/archive/2008/01/17/175957.htmlhonzelandhonzelandThu, 17 Jan 2008 07:19:00 GMThttp://www.aygfsteel.com/honzeland/archive/2008/01/17/175957.htmlhttp://www.aygfsteel.com/honzeland/comments/175957.htmlhttp://www.aygfsteel.com/honzeland/archive/2008/01/17/175957.html#Feedback0http://www.aygfsteel.com/honzeland/comments/commentRss/175957.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/175957.html listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
chown_username=honzeland
ftpd_banner=Welcome to blah FTP service.
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
anon_root=/home/ftp

2. Now we must make writable directory for anonymous user.
cd /home/ftp
sudo mkdir opendir
sudo chmod 777 opendir/

Note: 采用proftp作serverQ安装配|更Ҏ



honzeland 2008-01-17 15:19 发表评论
]]>
Pidgin for ubuntu 6.10http://www.aygfsteel.com/honzeland/archive/2007/06/02/121563.htmlhonzelandhonzelandSat, 02 Jun 2007 15:28:00 GMThttp://www.aygfsteel.com/honzeland/archive/2007/06/02/121563.htmlhttp://www.aygfsteel.com/honzeland/comments/121563.htmlhttp://www.aygfsteel.com/honzeland/archive/2007/06/02/121563.html#Feedback0http://www.aygfsteel.com/honzeland/comments/commentRss/121563.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/121563.html
1. Get the source bundle from the Pidgin download site

http://pidgin.im/pidgin/download/source/

2. Extract the contents
tar jxf pidgin-2.0.0.tar.bz2
cd pidgin-2.0.0
3. Install some prerequisites
sudo apt-get install \
libglib1.2-dev \
libglib2.0-dev \
libgtk2.0-dev

sudo apt-get install \
libnspr-dev \
libnspr4 \
libnspr4-0d \
libnss3 \
libnss3-0d \
libnss-db \
libnss-dev \
libssl0.9.8 \
libssl-dev \
openssl \
ssl-cert
(Thanks to the Ubuntu forums for tips on the SSL library packages)

4. Configure the build

Override defaults pointing to older versions of GLib and GTK, then generate the makefiles and other build configuration.
export GLIB_LFLAGS=-lglib-2.0
export GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"

export GTK_LFLAGS="-lgtk-x11-2.0 -lcairo -latk-1.0"
export GTK_CFLAGS="-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include \
-I/usr/include/cairo -I/usr/include/atk-1.0"

export pango_LIBS=-lpango-1.0
export pango_CFLAGS=-I/usr/include/pango-1.0

export CFLAGS="$GLIB_CFLAGS $GTK_CFLAGS $pango_CFLAGS"

./configure
Add a "--prefix=DIR" option to the configure command if you prefer to specify a custom installation directory.

****************************************************************************
 ./configure 出现错误

checking for LIBXML... no
no
configure: error:

You must have libxml2 >= 2.6.0 development headers installed to build.

于是安装
sudo apt-get install libxml2-dev
*****************************************************************************



5. Build the software
make
If that doesn't work, redirect the output of "make" to a file and search for the string "errors:" to see what went wrong:
make > OUTPUT 2>&1
6. Install the software
sudo make install
If you ran the configure script with a custom prefix option pointing to a directory that you can write to without root privileges, then you can run "make install" without the "sudo".

7. Done

So that's it. If you are upgrading from Gaim 1.5, all of your configuration will be copied from the .gaim directory to .purple in your home directory. Your log files will also be moved, but a symbolic link will point from the .gaim/logs directory to the .purple/logs directory.




honzeland 2007-06-02 23:28 发表评论
]]>
Ubuntu6.10安装日记http://www.aygfsteel.com/honzeland/archive/2007/01/20/95067.htmlhonzelandhonzelandSat, 20 Jan 2007 10:51:00 GMThttp://www.aygfsteel.com/honzeland/archive/2007/01/20/95067.htmlhttp://www.aygfsteel.com/honzeland/comments/95067.htmlhttp://www.aygfsteel.com/honzeland/archive/2007/01/20/95067.html#Feedback0http://www.aygfsteel.com/honzeland/comments/commentRss/95067.htmlhttp://www.aygfsteel.com/honzeland/services/trackbacks/95067.html   注意Q基本上可以按照该网上的配|来实现Q只是Lumaqq׃用装?br />
2. 以下软g安装可以先通过ubuntu自带的工P应用E序 -> d/删除...来搜索关键字来查看是否存?br />
3. qq软gQeva      msn:使用gaim中自带的可以了

4. 音乐Qaudacious or beep-media-player

5. 视频Q参?http://wiki.ubuntu.org.cn/EdgyGuide#head-a12a543ea800098877d88c7a8e2813dfb5253a55
   1) totem-xine: sudo apt-get install totem-xine w32codecs libxine-extracodecs
       注意Qtotem-xine在打开urlӞ需要在 打开位置 后,叛_鼠标选择?X输入?Ҏ 默认Q否则,点击打开位置后 ,totem-xine会停止相应?br />   2) vlc
   3) Mplayer
   4) realplayer

6. ftp client: KFTPgrabber or filezilla
   对于KFTPGrabber可以采用apt-get直接安装,安装后在 Setting -> Configure KFTPGrabber... -> 常规 -> Bookmarks 中的~码选择gb2312,然后在Bookmarks -> ~辑书签 中每一站点Advanced中的服务器编码中选择gb2312
   对于filezillaQ?br />?Windows 上有個好用的 FTP client -- FilezillaQ它可以設定遠?FTP Server 的編|而現?Filezilla 也有 Linux 版本了,可以到它官方E站下載Qhttp://filezilla-project.org/nightly.phpQ,解開後(?tar -jxvfQ會有一?filezilla3 的目錄,面分別?bin, share 的目錄,你可以按照下面步驟來安裝Q?br />
   1) ?filezilla3/bin/ 目錄下的檔案攑֜ /usr/local/bin 下(sudo mv filezilla3/bin/* /usr/local/bin/Q?br />   2) ?filezilla3/share/ 目錄下的檔案攑֜ /usr/local/share/filezilla 目錄下(sudo mv filezilla3/share/filezilla /usr/local/share/Q?br />   3) 然後?/usr/share/applications 下新增一?filezilla.desktop 的檔案,內容如下Q?br />
          [Desktop Entry]
          Encoding=UTF-8
          Name=Filezilla 3
          Comment=Filezilla FTP Client
          Exec=filezilla
          Icon=/usr/local/share/filezilla/resources/filezilla.png
          Terminal=false
          Type=Application
          Categories=Application;Network;
  這樣可以在選單下啟?Filezilla 了?br />  而設定遠端伺服器R碼的地方,必須要在站臺理員a定才行Q在站点理 -> 字符?-> 使用自定义字W集 中选择gb2312

7. Qterm: 直接apt-get

8. chm ?pdf览器采用添?删除工具来实?br />
9. ubuntu默认没有装ssh服务Q直接apt-get ssh可以了

10. 更多参?a >http://hi.baidu.com/wmywind/blog/item/16cb6c6089a251de8cb10d62.html

honzeland 2007-01-20 18:51 发表评论
]]>
վ֩ģ壺 | Ʊ| γ| ̩| | ƺ| | ̩| | ˴| | | | | | | | | | | ī񹤿| | | | ̫| | ƽ| | | | ʢ| ƽ| | | | ʡ| | | | Ƽ| |