国产亚洲综合视频,亚洲国产区男人本色在线观看,亚洲精品国产高清嫩草影院http://m.tkk7.com/jicheng687/category/46769.htmlSET, Python, Java, DB, Archzh-cnMon, 29 Aug 2011 21:24:03 GMTMon, 29 Aug 2011 21:24:03 GMT60Linux Directory Structure (File System Structure) Explained with Examples http://m.tkk7.com/jicheng687/archive/2011/08/29/357483.html步步為營步步為營Mon, 29 Aug 2011 03:41:00 GMThttp://m.tkk7.com/jicheng687/archive/2011/08/29/357483.htmlhttp://m.tkk7.com/jicheng687/comments/357483.htmlhttp://m.tkk7.com/jicheng687/archive/2011/08/29/357483.html#Feedback1http://m.tkk7.com/jicheng687/comments/commentRss/357483.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/357483.htmlFor example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories?
In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories  閱讀全文

步步為營 2011-08-29 11:41 發表評論
]]>
【轉】Linux IPChttp://m.tkk7.com/jicheng687/archive/2011/07/31/355429.html步步為營步步為營Sun, 31 Jul 2011 00:53:00 GMThttp://m.tkk7.com/jicheng687/archive/2011/07/31/355429.htmlhttp://m.tkk7.com/jicheng687/comments/355429.htmlhttp://m.tkk7.com/jicheng687/archive/2011/07/31/355429.html#Feedback0http://m.tkk7.com/jicheng687/comments/commentRss/355429.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/355429.html
一)Linux環境進程間通信(一)管道及有名管道
http://www.ibm.com/developerworks/cn/linux/l-ipc/part1/

二)Linux環境進程間通信(二): 信號
上:http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html
下:http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index2.html

三)Linux環境進程間通信(三)消息隊列
http://www.ibm.com/developerworks/cn/linux/l-ipc/part3/

四)Linux環境進程間通信(四)信號燈
http://www.ibm.com/developerworks/cn/linux/l-ipc/part4/

五)Linux環境進程間通信(五): 共享內存
上:http://www.ibm.com/developerworks/cn/linux/l-ipc/part5/index1.html
下:http://www.ibm.com/developerworks/cn/linux/l-ipc/part5/index2.html

步步為營 2011-07-31 08:53 發表評論
]]>
不錯的Linux性能監控工具--dstathttp://m.tkk7.com/jicheng687/archive/2011/03/17/346433.html步步為營步步為營Wed, 16 Mar 2011 16:19:00 GMThttp://m.tkk7.com/jicheng687/archive/2011/03/17/346433.htmlhttp://m.tkk7.com/jicheng687/comments/346433.htmlhttp://m.tkk7.com/jicheng687/archive/2011/03/17/346433.html#Feedback0http://m.tkk7.com/jicheng687/comments/commentRss/346433.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/346433.htmlOS實時監控工具dstat,整合了vmstat, iostat, ifstat, netstat等常見os監控工具的優點,輸出的結果簡單直觀,并且結果可以保存到csv文件。
dokie@ubuntu:~$ dstat
----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq
| read  writ| recv  send|  in   out | int   csw 
 
14   5  78   3   0   0| 553k  109k|   0     0 |  83B  989B| 983  2190 
  
8   2  90   0   0   0|   0     0 |2076B 1383B|   0     0 |1076  1407 
  
9   3  89   0   0   0|   0    72k|7530B  420B|   0     0 | 721  1501 
  
9   4  87   0   0   0|   0     0 |9547B  564B|   0     0 | 750  1474 
  
8   2  89   0   0   0|   0     0 |  12k  672B|   0     0 | 772  1681 
  
9   2  89   0   0   0|   0     0 |  13k  792B|   0     0 | 677  1396 


dokie@ubuntu:~$ dstat -h
Usage: dstat [
-afv] [options..] [delay [count]]
Versatile tool 
for generating system resource statistics

Dstat options:
  
-c, --cpu              enable cpu stats
     
-0,3,total           include cpu0, cpu3 and total
  
-d, --disk             enable disk stats
     
-D total,hda           include hda and total
  
-g, --page             enable page stats
  
