linux ÖÐÐÂÔö¼ÓÓ²Å̼°À©Õ¹SWAP½»»»·ÖÇø
ÔÚlinuxÖÐ,µ±ÎÒÃÇÒòΪÐèÒªÐÂÌí¼ÓÒ»¿éÓ²ÅÌ,»òÕßÊÇÎÒÃÇswap½»»»·ÖÇø¿Õ¼ä²»¹»,ÐèÒªÔö¼Ó,ÎÒÃÇÔõôÀ´´¦ÀíÄØ?Ê×ÏÈ,ÕÒÒ»¿éÐÂÓ²ÅÌ,ÔڶϵçµÄÇé¿öϽÓÈë,Æô¶¯¼ÆËã»ú,½Ó¾Í½øÐÐÈçϲÙ×÷:
Ò»¡¢ÐÂÔö´ÅÅÌ·ÖÇø¡¢¸ñʽ»¯
Ê×ÏÈÓÃfdisk -l ²é¿´ÐÂÔöÓ²Å̵ÄÅÌ·û£¬ÀýÈç/dev/sdb;
½«Æä·Ö³ÉÈý¸öÇø£º
#fdisk /dev/sdb
½øÈëfdiskģʽ£º
Command (m for help):p //²é¿´ÐÂÓ²Å̵ķÖÇø h//Ϊ°ïÖú
Command (m for help):n //´´½¨Ð·ÖÇø
¿ÉÒÔÓÃmÃüÁîÀ´¿´fdiskÃüÁîµÄÄÚ²¿ÃüÁnÃüÁî´´½¨Ò»¸öзÖÇø£»dÃüÁîɾ³ýÒ»¸ö´æÔڵķÖÇø£»pÃüÁîÏÔʾ·ÖÇøÁÐ±í£»tÃüÁîÐ޸ķÖÇøµÄÀàÐÍIDºÅ£»lÃüÁîÏÔʾ·ÖÇøIDºÅµÄÁÐ±í£»aÃüÁîÖ¸¶¨Æô¶¯·ÖÇø£»wÃüÁîÊǽ«¶Ô·ÖÇø±íµÄÐ޸ĴæÅÌÈÃËü·¢Éú×÷Óá£
Command action
e extended //ÊäÈëeΪ´´½¨À©Õ¹·ÖÇø
p primary partition (1-4) //ÊäÈëpΪ´´½¨Ö÷·ÖÇø£¬ÕâÀïÎÒÃÇÑ¡Ôñp
Partion number(1-4)£º1 //µÚÒ»¸öÀ©Õ¹·ÖÇø£¬°´ÄãÐèÇó¿ÉÒÔ×î¶à·Ö4¸öÖ÷·ÖÇø
First Cylinder(1-1014,default 1): 1 //µÚÒ»¸öÖ÷·ÖÇøÆðʼµÄ´ÅÅÌ¿éÊý
Last cylindet or +siza or +sizeM or +sizeK: +1024MB //¿ÉÒÔÊÇÒÔMBΪµ¥Î»µÄÊý×Ö»òÕßÒÔ´ÅÅÌ¿éÊý£¬ÕâÀïÎÒÃÇÊäÈë+1024MB±íʾ·ÖÇø´óСΪ1G¡£
ÕâÑùÎÒÃǾʹ´½¨ÍêÒ»¸ö·ÖÇø£¬Èç¹ûÒª´´½¨¸ü¶à·ÖÇø¿ÉÒÔÕÕÉÏÃæµÄ²½Öè¼ÌÐø´´½¨¡£
´´½¨ÍêºóÓÃw±£´æ·ÖÇø¡£
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
ÕâÑù¾Í·ÖÇøÍêÁË£¬ÎÒÃÇ»¹Òª½øÐиñʽ»¯
#mkfs -t ext3 -c /dev/sdb1 //Èç¹ûÓжà¸ö·ÖÇø£¬Ôò·ÖÇøÐÞ¸ÄΪsdb2ÕâÑù¸ñʽ»¯ÍêºóÎÒÃÇÐèÒª½øÐйÒÔØ·ÖÇø£¬
#mkdir www //´´½¨/wwwĿ¼£¬ÎÒÃǽ«°ÑеķÖÇø¹Òµ½wwwÏÂ
#mount /dev/sdb1 /www //½«/dev/sdb1¹ÒÔص½/www
# df //ÓÃdfÃüÁî½øÐв鿴
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 3771316 1388956 2190788 39% /
/dev/sda1 101089 9463 &nbs
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
http://www.chineselinuxuniversity.net/articles/30602.shtml
Linux½ø³Ìµ÷¶È³ÌÐòËäÈ»
Ìرð
ÖØÒª
£¬µ«Ëü²»¹ýÊÇÒ»¸ö´æÔÚÓÚÄں˿ռäÖеĺ¯Êý¶øÒÑ£¬²¢²»ÉñÃØ¡£LinuxµÄµ÷¶È³ÌÐòÊÇÒ»¸ö½ÐSchedule£¨£©µÄº¯Êý£¬Õâ¸öº¯Êý±»µ÷ÓõÄƵÂʺܸߣ¬ÓÉËüÀ´¾ö¶¨ÊÇ·ñ
Òª½øÐнø³ÌµÄÇл»£¬Èç¹ûÒªÇл»µÄ»°£¬Çл»µ½Äĸö½ø³ÌµÈµÈ¡£ÎÒÃÇ
ÏÈÀ´ ......
¡¡Ò»:Ç°ÑÔ
¡¡¡¡ÎÒÃÇÔÚ֮ǰ·ÖÎö¹ýinput×ÓϵͳºÍttyÉ豸Çý¶¯¼Ü¹¹.½ñÌìÐèÒª½«Á½Õß½áºÏÆðÀ´.¿´¿´linuxÖеĿØÖÆ̨ÊÇÔõôÑùʵÏÖµÄ.
¡¡¡¡¶þ:¿ØÖÆ̨Çý¶¯µÄ³õʼ»¯
¡¡¡¡Ö®Ç°ÔÚ·ÖÎöttyÇý¶¯¼Ü¹¹µÄʱºòÔø·ÖÎöµ½.Ö÷É豸Ϊ4,´ÎÉ豸Ϊ0µÄÉ豸½Úµã,¼´/dev/tty0Ϊµ±Ç°µÄ¿ØÖÆÖÕ¶Ë.
¡¡¡¡ÓÐtty_init()ÖÐ,ÓÐÒÔÏ´úÂë¶Î:
¡¡¡¡static int __ini ......
LinuxÖУ¬cron±»ÓÃÀ´µ÷¶ÈÖظ´µÄÈÎÎñ£¬linux atÃüÁî±»ÓÃÀ´ÔÚÖ¸¶¨Ê±¼äÄÚµ÷¶ÈÒ»´ÎÐÔµÄÈÎÎñ¡£
ҪʹÓÃlinux atÃüÁÄã±ØÐë°²×°ÁËat RPMÈí¼þ°ü£¬²¢ÇÒ atd·þÎñ±ØÐëÔÚÔËÐС£
¿ÉÒÔʹÓÃÒ»ÏÂÃüÁîÆô¶¯atd·þÎñ£º
[root@sso_4 sbin]# /sbin/service atd start
ÒªÅж¨¸ÃÈí¼þ°üÊÇ·ñ±»°²×° ......