AIXϵͳ²Ù×÷Ô±ÊÖ²á
µÚ 1 Â¥£ºAIXϵͳÈÕ³£¹ÜÀí
µÚ 2 Â¥£ºAIXµÄ°æ±¾ºÅ´ú±íʲôÒâ˼? µÚ 3 Â¥£ºAIX×ÊÔ´¼à¿ØÓëµ÷Öƹ¤¾ß µÚ 4 Â¥£ºAIX³£ÓÃÃüÁî
µÚ 5 Â¥£º³£ÓÃAIXÂÛ̳µØÖ·¡¢×ÊÁÏÏÂÔصØÖ·¡¢FTPµØÖ· µÚ 6 Â¥£ºAIX²Ù×÷ϵͳʹÓÃÐĵÃ
µÚ 7 Â¥£ºAIX»·¾³ÈçºÎÕÒµ½»î¶¯×îƵ·±µÄ½ø³Ì µÚ 8 Â¥£ºAIXÖв鿴Óû§¶Ôϵͳ×ÊÔ´µÄʹÓÃÇé¿ö µÚ 9 Â¥£ºAIXµÄϵͳ±¸·ÝºÍ»Ö¸´
µÚ 10 Â¥£ºAIXÈçºÎ×Ô¶¯Æô¶¯ºÍ¹Ø±ÕÈí¼þµÄÔËÐÐ?
µÚ 11 Â¥£ºÈçºÎ²é¿´²Ù×÷ϵͳÖÐÊÇ·ñ°²×°ÁËij¸ö²¹¶¡³ÌÐò? µÚ 12 Â¥£ºÈçºÎ¼ì²éAIXÎļþϵͳµÄ²¡¶¾£¿ µÚ 13 Â¥£ºAIXÈçºÎ½â¾ö\ÎÊÌâ µÚ 14 Â¥£ººÎΪAIX 5L?
µÚ 15 Â¥£ºÊ¹ÓÃÃüÁîÐа²×°É¾³ýÎļþ°ü µÚ 16 Â¥£ººÎΪAIX/Montery
µÚ 17 Â¥£ºÈçºÎ²éÕÒϵͳÖеÄij¸öÎļþ´æÔÚÓÚÄĸöÎļþ¼¯ÖÐ? µÚ 18 Â¥£ºÈçºÎ¼õС /var/adm/wtmp ÎļþµÄ´óС? µÚ 19 Â¥£ºAIXʹÓÃÒì²½I/O(aio)Ìá¸ßϵͳÐÔÄÜ µÚ 20 Â¥£ºAIXÈçºÎ¹ÜÀíPaging Space
µÚ 21 Â¥£ºÈçºÎÔÚAIX 4.3Öа²×°Áª»úÊֲ᣿ µÚ 22 Â¥£ºÈçºÎÔÚAIXÖÐÉèÖÃÖÐÎÄ»·¾³ µÚ 23 Â¥£ºAIX µÄÐí¿ÉȨÏÞ---ACL µÚ 24 Â¥£ºAIX¹ÜÀí¾Ñé̸ µÚ 25 Â¥£ºAIX¼ò½é
µÚ 26 Â¥£ºAIXÍøÂçÕï¶Ï¼°½â¾öÏÖ³¡ÊµÀý µÚ 27 Â¥£ºIBMѲ¼ìÁ÷³Ì
µÚ 28 Â¥£ºAIX Useful Commands µÚ 29 Â¥£ºBACKUPS µÚ 30 Â¥£ºDEVICES
µÚ 31 Â¥£ºFILE SYSTEMS µÚ 32 Â¥£ºAIX¾ÑéËѼ¯ µÚ 33 Â¥£ºfindµÄÓ÷¨
µÚ 34 Â¥£ºRS/6000СÐÍ»ú¹ÊÕϵĻù±¾¶¨Î»·½·¨ µÚ 35 Â¥£ºÊ¹ÓÃlastcommÃüÁî²é¿´Óû§ÃüÁîÀúÊ· µÚ 36 Â¥£º¹ØÓÚOS¶¨ÆÚ¼ì²é¼°Î¬»¤
µÚ 37 Â¥£º¹ØÓÚAIXϵͳÎļþ°²È«ÐÔ·½ÃæµÄ¼¸µã¿¼ÂÇ µÚ 38 Â¥£ºAIX×ÊÔ´¼à¿ØÓëµ÷Öƹ¤¾ß µÚ 39 Â¥£ºfastt¶¯Ì¬À©Õ¹ÈÝÁ¿
µÚ 40 Â¥£ºaix²Ù×÷ϵͳµÄ±¸·ÝºÍ»Ö¸´ µÚ 41 Â¥£ºÊ¹ÓÃrecreatevgÀ´ÐÞ¸´¾í×é
µÚ 42 Â¥£º×éÖ¯¹æ»®Âß¼¾íÒÔÔö¼ÓϵͳµÄI/OÐÔÄܼ°¿É¿¿ÐÔ
µÚ 43 Â¥£ºÉîÈëÌÖÂÛlvm£¬Äã¸ÃÈçºÎ»»Ó²ÅÌ£¿ µÚ 44 Â¥£ºÄ£ÄâÓ²Å̸ü»»
µÚ 45 Â¥£ºAIX×ÊÔ´¼à¿ØÓëµ÷Öƹ¤¾ß
µÚ 46 Â¥£º¹ØÓÚAIXϵͳÎļþ°²È«ÐÔ·½ÃæµÄ¼¸µã¿¼ÂÇ µÚ 47 Â¥£ºÊ¹ÓÃlastcommÃüÁî²é¿´Óû§ÃüÁîÀúÊ· µÚ 48 Â¥£ºRS/6000СÐÍ»ú¹ÊÕϵĻù±¾¶¨Î»·½·¨ µÚ 1 Â¥£ºAIXϵͳÈÕ³£¹ÜÀí
1£® ÎļþϵͳÊÇ·ñÂú ·½·¨£º df ¨Ck ¿ÉÒÔÒÔKΪµ¥Î»¼ì²éÎļþϵͳµÄʹÓÃÂÊ¡££¨90%ÒÔÉÏ£¬ÐèÒªµ÷Õû£© 2£® ¼ì²éϵͳ³ö´íÈÕÖ¾ ʹÓÃerrpt |moreÀ´¼ì²é Çå³ýÏÖÓеÄlog: Errclear 0 3£® ¼ì²éϵͳºÏ·¨/·Ç·¨µÇ½Çé¿ö
ʹÓÃLastÃüÁîÀ´¼ì²éÀ´×ԵǽµÄµØ·½¡£ 4£® ¼ì²éϵͳÊÇ·ñÓо޴óµÄCoreÎļþÉú³É
ʹÓà find / -name core ¨CprintÀ´¼ì²é¡£¶ÔCoreÎļþ£¬Ò»°ãÖ±½Óɾ³ý¾Í¿ÉÒÔÁË¡£
5£® ϵͳÐÔÄܼì²é£º
a) CPUÐÔÄÜ£ºÊ¹ÓÃVmstat, topasÀ´¼ì²é
b) ÄÚ´æʹÓÃÇé¿ö£ºÒ²ÊÇʹÓÃtopas, vmstatÀ´¼ì²é c) ¼ì²éIOƽºâʹÓÃÇé¿ö£ºÊ¹ÓÃiostatÀ´¼ì²é d) ½»»»¿Õ¼äʹÓÃÇé¿ö£ºÊ¹ÓÃlsps ¨CaÀ´¼ì²é 6£® Mail¼ì²é
7£® Diag Ò»¸öÔÂÒ»´Î
µÚ 2 Â¥£ºAIXµÄ°æ±¾ºÅ´ú±íʲôÒâ˼?
AIXµÄ°æ±¾ºÅµÄ¸ñʽͨ³£ÎªAIX x.x.x.x.ÀýÈç: AIX 4.3.3.1.Æä´ú±íÒâÒå·Ö±ðΪ: ²Ù×÷ϵͳ°æ±¾ºÅ(version).·¢ÐаæºÅ(release).¸Ä½ø°æºÅ(modification).ÐÞÕý°æºÅ(fix)
µÚ 3 Â¥£ºAIX×ÊÔ´¼à¿ØÓëµ÷Öƹ¤¾ß
±¾Îijö×Ô:http://www.ccw.com.cn/ ×÷Õß: ½³ÉР(2002-04-15 06:02:01) ÐÔÄÜÓÅ»¯ÒÔ¼°È·¶¨ÏµÍ³ÖеÄÐÔÄÜÆ¿¾±ÊÇϵͳ¹ÜÀíÔ±µÄÖ÷ÒªÈÎÎñÖ®Ò»¡£ÔÚÒ»¸ö¼ÆËã»úϵͳÖУ¬CPU¡¢ÄÚ´æ¡¢Ó²Å̺ÍÍøÂçÊÇÓ°ÏìϵͳÐÔÄܵÄÖ÷ÒªÒòËØ£¬Òò´ËϵͳÐÔÄܵ÷ÕûÒ²Ö÷ÒªÔÚÓÚÈçºÎÔÚÕâЩ×ÊÔ´ÖлñµÃijÖÖƽºâ£¬ÒÔÂú×ãÈËÃǶÔϵͳÐÔÄܵÄÆÚÍû¡£ÐÔÄܵ÷ÖÆÐèÒªºÜ¶à¼¼ÇÉ£¬ÖªÊ¶ÒÔ¼°¾Ñ飬²»Äܽö¿¿·ÖÎöͳ¼ÆÊý×Ö£¬Í¼±í¾Í¿É
È¡µÃ£¬ÐÔÄܵ÷ÖÆÓÐʱÊÇÒ»¼þ¸´ÔÓÉõÖÁÊǷdz£À§ÄѵÄÈÎÎñ¡£
ÈçͬÆäËüUNIXϵͳһÑù£¬AIXÒ²¸øϵͳ¹ÜÀíÔ±¼ô²ÃϵͳÌṩÁ˷dz£·á¸»µÄÊֶΡ£ÕâÀïÎÒÃǼòµ¥½éÉÜRS/6000 AIXϵͳÖм¸¸öÓÃÓÚ¼à¿ØºÍµ÷ÖƶàÏîϵͳ×ÊÔ´µÄ¹¤¾ß£¬Ã¿¸ö¹¤¾ßµÄ¹¦Äܶ¼ºÜÇ¿£¬ÈçÏë¸ü͸³¹µØÁ˽âÕâЩÃüÁîµÄÓ÷¨£¬Çë²Î¿¼Óйؼ¼Êõ×ÊÁÏ»òÊֲᡣÕâÀï½²ÊöµÄÃüÁ²»½ö½ö¾ÖÏÞÓÚCPU¡¢Ó²ÅÌ¡¢ÄÚ´æ»òÍøÂç×ÊÔ´µÄij¸ö·½Ã棬ËüÃÇ¿ÉÓÃÓÚÆäÖеÄÒ»Ïî»ò¶àÏî×ÊÔ´¡£ AIX¼à¿Ø¹¤¾ß 1¡¢iostat
iostatÃüÁîÖ÷Ҫͨ¹ý¹Û²ìÎïÀí´ÅÅ̵ĻîԾʱ¼äÒÔ¼°ËûÃǵÄƽ¾ù´«ÊäËٶȣ¬¼à¿ØϵͳÊäÈë/Êä³öÉ豸¸ºÔØ¡£¸ù¾ÝiostatÃüÁî²úÉúµÄ±¨¸æ£¬Óû§¿ÉÈ·¶¨Ò»¸öϵͳÅäÖÃÊÇ·ñƽºâ£¬²¢¾Ý´ËÔÚÎïÀí´ÅÅÌÓëÊÊÅäÆ÷Ö®¼ä¸üºÃµØƽºâÊäÈë/Êä³ö¸ºÔØ¡£ iostat¹¤¾ßµÄÖ÷ҪĿµÄÊÇͨ¹ý¼à¿Ø´ÅÅ̵ÄÀûÓÃÂÊ£¨tm_act×ֶΣ©£¬¶ø̽²âµ½ÏµÍ³ÖеÄI/OÆ¿¾±¡£iostat»¹¿ÉÓÃÓÚÈ·¶¨CPUÎÊÌ⣬¸¨ÖúÈÝÁ¿¹æ»®£¬²¢¿ÉÒÔΪ×îÖÕ½â¾öI/OÎÊÌâÌṩÏà¹Ø²ÄÁÏ¡£vmstatºÍiostatÁªºÏʹÓ㬿ɲ¶»ñµ½È·¶¨ÓëCPU£¬ÄÚ´æºÍI/O×ÓϵͳÓйصÄÐÔÄÜÎÊÌâµÄ±ØÐèÊý¾Ý¡£ iostatÃüÁî¿É²úÉúÏÂÃæËÄÖÖÀàÐ͵ı¨¸æ£º ¡¤ ttyºÍCPUÀûÓÃÇé¿ö ¡¤ ´ÅÅ̵ÄÀûÓÃÇé¿ö ¡¤ ϵͳÍÌÍÂÂÊ ¡¤ ÊÊÅäÆ÷ÍÌÍÂÂÊ 2¡¢netpmon
netpmonÃüÁî¿ÉÒÔ¼à¿Ø¹ØÓÚÍøÂçÐÐΪµÄϵͳʼþºÍÐÔÄÜÒÔ¼°ÍøÂçÐÐΪ¶ÔCPUµÄÏûºÄ¡£netpmonÃüÁîÔÚÖ¸¶¨µÄ¼à¿ØÖÜÆÚ±¨¸æÍøÂçÐÐΪ¡£
netpmonÆô¶¯ºóÖ±ÖÁ·¢²¼trcstopÃüÁîÖÕÖ¹Ëü֮ǰ£¬Ò»Ö±ÔÚºǫ́ÔËÐС£Èç¹ûʹÓÃȱʡÉèÖã¬traceÃüÁ»áÔÚnetpmonÃüÁîÖ®ºóÁ¢¼´×Ô¶¯Æô¶¯¡£ÁíÍ⣬netpmonÖл¹¿ÉÓÃtrconÃüÁîÑ¡ÔñÔÚºóÃæµÄij¸öʱ¼ä¸ú×Ù¡£µ±ÕâÖÖ¸ú×ÙÓÃtrcstopÃüÁîÖÕÖ¹ºó£¬netpmonÃüÁî¾Í»áÊä³öËüµÄ±¨¸æ²¢Í˳ö¡£È±Ê¡Ê±±¨¸æ»áÊä³öµ½±ê×¼Êä³ö£¬ÐèҪʱҲ¿ÉÒÔÖض¨Ïòµ½Ä³¸öÎļþ¡£
netpmonÃüÁ¿ÉÒÔÔÚÒ»´ÎÏÈÇ°²úÉúµÄ¸ú×ÙÖÐÒÔÍÑ»úģʽʹÓá£ÔÚÕâÑùµÄÇé¿öÏ£¬ÐèÒªÓÃgennamesÃüÁî²úÉúÒ»¸öÎļþ¡£¸ÃÎļþ±ØÐëÔÚtraceÖÕÖ¹ºóÁ¢¼´²úÉú¡£ Ëù²úÉúµÄ±¨¸æÖаüÀ¨CPUʹÓÃÇé¿ö¡¢ÍøÂçÉ豸Çý¶¯Æ÷I/OÇé¿ö¡¢»¥ÁªÍøÂçÌ×½Ó×Öµ÷Óã¬ÒÔ¼°ÍøÂçÎļþϵͳ£¨NFS£©I/OÐÅÏ¢£º
¡¤ CPU use£ºnetpmonÃüÁ¸æÏ̺߳ÍÖжϴ¦ÀíÆ÷¶ÔCPUµÄʹÓÃÇé¿ö¡£¸ÃÃüÁÍøÂçÏà¹ØÐÐΪµÄCPUʹÓÃÇé¿öÓëÆäËüÐÐΪµÄCPUʹÓÃÇé¿öÇø·Ö¿ª¡£
¡¤ Network Device Driver I/O£ºnetpmonÃüÁî¼à¿ØÍøÂçÊÊÅäÆ÷ÉÏËùͨ¹ýµÄI/Oͳ¼Æ¡£ ¡¤ Internet Socket Calls£ºnetpmonÃüÁîÔÚ»¥ÁªÍøÂçÌ×½Ó×ÖÉϼà¿Øread£¬recv£¬recvfrom£¬write£¬sendÒÔ¼°sendto×Ó³ÌÐò¡£ICMP£¬TCP£¬UDPÕ⼸¸öÐÒéµÄÿ¸ö½ø³Ì¶¼»áÓèÒÔ±¨¸æ¡£
¡¤ NFS I/O£ºnetpmonÃüÁî¼à¿Ø¿Í»§NFSÎļþÉϵÄreadºÍwrite×Ó³ÌÐò£¬NFS¿Í»§ÉϵÄRPCÇëÇóÒÔ¼°NFS·þÎñÆ÷µÄreadºÍwriteÇëÇó¡£ 3¡¢PDT£¨ÐÔÄÜÕï¶Ï¹¤¾ß£©
PDTͨ¹ýÊÕ¼¯ºÍ¼¯Öи÷ÖÖÐÔÄÜ¡¢ÅäÖúͿÉÓÃÊý¾Ý×Ô¶¯ÕÒ³öÐÔÄÜÎÊÌâ¡£PDTÆÀ¹ÀϵͳµÄµ±Ç°×´Ì¬²¢¸ú×ÙϵͳÔÚ¹¤×÷Á¿ºÍÐÔÄÜÉϵı仯¡£PDTÊý¾ÝÊÕ¼¯ºÍ±¨¸æºÜÈÝÒ×
ÆðÓ㬲»ÐèÒª¸ü¶àµÄ¹ÜÀíÐÐΪ¡£
ËäÈ»Ðí¶à³£¼ûµÄϵͳÐÔÄÜÎÊÌⶼÓÐÌض¨ÐÔ£¬µ«PDT»¹ÊÔͼÓÃһЩ±»ÈÏΪÐÔÄܺõÄϵͳÖеÄͨÓøÅÄîÀ´°ïÖúËü²éÕÒÎÊÌâ¡£ÕâЩ¸ÅÄî°üÀ¨£º ¡¤ ×ÊÔ´µÄƽºâʹÓà ¡¤ ÔÚÏÞ¶¨·¶Î§²Ù×÷ ¡¤ È·¶¨µÄ¹¤×÷Á¿Ç÷ÊÆ ¡¤ ÎÞ´íÎó²Ù×÷
¡¤ ϵͳ²ÎÊýµÃµ½Êʵ±ÉèÖᣠ4¡¢ps
psÃüÁîÊÇUNIXϵͳÖÐ×î³£¼ûµÄÃüÁËüÖ÷ÒªÏÔʾϵͳÖйØÓÚ½ø³ÌµÄͳ¼ÆºÍ״̬ÐÅÏ¢£¬Èç½ø³ÌID£¬I/OÐÐΪÒÔ¼°CPUÀûÓÃÂʵȡ£ÀûÓÃpsÃüÁîÌṩµÄÐÅÏ¢£¬¿É¾ö¶¨Ò»¸ö½ø³ÌÔËÐÐÁ˶೤ʱ¼ä£¬½ø³ÌʹÓÃÁ˶àÉÙCPUʱ¼ä£¬ÒÔ¼°½ø³ÌÊÇ·ñÊÜϵͳµÄ³Í·£¡£»¹¿ÉÓÃpsÃüÁîÈ·¶¨½ø³ÌʹÓÃÁ˶àÉÙÄڴ棬Íê³É¶àÉÙI/O£¬½ø³ÌµÄÓÅÏȼ¶ÒÔ¼°ÊÇË´´½¨Á˽ø³Ì¡£
ÏÂÃæÕ⼸¸öÃüÁî×éºÏ¶ÔÓÚ¹ÜÀíRS/6000 AIXϵͳÓаïÖú£º £¨1£©ÏÔʾ10¸öÏûºÄCPU×î¶àµÄ½ø³Ì£º
# ps aux |head -1 ;ps aux |sort -rn +2 |head ¨C10 £¨2£©ÏÔʾ10¸öÏûºÄ´æ´¢¿Õ¼ä×î¶àµÄ½ø³Ì£º
# ps aux |head -1 ;ps aux |sort -rn +3 |head -10 £¨3£©°´Ë³ÐòÏÔʾϵͳÖÐÊÜ·£µÄ½ø³Ì£º
#ps -eakl |head -1 ;ps -eakl |sort -rn +5 £¨4£©°´ÓÅÏȼ¶Ë³ÐòÏÔʾϵͳÖеĽø³Ì£º #ps -eakl |sort -n +6 |head
£¨5£©°´´¦Àíʱ¼äΪ˳ÐòÏÔʾϵͳÖеÄÇ°Ê®¸ö½ø³Ì£º
#ps vx |head -1 ;ps vx |grep -v PID |sort -rn +3 |head ¨C10 £¨6£©°´Êµ¼ÊÄÚ´æʹÓõĶàÉÙ˳ÐòÏÔʾϵͳÖеÄÇ°Ê®¸ö½ø³Ì£º
#ps vx |head -1 ;ps vx |grep -v PID |sort -rn +6 |head ¨C10 £¨7£©°´»»ÈëÒ³ÃæµÄ¶àÉÙ˳ÐòÏÔʾϵͳÖеÄÇ°10¸ö½ø³Ì£º
#ps vx |head -1 ;ps vx |grep -v PID |sort -rn +4 |head -10 5¡¢vmstat
vmstatÃüÁ¸æ¹ØÓÚºËÐÄỊ̈߳¬ÐéÄâÄڴ棬×ÔÏÝ£¨trap£©£¬´ÅÅÌÒÔ¼°CPUÐÐΪµÄͳ¼Æ¡£¶øÇÒÿÖÖÐÐΪ±¨¸æ¶¼±»¸üϸÖµØÓðٷֱȷֱð±íʾÓû§Ì¬¡¢ºË̬¡¢¿ÕÏÐÒÔ¼°µÈ´ý´ÅÅÌI/OµÈÇé¿ö¡£
ÄÚºËά³ÖÁ˶ԺËÐÄỊ̈߳¬»»Ò³ÒÔ¼°ÖжÏÐÐΪµÄͳ¼ÆÊý¾Ý£¬¶øvmstatÃüÁîÔòͨ¹ýʹÓÃknlist×Ó³ÌÐòºÍ/dev/kmenαÉ豸Çý¶¯Æ÷·ÃÎÊÕâЩÊý¾Ý¡£´ÅÅ̵ÄÊäÈë/Êä³öͳ¼ÆÊÇͨ¹ýÉ豸Çý¶¯Æ÷ά³ÖµÄ¡£¶ÔÓÚ´ÅÅÌ£¬Æ½¾ù´«ÊäËÙ¶ÈÊÇͨ¹ýʹÓûîԾʱ¼äºË´«ÊäÐÅÏ¢ÊýÄ¿¾ö¶¨µÄ¡£¶ø»îԾʱ¼ä°Ù·Ö±ÈÔòÊÇ´Ó±¨¸æÆÚ¼äÇý¶¯Æ÷æµÄʱ¼äÁ¿¼ÆËã³öÀ´µÄ¡£
vmstatÃüÁî²úÉúÎåÖÖÀàÐ͵ı¨¸æ£º ¡¤ Ðé´æÐÐΪ±¨¸æ
¡¤ fork×Ó½ø³ÌÇé¿ö±¨¸æ
¡¤ ÿ¸öÉ豸²úÉúµÄÖжÏÇé¿ö±¨¸æ ¡¤ »ã×ܱ¨¸æ
¡¤ ÊäÈë/Êä³öÐÐΪ±¨¸æ