-i, --int              enable interrupt stats
     
-5,eth2              include int5 and interrupt used by eth2
  
-l, --load             enable load stats
  
-m, --mem              enable memory stats
  
-n, --net              enable network stats
     
-N eth1,total          include eth1 and total
  
-p, --proc             enable process stats
  
-r, --io               enable io stats (I/O requests completed)
  
-s, --swap             enable swap stats
     
-S swap1,total         include swap1 and total
  
-t, --time             enable time/date output
  
-T, --epoch            enable time counter (seconds since epoch)
  
-y, --sys              enable system stats

  
--aio                  enable aio stats
  
--fs                   enable fs stats
  
--ipc                  enable ipc stats
  
--lock                 enable lock stats
  
--raw                  enable raw stats
  
--socket               enable socket stats
  
--tcp                  enable tcp stats
  
--udp                  enable udp stats
  
--unix                 enable unix stats
  
--vm                   enable vm stats

  
-M stat1,stat2         enable external plugins
     
--mods stat1,stat2

  
--list                 list all internal and external plugins

  
-a, --all              equals -cdngy (default)
  
-f, --full             expand -C, -D, -I, -N and -S discovery lists
  
-v, --vmstat           equals -pmgdsc -D total

  
--integer              show integer values
  
--nocolor              disable colors (implies --noupdate)
  
--noheaders            disable repetitive headers
  
--noupdate             disable intermediate updates
  
--output file          write CSV output to file

  delay is the delay in seconds between each update
  count is the number of updates to display before exiting
  The 
default delay is 1 and count is unspecified (unlimited)


常用的命令:dstat -cdlmnpsy
導出為CVS:
dstat -ta --output osstat.csv



步步為營 2011-03-17 00:19 發表評論
]]>
Programming config. for Ubuntuhttp://m.tkk7.com/jicheng687/archive/2011/03/16/346422.html步步為營步步為營Wed, 16 Mar 2011 11:46:00 GMThttp://m.tkk7.com/jicheng687/archive/2011/03/16/346422.htmlhttp://m.tkk7.com/jicheng687/comments/346422.htmlhttp://m.tkk7.com/jicheng687/archive/2011/03/16/346422.html#Feedback0http://m.tkk7.com/jicheng687/comments/commentRss/346422.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/346422.html1. 安裝JDK 

http://wiki.ubuntu.org.cn/Java%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE

2. 安裝Python

  1). apt-get install python

 2). PyDev for eclipse: 

 Name:PyDev,Location:http://pydev.org/updates

  Ref:http://www.cnblogs.com/Realh/archive/2010/10/10/1847251.html

3. 安裝dstat--性能監測工具
     apt-get install dstat



步步為營 2011-03-16 19:46 發表評論
]]>
Install MySQL5.1.25 on Ubuntuhttp://m.tkk7.com/jicheng687/archive/2010/12/29/341827.html步步為營步步為營Tue, 28 Dec 2010 16:20:00 GMThttp://m.tkk7.com/jicheng687/archive/2010/12/29/341827.htmlhttp://m.tkk7.com/jicheng687/comments/341827.htmlhttp://m.tkk7.com/jicheng687/archive/2010/12/29/341827.html#Feedback0http://m.tkk7.com/jicheng687/comments/commentRss/341827.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/341827.html
-------------------main procedure-------------------

shell> groupadd mysql

shell> useradd -g mysql mysql

shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -

shell> cd mysql-VERSION

shell> ./configure --prefix=/usr/local/mysql

shell> make

shell> make install

shell> cp support-files/my-medium.cnf /etc/my.cnf

shell> cd /usr/local/mysql

shell> bin/mysql_install_db --user=mysql

shell> chown -R root  .

shell> chown -R mysql var

shell> chgrp -R mysql .

shell> bin/mysqld_safe --user=mysql &

------------------initilize the password ------------------
#set the password for root
shell> mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd');

#creat user mysql and set its password '123456'
CREATE USER mysql@localhost IDENTIFIED BY '123456';
GRANT ALL ON db_name.* TO mysql@localhost


References: http://dev.mysql.com/doc/refman/5.1/zh/index.html


