ǶÈëʽLinuxÄÚºËÓÅ»¯²Ã¼ô
ǶÈëʽLinuxÄÚºËÓÅ»¯²Ã¼ô
ÓÅ»¯1¡¢È¡ÏûÐéÄâÄÚ´æµÄÖ§³Ö
General setup --->
[ ] Support for paging of anonymous memory (swap)
ÓÅ»¯2¡¢Ê¹ÓÃĬÈϵÄIOµ÷¶ÈÆ÷£¬È¡ÏûÆäËûµÄµ÷¶ÈÆ÷
-*- Enable the block layer --->
IO Schedulers --->
< > Anticipatory I/O scheduler
<*> Deadline I/O scheduler
< > CFQ I/O scheduler
Default I/O scheduler (Deadline) --->
ÓÅ»¯3¡¢È¡Ïû¶Ô¾É°æ±¾¶þ½øÖÆÖ´ÐÐÎļþµÄÖ§³Ö
Userspace binary formats --->
< > Kernel support for a.out and ECOFF binaries
ÓÅ»¯4¡¢È¡Ïû²»±ØÒªµÄÉ豸µÄÖ§³Ö
Device Drivers --->
<*> Memory Technology Device (MTD) support --->
[*] MTD partitioning support
< > RedBoot partition table parsing
RAM/ROM/Flash chip drivers --->
< > Detect flash chips by Common Flash Interface (CFI) probe
< > Detect non-CFI AMD/JEDEC-compatible flash chips
< > Support for RAM chips in bus mapping
< > Support for ROM chips in bus mapping
< > Support for absent chips in bus mapping
< > Parallel port support --->
[ ] Block devices --->
< > ATA/ATAPI/MFM/RLL support --->
Input device support --->
[*] Keyboards --->
< > AT keyboard
Character devices --->
[ ] Non-standard serial port support
S
Ïà¹ØÎĵµ£º
¸öµäÐ͵Ä×ÀÃæLinuxϵͳ°üÀ¨3¸öÖ÷ÒªµÄÈí¼þ²ã---linuxÄںˡ¢C¿âºÍÓ¦ÓóÌÐò´úÂë¡£
¡¡¡¡ÄÚºËÊÇΨһ¿ÉÒÔÍêÈ«¿ØÖÆÓ²¼þµÄ²ã£¬ÄÚºËÇý¶¯³ÌÐò´ú±íÓ¦ÓóÌÐòÓëÓ²¼þÖ®¼ä½øÐлỰ¡£ÄÚºËÖ®ÉÏÊÇC¿â£¬¸ºÔð°ÑPOSIX APIת»»ÎªÄں˿ÉÒÔʶ±ðµÄÐÎʽ£¬È»ºóµ÷ÓÃÄںˣ¬´ÓÓ¦ÓóÌÐòÏòÄں˴«µÝ²ÎÊý¡£Ó¦ÓóÌÐòÒÀ¿¿Çý¶¯ÄÚºËÀ´Íê³ÉÌض¨µÄÈÎÎñ¡£
¡¡¡¡ÔÚÉ ......
²é¿´µ±Ç°Ä¿Â¼ÏÂÎļþµÄ¸öÊý
ls -l | grep "^-" | wc -l
²é¿´µ±Ç°Ä¿Â¼ÏÂÎļþµÄ¸öÊý£¬°üÀ¨×ÓĿ¼ÀïµÄ¡£
ls -lR| grep "^-" | wc -l
²é¿´Ä³Ä¿Â¼ÏÂÎļþ¼Ð£¨Ä¿Â¼£©µÄ¸öÊý£¬°üÀ¨×ÓĿ¼ÀïµÄ¡£
ls -lR| grep "^d" | wc -l
¼òҪ˵Ã÷£º
ls -l
³¤ÁбíÊä³ö¸ÃĿ¼ÏÂÎļþÐÅÏ¢(×¢ÒâÕâÀïµÄÎļþ£¬²»Í¬ÓÚÒ»°ãµÄÎļþ£¬¿ÉÄÜÊÇÄ ......
ÓÉÓÚÎÒÃÇÊÇÔÚ¾ÖÇøÍøÄÚÓûúÆ÷×ö²âÊÔ·þÎñÆ÷£¬»úÆ÷±È½Ï½ôÕÅ£¬¶øIPµØÖ·µ¹ÊDZȽϸ»Ó࣬ËùÒÔʹÓÃͬһ»úÆ÷µÄ¶àIPÀ´ÅäÖÃÐéÄâÖ÷»ú¾ÍÊÇÒ»¸ö²»´íµÄÑ¡ÔñÁË¡£ÒòΪÎÒ ÏëÔÚͬһ»úÆ÷ÉϽøÐÐÁ½¸öϵͳµÄ²¿Êð£¬ËùÒÔ¾ÍʹÓÃapacheÀ´½øÐÐÐéÄâÖ÷»úµÄ¶àIPÅäÖÃÁË¡£ºÃÁË£¬¿ªÊ¼ÎÒÃǵÄÅäÖÃÖ®ÂðÉ~~~
Ê×ÏȾÍÊÇapac ......
Linux½ø³Ì¹ÜÀíÃüÁîÏê½â(psºÍtop)
1.psÃüÁî
×÷ÓãºpsÃüÁîÖ÷Òª²é¿´ÏµÍ³Öнø³ÌµÄ״̬¡£
¸ñʽ£ºps [Ñ¡Ïî]
Ö÷ҪѡÏîÈçÏ¡£
-A£ºÏÔʾϵͳÖÐËùÓнø³ÌµÄÐÅÏ¢¡£
-e£ºÏÔʾËùÓнø³ÌµÄÐÅÏ¢¡£
-f£ºÏÔʾ½ø³ÌµÄËùÓÐÐÅÏ¢¡£
-l£ºÒÔ³¤¸ñʽÏÔʾ½ø³ÌÐÅÏ¢¡£
-r£ºÖ»ÏÔʾÕýÔÚÔËÐеĽø³Ì¡£
-u£ºÏÔʾÃæÏòÓû§µÄ¸ñʽ£¨°üÀ¨Óû§Ãû¡¢CPU¼°ÄÚ ......
Ê×ÏÈÀ´Á˽âÒ»ÏÂlinuxÖзÖÇøµÄ¸ÅÄî¡£
ÔÚLinuxÖУ¬·ÖÇøÊÇÕâÑù±íʾµÄ
¡¡¡¡¡¡¡¡/dev/hda
¡¡¡¡¡¡¡¡/dev/hda1
¡¡¡¡¡¡¡¡/dev/hda2
¡¡¡¡¡¡¡¡/dev/hda5
¡¡¡¡¡¡¡¡/dev/sdb1
ÒÔ /dev/hda5 ΪÀý:
ÒòΪÔÚLinuxÖУ¬Ã¿Ò»¸öÉ豸¶¼ÊÇÓà /dev/ Îļþ¼ÐϵÄÒ»¸ö ......