linuxÉ豸Çý¶¯Ñ§Ï°ÐèÒªÕÆÎյĻù´¡¼¼Êõ
linuxÉ豸Çý¶¯µÄѧϰÊÇÒ»ÏîºÆ´óµÄ¹¤³Ì,¶ÁÕßÐèÒªÊ×ÏÈÕÆÎÕÒÔÏ»ù´¡:
1.Á¼ºÃµÄÓ²¼þ»ù´¡,¶®µÃSRAM,FLASH,SDRAM,Ó²Å̵ĶÁд·½Ê½,UART,I2C,USBµÈÉ豸½Ó ¿Ú,ÂÖѯ,ÖжÏ,DMAµÄÔÀí,PCI×ÜÏߵŤ×÷·½Ê½ÒÔ¼°CPUµÄÄÚ´æ¹ÜÀíµ¥Ôª(MMU)µÈ.
2.Á¼ºÃµÄCÓïÑÔ»ù´¡,ÄÜÁé»îµØÔ˶¯CÓïÑԵĽṹָÕë,º¯ÊýÖ¸Õë¼°Äڴ涯̬ÉêÇëºÍÊͷŵÈ.
3 .ÓÐÒ»¶¨µÄlinuxÄں˻ù´¡,ÖÁÉÙÒªÁ˽âÉ豸Çý¶¯ÓëÄں˵ĽӿÚ,ÓÈÆäÊǶÔÓÚ¿éÉ豸,ÍøÂçÉ豸,FLASHÉ豸,´®¿ÚÉ豸µÈ¸´ÔÓÉ豸.
4.Á¼ºÃµÄ¶àÈÎÎñ²¢·¢¿ØÖƺÍͬ²½µÄ»ù´¡,ӦΪÔÚÉ豸Çý¶¯Öлá´óÁ¿Ê¹ÓÃ×ÔÐýËø,»¥³â,ÐźÅÁ¿,µÈ´ý¶ÓÁеȲ¢·¢Óëͬ²½»úÖÆ,
Ïà¹ØÎĵµ£º
SystemTap ÊǼà¿ØºÍ¸ú×ÙÔËÐÐÖÐµÄ Linux Äں˵IJÙ×÷µÄ¶¯Ì¬·½·¨¡£Õâ¾ä»°µÄ¹Ø¼ü´ÊÊǶ¯Ì¬£¬ÒòΪ SystemTap ûÓÐʹÓù¤¾ß¹¹½¨Ò»¸öÌØÊâµÄÄںˣ¬¶øÊÇÔÊÐíÄúÔÚÔËÐÐʱ¶¯Ì¬µØ°²×°¸Ã¹¤¾ß¡£Ëüͨ¹ýÒ»¸öÃûΪKprobes µÄÓ¦Óñà³Ì½Ó¿Ú£¨API£©À´ÊµÏÖ¸ÃÄ¿µÄ£¬±¾ÎĽ«Ì½Ë÷Õâ¸ö API¡£ÎÒÃÇÊ×ÏÈÁ˽âÒÔÇ°µÄһЩÄں˸ú×Ù·½·¨£¬È»ºóÔ ......
0, ¸´Ï°ÒѾѧ¹ýµÄ Linux ֪ʶ£¬ÕûÀíÁËЩÈÝÒ×ÍüµôÁ˵ķÅÕâ
1, ÃüÁîÐÐÖÐÒ»´Î¿ÉÒÔÊäÈë¶à¸öÃüÁÖмäÒԷֺźŸô¿ª
2, ÃüÁî¹ý³¤¿ÉÒÔÓÃ'\' £¨backslash £©¶Ï¿ªÐ´µ½¶à¸öÎïÀíÐÐÉÏ
3, I/O Öض¨ÏòµÄÊéд˳ÐòÊÇÖØÒªµÄ£¬ÏµÍ³´Ó×óÏòÓÒɨÃèÃüÁîÐÐ
4, ¹ÜµÀÊÇÒ»ÖÖÌØÊâµÄI/O Öض¨Ïò
5, tee Èýͨ¹ ......
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec command {} \; -----½«²éµ½µ ......
¸ÅÊö
1. “/etc/profile”Îļþ
2. “bdflush”²ÎÊý
3. “ip_local_port_range”²ÎÊý
4. “/etc/nsswitch.conf”Îļþ
5. “/proc”Îļþϵͳ
6. “ulimit”²ÎÊý
7. Ôö¼Óϵͳ´ò¿ªµÄÎļþÊýÄ¿
8. Îļþ“atime”ÊôÐÔ
9. ÎļþµÄ“noatime&rd ......
ûÓÐÔĶÁ¹ýÔ´Âë֮ǰ,¶Ô²Ù×÷ϵͳ×ÜÊDZ§ÓÐÉñÃظÐ,×ÜÊÇÈÏΪ²Ù×÷ϵͳÊǺܰÂÃîµÄ¶«Î÷. Æäʵ,¶ÔÓÚÒ»¸öÓÐÒ»¶¨±à³Ì»ù´¡ºÍϵͳ֪ʶµÄ³ÌÐòÔ±,²Ù×÷ϵͳ²¢²»ÊÇ¿ÉÍû¶ø²»¿É¼°µÄ¶«Î÷. ²Ù×÷ϵͳµÄ×îÖÕÄ¿±êÖ»ÊÇÔÚÓ¦ÓóÌÐò²ãÃæÓëÓ²¼þ²ãÃæÖ®¼ä×öµÄÒ»²ãе÷,¿ÉÄÜÕâ¸ö¶¨ÒåÓÐЩƬÃæ,µ«±¾×ÅÕâÑùµÄ˼Ïë¶Á´úÂëÓ¦¸Ã»áÇáËÉÒ»µã.
ÓÉÓÚ·¢Õ¹µ½ÏÖÔÚ,LINU ......