步步為營 2010-12-29 00:20 發表評論
]]>
crontab 定時任務http://m.tkk7.com/jicheng687/archive/2010/10/28/336412.html步步為營步步為營Thu, 28 Oct 2010 14:13:00 GMThttp://m.tkk7.com/jicheng687/archive/2010/10/28/336412.htmlhttp://m.tkk7.com/jicheng687/comments/336412.htmlhttp://m.tkk7.com/jicheng687/archive/2010/10/28/336412.html#Feedback0http://m.tkk7.com/jicheng687/comments/commentRss/336412.htmlhttp://m.tkk7.com/jicheng687/services/trackbacks/336412.html 

crontab 五個域的含義
0~59 表示分
1~23 表示小時
1~31 表示日
1~12 表示月份
0~6 表示星期(其中0表示星期日

* * * * * /home/milch/tmpmail      #每隔一分鐘執行一次后臺程序tmpmail
 

腳本的路徑必須為全局路徑
一個定時任務例子:
  1)設置環境變量
     在$HOME  .profile后面添加  export $EDITOR=vi
   2) 新建一個文件 davecron
        * * * * * /bin/echo `date` >>$HOME/dateInfo.txt 
   3) 提交給cron進程
       crontab davecron
   4)查看定時任務
       crontab -l
//
root@ubuntu:/var/spool/cron/crontabs# cat root
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (davecron installed on Mon Oct 25 11:29:52 2010)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
* * * * * /bin/echo `date` >>$HOME/dateInfo.txt
//
---------------------------------------------
重啟crond:
service crond restart
或者
/etc/rc.d/init.d/crond restart

查看自動自行項:
crontab -l

添加/編輯自動執行項:
crontab -e
----------------------------------------------
at命令
at命令,用戶向cron守護進程提-交作業,提交后保留所有當前的環境變量
/etc 下at.allow & at.deny 規定哪些用戶可以使用at和不可能使用

提交一個任務
 

列出所提交的作業  at -l
清除一個作業   atrm job n.o.   # atrm 8


向后臺提交命令
命令 &
find /etc -name "passwd" -print >$HOME/find.txt 2>&1 &

退出帳戶后仍執行命令
nohup command &

-------------
SSH
1. 首先在服務器上安裝ssh的服務器端。
$ sudo aptitude install openssh-server

2. 啟動ssh-server。
$ /etc/init.d/ssh restart

3. 確認ssh-server已經正常工作。
$ netstat -tlp
tcp6    0    0 *:ssh                *:*                   LISTEN     -
看到上面這一行輸出說明ssh-server已經在運行了。
---------------

 



步步為營 2010-10-28 22:13 發表評論
]]>
主站蜘蛛池模板: 国产免费人成在线视频| 国产免费久久精品99re丫y| 免费少妇a级毛片| 亚洲av色香蕉一区二区三区蜜桃| 青草草色A免费观看在线| 亚洲av成人综合网| 在人线av无码免费高潮喷水| 亚洲精品免费网站| 国产精品免费小视频| 国产亚洲综合视频| 亚洲午夜爱爱香蕉片| 中文字幕免费播放| 亚洲av色影在线| 最近中文字幕大全中文字幕免费 | 东方aⅴ免费观看久久av| 久久久亚洲精品蜜桃臀| a毛片在线还看免费网站| 911精品国产亚洲日本美国韩国 | 色屁屁www影院免费观看视频| 免费h成人黄漫画嘿咻破解版| 一级毛片不卡免费看老司机| 亚洲无线码一区二区三区| 91大神在线免费观看| 亚洲欧美成人av在线观看| 亚洲伊人久久成综合人影院| 免费的全黄一级录像带| 亚洲人成电影在线观看青青| 国产大片免费观看中文字幕| 九九全国免费视频| 亚洲无限乱码一二三四区| 国产成人免费片在线观看| 国内精品免费视频精选在线观看| 亚洲女人18毛片水真多| 免费中文字幕不卡视频| 日韩免费观看一区| 亚洲av成人无码网站…| 久久精品亚洲中文字幕无码网站| 女人张开腿给人桶免费视频| 99久久免费国产精品热| 亚洲日韩中文字幕一区| 国产AV无码专区亚洲AV男同|