ããã¯ãUbuntu OnlineãFedora OnlineãWindowsãªã³ã©ã€ã³ãšãã¥ã¬ãŒã¿ãŒãMACOSãªã³ã©ã€ã³ãšãã¥ã¬ãŒã¿ãŒãªã©ã®è€æ°ã®ç¡æãªã³ã©ã€ã³ã¯ãŒã¯ã¹ããŒã·ã§ã³ã®XNUMXã€ã䜿çšããŠOnWorksç¡æãã¹ãã£ã³ã°ãããã€ããŒã§å®è¡ã§ããã³ãã³ãã§ãã
ããã°ã©ã ïŒ
NAME
äžã« -ATã³ã³ãã¥ãŒãã£ã³ã°ã®ã·ã¹ãã ããã³ããã»ã¹ã¢ãã¿ãŒ
SYNOPSIS
ã€ã³ã¿ã©ã¯ãã£ããªäœ¿çšæ³ïŒ
äžã« [-g | -m | -d | -n | -u | -p | -s | -c | -v | -o] [-C | -M | -D | -N | -A] [-af1x ] [-L linelen]
[-Plabel [ãlabel] ...] [ ã€ã³ã¿ãŒãã« [ ãµã³ãã« ]]
çã®ãã°ãã¡ã€ã«ã®æžã蟌ã¿ãšèªã¿åãïŒ
äžã« -w çãã¡ã€ã« [-ãªã®ã§] [ ã€ã³ã¿ãŒãã« [ ãµã³ãã« ]]
äžã« -r [ çãã¡ã€ã« ] [-NS hhïŒmm ] [-e hhïŒmm ] [-g | -m | -d | -n | -u | -p | -s | -c | -v | -o]
[-C | -M | -D | -N | -A] [-f1x] [-L linelen] [-Plabel [ãlabel] ...]
DESCRIPTION
ããã°ã©ã äžã« Linuxã·ã¹ãã ã®è² è·ã衚瀺ããããã®ã€ã³ã¿ã©ã¯ãã£ãã¢ãã¿ãŒã§ãã ããã瀺ããŠãã
æãéèŠãªããŒããŠã§ã¢ãªãœãŒã¹ã®å æïŒããã©ãŒãã³ã¹ã®èŠ³ç¹ããïŒ
ã·ã¹ãã ã¬ãã«ãã€ãŸãCPUãã¡ã¢ãªããã£ã¹ã¯ããããã¯ãŒã¯ã
ãŸããCPUã«é¢ããŠç€ºãããè² è·ã®åå ãšãªã£ãŠããããã»ã¹ã瀺ããŠããŸãã
ããã»ã¹ã¬ãã«ã§ã®ã¡ã¢ãªè² è·ã ããã»ã¹ããšã®ãã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ãã®å Žåããã£ã¹ã¯è² è·ã衚瀺ãããŸã
ã«ãŒãã«ã§ã¢ã¯ãã£ãã§ããããã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã ãããã¯ãŒã¯è² è·ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿ãããã»ã¹ããšã«è¡šç€ºãããŸãã
ãããã ã€ã³ã¿ãŒãã« ïŒããã©ã«ãïŒ10ç§ïŒãªãœãŒã¹ã®å æã«é¢ããæ å ±ã衚瀺ãããŸã
ã·ã¹ãã ã¬ãã«ïŒCPUãã¡ã¢ãªããã£ã¹ã¯ããããã¯ãŒã¯ã¬ã€ã€ãŒïŒãšããã«ç¶ãããã»ã¹ã®ãªã¹ã
æåŸã®ééã§ã¢ã¯ãã£ãã«ãªã£ãŠãããã®ïŒ
ããŒãaããæŒãããŠããªãéããæåŸã®ééã§å€æŽãããŠããªããã®ã¯è¡šç€ºãããŸããïŒã
ã¢ã¯ãã£ããªããã»ã¹ã®ãªã¹ããç»é¢ã«å®å šã«åãŸããªãå Žåã¯ã
ãªã¹ãã衚瀺ãããŸãïŒã¢ã¯ãã£ããã£é ã«äžŠã¹æ¿ããããŸãïŒã
ééã¯ãã®æ°ãŸã§ç¹°ãè¿ãããŸã ãµã³ãã« ïŒã³ãã³ãåŒæ°ãšããŠæå®ïŒã¯
å°éããããã€ã³ã¿ã©ã¯ãã£ãã¢ãŒãã§ããŒãqããæŒããããŸã§ã
æ¥æ äžã« ãéå§ããããšãæšæºåºåãã£ãã«ãã«æ¥ç¶ãããŠãããã©ããããã§ãã¯ããŸã
ç»é¢ããŸãã¯ãã¡ã€ã«/ãã€ãã«ã æåã®ã±ãŒã¹ã§ã¯ãç»é¢å¶åŸ¡ã³ãŒããçæããŸãïŒ
ncursesã©ã€ãã©ãªïŒããã³ã€ã³ã¿ã©ã¯ãã£ãã«åäœããŸãã XNUMXçªç®ã®ã±ãŒã¹ã§ã¯ããã©ãããªASCIIãçæããŸã-
åºåã
ã€ã³ã¿ã©ã¯ãã£ãã¢ãŒãã§ã¯ã äžã« ã®çŸåšã®å¯žæ³ã«åçã«ã¹ã±ãŒãªã³ã°ããŸã
ç»é¢/ãŠã£ã³ããŠã
ãŠã£ã³ããŠã®ãµã€ãºãæ°Žå¹³æ¹åã«å€æŽããããšãåãèªåçã«è¿œå ãŸãã¯åé€ãããŸãã ããã«
ãã®ç®çã®ããã«ããã¹ãŠã®åã«ã¯ç¹å®ã®éã¿ããããŸãã ééãæãé«ãå
çŸåšã®å¹ ã«åãŸããã®ã衚瀺ãããŸãã
ãŠã£ã³ããŠã®ãµã€ãºãåçŽæ¹åã«å€æŽããããšãããã»ã¹ãªã¹ãã®è¡ãè¿œå ãŸãã¯åé€ãããŸã
èªåçã«ã
ããã«ã€ã³ã¿ã©ã¯ãã£ãã¢ãŒãã§ã¯ã äžã« ãæŒãããšã§å¶åŸ¡ã§ããŸã
ç¹å®ã®ããŒã ãã ãã次ã®ãããªããŒãæå®ããããšãã§ããŸãã ãã©ã° ã³ãã³ãã§
ã©ã€ã³ã åŸè ã®å Žå äžã« äºåã«æå®ãããã¢ãŒãã«åãæ¿ãããŸãã ãã®ã¢ãŒã
ã€ã³ã¿ã©ã¯ãã£ãã«å床å€æŽã§ããŸãã ãã©ã°ãªã©ã®ããŒãæå®ãããšãç¹ã«äŸ¿å©ã§ãã
ã©ã³ãã³ã° äžã« ãã€ããŸãã¯ãã¡ã€ã«ãžã®åºåä»ãïŒé察話åïŒã 䜿çšããããã©ã°ã¯
ã€ã³ã¿ã©ã¯ãã£ãã¢ãŒãã§æŒãããšãã§ããããŒãšåãã§ãïŒãã€ã³ã¿ã©ã¯ãã£ããã»ã¯ã·ã§ã³ãåç §ïŒ
ã³ãã³ãïŒã
çã®åœ¢åŒã§ã®ãããããŒã¿ã®ä¿åããµããŒãããããã«ãè¿œå ã®ãã©ã°ã䜿çšã§ããŸãïŒã»ã¯ã·ã§ã³ãåç §ïŒ
RAWããŒã¿ã¹ãã¬ãŒãžïŒã
ããã»ã¹ äŒèš
æ¥æ äžã« ãéå§ããããšãã«ãŒãã«ã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¡ã«ããºã ããªã³ã«ãªããŸãã ãã
ã«ãŒãã«ã«ã¢ã«ãŠã³ãã£ã³ã°æ å ±ãå«ãã¬ã³ãŒããã¢ã«ãŠã³ãã£ã³ã°ãã¡ã€ã«ã«æžã蟌ãããã«åŒ·å¶ããŸã
ããã»ã¹ãçµäºãããšãã¯ãã€ã§ãã å®è¡ã«é¢é£ããã«ãŒãã«ç®¡çã¯å¥ãšããŠ
ããã»ã¹ äžã« ãŸããééããšã«ãã£ã¹ã¯äžã®ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã解éããŸãã ã®
ãã¡ãã§ã äžã« ãŸããããã»ã¹ãå®è¡ãããŠããæéäžã®ããã»ã¹ã®ã¢ã¯ãã£ããã£ã衚瀺ããããšãã§ããŸãã
çµäºããŸããã
ã®æåŸã®å身ã¯ãã€ã§ã äžã« åæ¢ããŸãïŒ `q 'ãŸãã¯` kill -15'ãæŒãããšã«ãã£ãŠïŒãããã¯
ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¡ã«ããºã ãåã³ãªãã«ããŸãã 決ããŠçµããããŠã¯ãããŸãã äžã« by
`kill -9 'ãããã¯ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ãåæ¢ããæ©äŒããªãããã§ãã ãã®çµæã
ã¢ã«ãŠã³ãã£ã³ã°ãã¡ã€ã«ã¯ããã°ãããããšå€§éã®ãã£ã¹ã¯é åãæ¶è²»ããå¯èœæ§ããããŸãã
ç°å¢å€æ°ATOPACCTã䜿çšãããšãç¹å®ã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ãã¡ã€ã«ã®ååãæå®ã§ããŸãã
æå®ããå¿ èŠããããŸãïŒã¢ã«ãŠã³ãã£ã³ã°ã¯äºåã«ã¢ã¯ãã£ãåãããŠããå¿ èŠããããŸãïŒã ãã®ç°å¢ã®ãšã
å€æ°ã¯ååšããŸããããã®å 容ã¯ç©ºã§ãããããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¯ãŸã£ãã䜿çšãããŸããã
ã«ãŒãã«ã§ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ããªã³ã«ããã«ã¯ãrootæš©éãå¿ èŠã§ããããšã«æ³šæããŠãã ããã
å§ããããšãã§ããŸã äžã« ã«ãŒããšããŠããŸãã¯å®è¡å¯èœãã¡ã€ã«ãžã®setuid-rootæš©éãæå®ããŸãã ã®
åŸè ã®å Žåã äžã« ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ããªã³ã«ããããã«ã«ãŒããåé€ããŸã-
åã³ç¹æš©ã
COLORS
ã·ã¹ãã ã¬ãã«ã§ã®ãªãœãŒã¹æ¶è²»ã«ã€ããŠã¯ã äžã« ã¯ãªãã£ã«ã«ã§ããããšã瀺ãããã«è²ã䜿çšããŸã
å æçã¯ïŒã»ãŒïŒå°éããŠããŸãã éèŠãªè·æ¥ã®å²åã¯ã
ããã¯ããã®è² è·ãããã©ãŒãã³ã¹ã«é¡èãªæªåœ±é¿ãäžããå¯èœæ§ããããŸãã
ãã®ãªãœãŒã¹ã䜿çšããã¢ããªã±ãŒã·ã§ã³ã éèŠãªããŒã»ã³ããŒãžã¯ããªãœãŒã¹ã®ã¿ã€ãã«ãã£ãŠç°ãªããŸãã
ããšãã°ãããžãŒçã80ïŒ ã®ãã£ã¹ã¯ã®ããã©ãŒãã³ã¹ãžã®åœ±é¿ã¯ããã«å€§ãããªãå¯èœæ§ããããŸã
ããžãŒçã90ïŒ ã®CPUãããã¢ããªã±ãŒã·ã§ã³/ãŠãŒã¶ãŒã«æ³šç®ãããŸãã
çŸåš äžã« 次ã®ããã©ã«ãå€ã䜿çšããŠã
ãªãœãŒã¹ïŒ
ããã»ããµ
90ïŒ ä»¥äžã®ããžãŒçã¯ããã¯ãªãã£ã«ã«ããšèŠãªãããŸãã
ãã£ã¹ã¯
70ïŒ ä»¥äžã®ããžãŒçã¯ããã¯ãªãã£ã«ã«ããšèŠãªãããŸãã
ãããã¯ãŒã¯
ã€ã³ã¿ãŒãã§ã€ã¹ã®è² è·ã«å¯ŸããŠ90ïŒ ä»¥äžã®ããžãŒçãèæ ®ãããŸã
ãã¯ãªãã£ã«ã«ãã
ã¡ã¢ãª
90ïŒ ã®å æçã¯ãã¯ãªãã£ã«ã«ããšèŠãªãããŸãã ããã«æ³šæããŠãã ãã
å æçã¯ãã«ãŒãã«ã®çŽ¯ç©ã¡ã¢ãªæ¶è²»éã§ãïŒ
ã¹ã©ãïŒããã³ãã¹ãŠã®ããã»ã¹ã ããŒãžãã£ãã·ã¥ã®ã¡ã¢ãªïŒããã£ãã·ã¥ããšãããã
MEM-lineïŒã¯æ瀺ãããŠããŸããïŒ
ã¹ã¯ããã¢ãŠããããããŒãžæ°ïŒPAGè¡ã®ãswoutãïŒã10ãããXNUMXãã倧ããå Žå
次ã«ãã¡ã¢ãªãªãœãŒã¹ã¯ãã¯ãªãã£ã«ã«ããšèŠãªãããŸãã ãããå°ãªããšã1ã€ã®å€
XNUMXçªç®ã¯ãã»ãŒéèŠããšèŠãªãããŸãã
ã³ããããããä»®æ³ã¡ã¢ãªãå¶éãè¶ ããå ŽåïŒSWPã® `vmcom 'ããã³` vmlim'-
lineïŒãSWP-lineã¯ãã·ã¹ãã ããªãŒããŒã³ãããããããã«è²ä»ããããŠããŸãã
Swap
ã¹ã¯ããã¹ããŒã¹ã
è¿ãå°æ¥ãå®å šã«äœ¿ãæããããŸãã ããã©ãŒãã³ã¹ã®èŠ³ç¹ããã¯éèŠã§ã¯ãããŸãã-
ã®-ãã¥ãŒã
ãããã®ããã©ã«ãå€ã¯ãæ§æãã¡ã€ã«ã§å€æŽã§ããŸãïŒã®å¥ã®ããã¥ã¢ã«ããŒãžãåç §ããŠãã ããã
atoprcïŒã
ãªãœãŒã¹ããã®éèŠãªå æçãè¶ ãããšãç»é¢å šäœã®è¡ã¯æ¬¡ã®ããã«ãªããŸãã
èµ€ã«çè²ã
ãªãœãŒã¹ããã®ã¯ãªãã£ã«ã«ããŒã»ã³ããŒãžã®80ïŒ ãè¶ ãããšãïŒããã©ã«ãïŒïŒã€ãŸããã»ãŒ
éèŠïŒãç»é¢ã®ç·å šäœãã·ã¢ã³è²ã«ãªããŸãã ãã®ãã»ãŒéèŠãªããŒã»ã³ããŒãžãïŒXNUMXã€
ãã¹ãŠã®ãªãœãŒã¹ã®å€ïŒã¯ãæ§æãã¡ã€ã«ã§å€æŽã§ããŸãïŒå¥ã®ããã¥ã¢ã«ããŒãžãåç §ïŒ
atoprcã®ïŒã
ããŒãxãïŒãŸãã¯ãã©ã°-xïŒã䜿çšãããšãç·ã®è²ä»ããæå¶ã§ããŸãã
ã€ã³ã¿ã©ã¯ãã£ã ã³ãã³ã
å®è¡æ äžã« ã€ã³ã¿ã©ã¯ãã£ãã«ïŒåºåãªãã€ã¬ã¯ããªãïŒãããŒãæŒããŠå¶åŸ¡ã§ããŸã
åºåã äžè¬ã«ãå°æåã®ããŒã䜿çšããŠã
ã¢ã¯ãã£ããªããã»ã¹ãšå€§æåã®ããŒã䜿çšããŠãã¢ã¯ãã£ããªããã»ã¹ã®äžŠã¹æ¿ãé åºã«åœ±é¿ãäžããããšãã§ããŸã
ããã»ã¹ãªã¹ãã
g äžè¬çãªåºåã衚瀺ããŸãïŒããã©ã«ãïŒã
ãŠã£ã³ããŠå¹ ã80ããžã·ã§ã³ã®å Žåãããã»ã¹ããšã«æ¬¡ã®ãã£ãŒã«ãã衚瀺ãããŸãã
ããã»ã¹IDãã·ã¹ãã ã¢ãŒãããã³ãŠãŒã¶ãŒã¢ãŒãã§ã®æåŸã®ééã§ã®CPUæ¶è²»ã
ããã»ã¹ã®ä»®æ³ããã³åžžé§ã¡ã¢ãªã®å¢å ã
åŸç¶ã®åã¯ã䜿çšãããŠããã«ãŒãã«ã«ãã£ãŠç°ãªããŸããã«ãŒãã«ããã `cnt 'ã
ã€ã³ã¹ããŒã«ãããŠããããã£ã¹ã¯äžã®èªã¿åãããã³æžã蟌ã¿è»¢éã®æ°ãããã³
ããã»ã¹ããšã«åä¿¡ããã³éä¿¡ããããããã¯ãŒã¯ãã±ããã衚瀺ãããŸãã ã«ãŒãã«ã
ããããã€ã³ã¹ããŒã«ãããŠããããã«ãŒãã«ããã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ãïŒ> = 2.6.20ïŒããµããŒãããŠããå Žåã
ãã£ã¹ã¯äžã§ã®èªã¿åã/æžã蟌ã¿çšã®ããŒã¿è»¢éãã¹ããŒã¿ã¹ããã³çµäºã³ãŒããããããã«è¡šç€ºãããŸã
åŠçããã ã«ãŒãã«ããããã€ã³ã¹ããŒã«ãããŠããããã«ãŒãã«ããµããŒãããŠããªãå Žå
ãã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ãããŠãŒã¶ãŒåãã¹ã¬ããã°ã«ãŒãå ã®ã¹ã¬ããæ°ãã¹ããŒã¿ã¹
ããã³çµäºã³ãŒãã衚瀺ãããŸãã
æåŸã®åã«ã¯ãéžæãããç¶æ ãå æçãå«ãŸããŸã
ãªãœãŒã¹ïŒããã©ã«ãïŒcpuïŒãšããã»ã¹åã
80ãè¶ ããããžã·ã§ã³ãå©çšå¯èœãªå Žåããã®ä»ã®æ å ±ãè¿œå ãããŸãã
m ã¡ã¢ãªé¢é£ã®åºåã衚瀺ããŸãã
ãŠã£ã³ããŠå¹ ã80ããžã·ã§ã³ã®å Žåãããã»ã¹ããšã«æ¬¡ã®ãã£ãŒã«ãã衚瀺ãããŸãã
ããã»ã¹IDããã€ããŒããã³ã¡ãžã£ãŒã¡ã¢ãªé害ãä»®æ³å ±æããã¹ãã®ãµã€ãºãä»®æ³åèš
ããã»ã¹ãµã€ãºãåžžé§ããã»ã¹ã®åèšãµã€ãºãæåŸã®æéäžã®ä»®æ³ããã³åžžé§ã®æé·
ééãã¡ã¢ãªå æçãããã³ããã»ã¹åã
80ãè¶ ããããžã·ã§ã³ãå©çšå¯èœãªå Žåããã®ä»ã®æ å ±ãè¿œå ãããŸãã
d ãã£ã¹ã¯é¢é£ã®åºåã衚瀺ããŸãã
ã«ãŒãã«ã§ãã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ããã¢ã¯ãã£ããªå Žåã次ã®ãã£ãŒã«ãã衚瀺ãããŸãã
process-idããã£ã¹ã¯ããèªã¿åãããããŒã¿ã®éããã£ã¹ã¯ã«æžã蟌ãŸããããŒã¿ã®éã
æžã蟌ãŸãããå床åãæ¶ãããããŒã¿ïŒWCANCLïŒããã£ã¹ã¯å æ
ããŒã»ã³ããŒãžãšããã»ã¹åã
ã«ãŒãã«ããã `cnt 'ãã«ãŒãã«ã«ã€ã³ã¹ããŒã«ãããŠããå Žåã次ã®ãã£ãŒã«ãã¯æ¬¡ã®ãšããã§ãã
衚瀺ïŒããã»ã¹IDãç©çãã£ã¹ã¯èªã¿åãæ°ãèªã¿åããããã®å¹³åãµã€ãºïŒãã€ãïŒã
èªã¿åã転éã®åèšãµã€ãºãç©çãã£ã¹ã¯ã®æžã蟌ã¿ãæžã蟌ã¿ãããã®å¹³åãµã€ãºïŒãã€ãïŒã
æžã蟌ã¿è»¢éã®åèšãµã€ãºããã£ã¹ã¯å æçãããã³ããã»ã¹åã
n ãããã¯ãŒã¯é¢é£ã®åºåã衚瀺ããŸãã
ãŠã£ã³ããŠå¹ ã80ããžã·ã§ã³ã®å Žåãããã»ã¹ããšã«æ¬¡ã®ãã£ãŒã«ãã衚瀺ãããŸãã
process-idããã±ãããããã®å¹³åãµã€ãºãå«ãåä¿¡æžã¿TCPãã±ããã®æ°ïŒ
ãã€ãïŒããã±ãããããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã§éä¿¡ãããTCPãã±ããã®æ°ã
ãã±ãããããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã§åä¿¡ããUDPãã±ããã®æ°ã
ãã±ãããããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã§UDPãã±ãããéä¿¡ããéåä¿¡ããŸãã
XNUMXã€ã®åã®çã®ãã±ããïŒICMPãªã©ïŒããããã¯ãŒã¯å æçããã³ããã»ã¹
ååã
ãã®æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºãããŸãã
80ãè¶ ããããžã·ã§ã³ãå©çšå¯èœãªå Žåããã®ä»ã®æ å ±ãè¿œå ãããŸãã
s ã¹ã±ãžã¥ãŒãªã³ã°ç¹æ§ã衚瀺ããŸãã
ãŠã£ã³ããŠå¹ ã80ããžã·ã§ã³ã®å Žåãããã»ã¹ããšã«æ¬¡ã®ãã£ãŒã«ãã衚瀺ãããŸãã
process-idãç¶æ 'running'ïŒRïŒã®ã¹ã¬ããæ°ãç¶æ ã®ã¹ã¬ããæ°
ãäžæäžå¯èœãªã¹ãªãŒããïŒSïŒãç¶æ ãäžæäžå¯èœãªã¹ãªãŒããã®ã¹ã¬ããæ°
ïŒDïŒãã¹ã±ãžã¥ãŒãªã³ã°ããªã·ãŒïŒéåžžã®ã¿ã€ã ã·ã§ã¢ãªã³ã°ããªã¢ã«ã¿ã€ã ã©ãŠã³ãããã³ããªã¢ã«ã¿ã€ã FIFOïŒã
çŽ æµãªå€ãåªå 床ããªã¢ã«ã¿ã€ã ã®åªå 床ãçŸåšã®ããã»ããµãã¹ããŒã¿ã¹ãçµäºã³ãŒããç¶æ ã
éžæãããªãœãŒã¹ãšããã»ã¹åã®å æçã
80ãè¶ ããããžã·ã§ã³ãå©çšå¯èœãªå Žåããã®ä»ã®æ å ±ãè¿œå ãããŸãã
v ããŸããŸãªããã»ã¹ç¹æ§ã衚瀺ããŸãã
ãŠã£ã³ããŠå¹ ã80ããžã·ã§ã³ã®å Žåãããã»ã¹ããšã«æ¬¡ã®ãã£ãŒã«ãã衚瀺ãããŸãã
ããã»ã¹IDããŠãŒã¶ãŒåãšã°ã«ãŒããéå§æ¥æãã¹ããŒã¿ã¹ïŒããšãã°ã
ããã»ã¹ãçµäºããŸããïŒãç¶æ ãéžæãããªãœãŒã¹ã®å æçãããã³
ããã»ã¹åã
80ãè¶ ããããžã·ã§ã³ãå©çšå¯èœãªå Žåããã®ä»ã®æ å ±ãè¿œå ãããŸãã
c ããã»ã¹ã®ã³ãã³ãã©ã€ã³ã衚瀺ããŸãã
ããã»ã¹ããšã«ã次ã®ãã£ãŒã«ãã衚瀺ãããŸããprocess-idãã®å æç
éžæããããªãœãŒã¹ãšåŒæ°ãå«ãã³ãã³ãã©ã€ã³ã
o ããã»ã¹ã®ãŠãŒã¶ãŒå®çŸ©è¡ã衚瀺ããŸãã
æ§æãã¡ã€ã«ã®ããŒã¯ãŒã èªåã®è ¹ç ã§æå®ã§ããŸã
ãŠãŒã¶ãŒå®çŸ©ã®åºåè¡ã®èª¬æã
ã®ããã¥ã¢ã«ããŒãžãåç §ããŠãã ãã atoprc 詳现ãªèª¬æã«ã€ããŠã¯ã
u ãŠãŒã¶ãŒããšã«çŽ¯ç©ãããããã»ã¹ã¢ã¯ãã£ããã£ã衚瀺ããŸãã
ãŠãŒã¶ãŒããšã«ã次ã®ãã£ãŒã«ãã衚瀺ãããŸããã¢ã¯ãã£ããŸãã¯çµäºããããã»ã¹ã®æ°
æåŸã®ééäžïŒãŸãã¯ã³ãã³ã `a 'ãšçµã¿åãããå Žåã¯åèšïŒã环ç©CPU
ã·ã¹ãã ã¢ãŒããšãŠãŒã¶ãŒã¢ãŒãã§ã®æåŸã®ééã§ã®æ¶è²»ãçŸåšã®ä»®æ³ã¢ãŒããš
ã¢ã¯ãã£ããªããã»ã¹ïŒãŸãã¯ããŠãŒã¶ãŒã®ãã¹ãŠã®ããã»ã¹ã®å Žåã¯ãŠãŒã¶ãŒã®ãã¹ãŠã®ããã»ã¹ïŒã«ãã£ãŠæ¶è²»ãããåžžé§ã¡ã¢ãªã¹ããŒã¹
ã³ãã³ã `a 'ãšçµã¿åãããïŒã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠãããããã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ããã¢ã¯ãã£ããªå Žåã
ãã£ã¹ã¯äžã®çŽ¯ç©èªã¿åãããã³æžã蟌ã¿ã¹ã«ãŒãããã衚瀺ãããŸãã ã«ãŒãã«ããã `cnt 'ã®å Žå
ã€ã³ã¹ããŒã«ãããŠããå Žåãåä¿¡ããã³éä¿¡ããããããã¯ãŒã¯ãã±ããã®æ°ã衚瀺ãããŸãã
æåŸã®åã«ã¯ãéžæãã人ã®çŽ¯ç©å æçãå«ãŸããŠããŸã
ãªãœãŒã¹ïŒããã©ã«ãïŒcpuïŒãšãŠãŒã¶ãŒåã
p ããã°ã©ã ããšã«èç©ãããããã»ã¹ã¢ã¯ãã£ããã£ïŒã€ãŸããããã»ã¹åïŒã衚瀺ããŸãã
ããã°ã©ã ããšã«ã次ã®ãã£ãŒã«ãã衚瀺ãããŸããã¢ã¯ãã£ããŸãã¯çµäºããããã»ã¹ã®æ°
æåŸã®ééäžïŒãŸãã¯ã³ãã³ã `a 'ãšçµã¿åãããå Žåã¯åèšïŒã环ç©CPU
ã·ã¹ãã ã¢ãŒããšãŠãŒã¶ãŒã¢ãŒãã§ã®æåŸã®ééã§ã®æ¶è²»ãçŸåšã®ä»®æ³ã¢ãŒããš
ã¢ã¯ãã£ããªããã»ã¹ïŒãŸãã¯ããŠãŒã¶ãŒã®ãã¹ãŠã®ããã»ã¹ã®å Žåã¯ãŠãŒã¶ãŒã®ãã¹ãŠã®ããã»ã¹ïŒã«ãã£ãŠæ¶è²»ãããåžžé§ã¡ã¢ãªã¹ããŒã¹
ã³ãã³ã `a 'ãšçµã¿åãããïŒã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠãããããã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ããã¢ã¯ãã£ããªå Žåã
ãã£ã¹ã¯äžã®çŽ¯ç©èªã¿åãããã³æžã蟌ã¿ã¹ã«ãŒãããã衚瀺ãããŸãã ã«ãŒãã«ããã `cnt 'ã®å Žå
ã€ã³ã¹ããŒã«ãããŠããå Žåãåä¿¡ããã³éä¿¡ããããããã¯ãŒã¯ãã±ããã®æ°ã衚瀺ãããŸãã
æåŸã®åã«ã¯ãéžæãã人ã®çŽ¯ç©å æçãå«ãŸããŠããŸã
ãªãœãŒã¹ïŒããã©ã«ãïŒcpuïŒãšããã°ã©ã åã
C çŸåšã®ãªã¹ããCPUæ¶è²»éã®é ã«äžŠã¹æ¿ããŸãïŒããã©ã«ãïŒã æåŸã®XNUMXã€
åããCPUãã«å€ãããŸãã
M çŸåšã®ãªã¹ããåžžé§ã¡ã¢ãªæ¶è²»ã®é ã«ãœãŒãããŸãã æåŸã®XNUMXã€
åããMEMãã«å€ãããŸãã
D çºè¡ããããã£ã¹ã¯ã¢ã¯ã»ã¹ã®é åºã§çŸåšã®ãªã¹ãã䞊ã¹æ¿ããŸãã æåŸã®XNUMXå
ãDSKãã«å€æŽããŸãã
N çŸåšã®ãªã¹ãããåä¿¡/éä¿¡ããããããã¯ãŒã¯ãã±ããã®é ã«äžŠã¹æ¿ããŸãã ãã-
ããã-æåŸã®åã¯ãNETãã«å€ãããŸãã
A çŸåšã®ãªã¹ããæãããžãŒãªã·ã¹ãã ãªãœãŒã¹ã®é ã«èªåçã«äžŠã¹æ¿ããŸã
ãã®ééã®éã«ã æåŸã®XNUMXåã«ã¯ããACPUãããAMEMãã
ãADSKããŸãã¯ãANETãïŒåã®ãAãã¯èªåãœãŒãé ã瀺ããŸãïŒã æã
ããžãŒãªãœãŒã¹ã¯ãã·ã¹ãã ã®å éããžãŒããŒã»ã³ããŒãžãæ¯èŒããããšã«ãã£ãŠæ±ºå®ãããŸã
ãè²ãã®ã»ã¯ã·ã§ã³ã§åè¿°ããããã«ããªãœãŒã¹ã
ãã®ãªãã·ã§ã³ã¯ãå¥ã®äžŠã¹æ¿ãé åºãæ瀺çã«å床éžæããããŸã§æå¹ã§ãã
ãã£ã¹ã¯ã®äžŠã¹æ¿ãé åºã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå ŽåããŸãã¯
ãã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ããã¢ã¯ãã£ãã§ãã ãããã¯ãŒã¯ã®äžŠã¹æ¿ãé åºã¯ã次ã®å Žåã«ã®ã¿å¯èœã§ãã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŸãã
ãã®ä»ã®ã€ã³ã¿ã©ã¯ãã£ãã³ãã³ãïŒ
? ãã«ãæ å ±ã®èŠæ±ïŒããŒãhããæŒãããšãã§ããŸãïŒã
V ããŒãžã§ã³æ å ±ïŒããŒãžã§ã³çªå·ãšæ¥ä»ïŒã®èŠæ±ã
x éèŠãªãªãœãŒã¹ã匷調ããããã«è²ãæå¶ããŸãïŒãã°ã«ïŒã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
z äžæåæ¢ããŒã䜿çšããŠãçŸåšã®ç¶æ³ãããªãŒãºãã調æ»ããããšãã§ããŸãã
ç»é¢ã«åºåããŸãã ãã®é äžã« ãäžæåæ¢ããŠããå Žåã¯ãäžèšã®ããŒãæŒãããšãã§ããŸã
ããã»ã¹ã®çŸåšã®ãªã¹ãã«é¢ãããã®ä»ã®æ å ±ã衚瀺ããŸãã äžæåæ¢ãããã³ã«
ããŒãããäžåºŠæŒããšãäžéšã次ã®ãµã³ãã«ã«é²ã¿ãŸãã
i ã€ã³ã¿ãŒãã«ã¿ã€ããŒãå€æŽããŸãïŒããã©ã«ãïŒ10ç§ïŒã 0ã®ã€ã³ã¿ãŒãã«ã¿ã€ããŒã
å ¥åãããšãã€ã³ã¿ãŒãã«ã¿ã€ããŒããªãã«ãªããŸãã ãã®å Žåãæ°ãããµã³ãã«ã¯æ¬¡ã®ããã«ãªããŸãã
ããŒãtããæŒããŠæåã§ããªã¬ãŒããŸãã
t æ°ãããµã³ãã«ãæåã§ããªã¬ãŒããŸãã çŸåšã®ãµã³ãã«ãå¿ èŠãªå Žåã¯ããã®ããŒãæŒãããšãã§ããŸã
ã¿ã€ããŒãè¶ éããåã«çµäºããããã¿ã€ããŒããŸã£ããèšå®ãããŠããªãå ŽåïŒéé
ã¿ã€ããŒã¯0ãšããŠå®çŸ©ãããŠããŸãïŒã åŸè ã®å Žå äžã« 枬å®ããã¹ããããŠã©ãããšããŠäœ¿çšã§ããŸã
ç¹å®ã®ã¢ããªã±ãŒã·ã§ã³ãã©ã³ã¶ã¯ã·ã§ã³ã«ãã£ãŠåŒãèµ·ããããŠããè² è·ã
äºåã«ããã®ãã©ã³ã¶ã¯ã·ã§ã³ãäœç§ç¶ããã
RAWãã¡ã€ã«ã®å 容ã衚瀺ããå Žåããã®ããŒã䜿çšããŠæ¬¡ã®ãµã³ãã«ã衚瀺ã§ããŸã
ãã¡ã€ã«ããã
T RAWãã¡ã€ã«ã®å 容ã衚瀺ããå Žåããã®ããŒã䜿çšããŠåã®ãã¡ã€ã«ã衚瀺ã§ããŸã
ãã¡ã€ã«ããã®ãµã³ãã«ã
b RAWãã¡ã€ã«ã®å 容ã衚瀺ããå Žåããã®ããŒã䜿çšããŠç¹å®ã®ãã¡ã€ã«ã«åå²ã§ããŸã
ãã¡ã€ã«å ã®ã¿ã€ã ã¹ã¿ã³ãïŒé æ¹åãŸãã¯éæ¹åïŒã
r ãã¹ãŠã®ã«ãŠã³ã¿ãŒããŒãã«ãªã»ããããŠãåèµ·ååŸã®ã·ã¹ãã ãšããã»ã¹ã®ã¢ã¯ãã£ããã£ã確èªããŸãã
RAWãã¡ã€ã«ã®å 容ã衚瀺ããå Žåããã®ããŒã䜿çšããŠå·»ãæ»ããè¡ãããšãã§ããŸãã
åã³ãã¡ã€ã«ã®å§ãŸãã
U ç¹å®ã®ãŠãŒã¶ãŒåã®æ€çŽ¢æååãæ£èŠè¡šçŸãšããŠæå®ããŸãã ä»ãã
ãªã³ã®å Žåãéåžžã®ããã»ã¹ãšäžèŽãããŠãŒã¶ãŒããã®ïŒã¢ã¯ãã£ããªïŒããã»ã¹ã®ã¿ã衚瀺ãããŸã
è¡šçŸã ã·ã¹ãã çµ±èšã¯ãŸã ã·ã¹ãã å šäœã§ãã EnterããŒã
ååãæå®ããã«æŒããšããã¹ãŠã®ãŠãŒã¶ãŒã®ã¢ã¯ãã£ããªããã»ã¹ãåã³è¡šç€ºãããŸãã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
P ç¹å®ã®ããã»ã¹åã®æ€çŽ¢æååãæ£èŠè¡šçŸãšããŠæå®ããŸãã ä»ãã
ããªã³ã«ãããšãæ£èŠè¡šçŸã«äžèŽããååã®ããã»ã¹ã®ã¿ã衚瀺ãããŸãã
ã·ã¹ãã çµ±èšã¯ãŸã ã·ã¹ãã å šäœã§ãã EnterããŒãæŒãããŠããªãå Žå
ååãæå®ãããšãã¢ã¯ãã£ããªãã¹ãŠã®ããã»ã¹ãå床衚瀺ãããŸãã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
a ãall / activeãããŒã䜿çšããŠã衚瀺/环ç©ã®ã¿ãåãæ¿ããããšãã§ããŸã
æåŸã®ééïŒããã©ã«ãïŒãŸãã¯è¡šç€º/èç©äžã«ã¢ã¯ãã£ãã ã£ãããã»ã¹
ãã¹ãŠã®ããã»ã¹ã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
f ã·ã¹ãã ãªãœãŒã¹ã®è¡æ°ãåºå®ããŸãïŒãã°ã«ïŒã ããã©ã«ãã§ã¯ãè¡ã®ã¿
å®éã«äœ¿çšãããŠããã·ã¹ãã ãªãœãŒã¹ïŒCPUãããŒãžã³ã°ããã£ã¹ã¯ããããã¯ãŒã¯ïŒã«ã€ããŠè¡šç€ºãããŸã
æåŸã®ééã§ã¢ã¯ãã£ãã«ãªããŸãã ãã®ããŒã䜿çšãããšã匷å¶ããããšãã§ããŸã äžã« ã®ç·ã衚瀺ããã«ã¯
éã¢ã¯ãã£ããªãªãœãŒã¹ãåæ§ã§ãã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
1 é¢é£ããã«ãŠã³ã¿ãŒãXNUMXç§ãããã®å¹³åãšããŠïŒ `.... / s 'ã®åœ¢åŒã§ïŒè¡šç€ºããŸãã
ã€ã³ã¿ãŒãã«äžã®åèšãšããŠïŒãã°ã«ïŒã
ãã®ããŒãã¢ã¯ãã£ããã©ããã¯ãããããŒè¡ã§ç¢ºèªã§ããŸãã
l CPUããšã®ã«ãŠã³ã¿ãã¢ã¯ãã£ããã£ã¹ã¯ãããã³
ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ã ããã©ã«ãã§ã¯ããã¹ãŠã®CPUããã£ã¹ã¯ãããã³ãããã¯ãŒã¯ã®è¡ã衚瀺ãããŸã
æåŸã®ééã§ã¢ã¯ãã£ãã«ãªã£ãŠããã€ã³ã¿ãŒãã§ã€ã¹ã ãããã®è¡ãå¶éãããšã
ã§ããããã«ããããã«ãèšå€§ãªæ°ã®CPUããã£ã¹ã¯ããŸãã¯ã€ã³ã¿ãŒãã§ã€ã¹ãåããã·ã¹ãã ã§åœ¹ç«ã¡ãŸã
to run äžã« ããšãã°24è¡ãããªãç»é¢/ãŠã£ã³ããŠã
äžèšã®ãã¹ãŠã®ãªãœãŒã¹ã«ã€ããŠãæ倧è¡æ°ãæå®ã§ããŸã
ã€ã³ã¿ã©ã¯ãã£ãã«ã ãã©ã°ã䜿çšããå Žå -l CPUãããã®æ倧åç·æ°ã¯æ¬¡ã®ããã«èšå®ãããŸãã
0ããã£ã¹ã¯ã©ã€ã³ã®æ倧æ°ã5ã«ãã€ã³ã¿ãŒãã§ã€ã¹ã©ã€ã³ã®æ倧æ°ãXNUMXã«
3.ãããã®å€ã¯ãã€ã³ã¿ã©ã¯ãã£ãã¢ãŒãã§å床å€æŽã§ããŸãã
k ã¢ã¯ãã£ããªããã»ã¹ã«ã·ã°ãã«ãéä¿¡ããŸãïŒå¥åãããã»ã¹ã匷å¶çµäºããŸãïŒã
q ããã°ã©ã ãçµäºããŸãã
^F ããã»ã¹ãªã¹ãã®æ¬¡ã®ããŒãžã衚瀺ããŸãïŒè»¢éïŒã
^B ããã»ã¹ãªã¹ãã®åã®ããŒãžã衚瀺ããŸãïŒåŸæ¹ïŒã
^L ç»é¢ãåæç»ããŸãã
RAW DATA STORAGââE
é·æåæã®ããã«ã·ã¹ãã ã¬ãã«ããã³ããã»ã¹ã¬ãã«ã®çµ±èšãä¿åããããïŒäŸïŒ
ã·ã¹ãã ã®è² è·ãšãæšæ¥ã®3:00ãã4:00ã®éã«å®è¡ãããŠããã¢ã¯ãã£ããªããã»ã¹ã確èªããŠãã ãã
PMïŒã äžã« ã·ã¹ãã ã¬ãã«ããã³ããã»ã¹ã¬ãã«ã®çµ±èšãå§çž®ããããã€ããªåœ¢åŒã§ä¿åã§ããŸã
ãã©ã°ä»ãã®çãã¡ã€ã« -w ãã¡ã€ã«åãç¶ããŸãã ãã®ãã¡ã€ã«ããã§ã«ååšãã
çããŒã¿ãã¡ã€ã«ãšããŠèªèããã äžã« æ°ãããµã³ãã«ããã¡ã€ã«ã«è¿œå ããŸãïŒ
èµ·ååŸã®ã¢ã¯ãã£ããã£ãåæ ãããµã³ãã«ïŒ; ãã¡ã€ã«ãååšããªãå Žåã¯ã
äœæããŸããã
ããã©ã«ãã§ã¯ãééäžã«ã¢ã¯ãã£ãã ã£ãããã»ã¹ã®ã¿ãrawã«ä¿åãããŸã
ãã¡ã€ã«ã æã -a ãæå®ãããšããã¹ãŠã®ããã»ã¹ãä¿åãããŸãã
ééïŒããã©ã«ãïŒ10ç§ïŒãšãµã³ãã«æ°ïŒããã©ã«ãïŒç¡éïŒãæž¡ãããšãã§ããŸã
æåŸã®åŒæ°ãšããŠã ãµã³ãã«æ°ã®ä»£ããã«ããã©ã° -S 瀺ãããã«äœ¿çšããããšãã§ããŸã
ãã äžã« ãšã«ããçå€äžåã«çµäºããå¿ èŠããããŸãã
çã®ãã¡ã€ã«ã¯ããã©ã°ã䜿çšããŠå床èªã¿åãããã³èŠèŠåã§ããŸã -r ãã¡ã€ã«åãç¶ããŸãã ããã
ãã¡ã€ã«åãæå®ãããŠããŸããããã¡ã€ã« / var / log / atop / atop_YYYYMMDD å ¥åçšã«éãããŠããŸãïŒããã§
YYYYMMDD çŸåšã®æ¥ä»ãè¡šãæ°åã§ãïŒã ãã¡ã€ã«åãã§æå®ãããŠããå Žå
YYYYMMDDïŒæå¹ãªæ¥ä»ãè¡šãïŒã®åœ¢åŒããã¡ã€ã« / var / log / atop / atop_YYYYMMDD is
ãªãŒãã³ããŸããã ã·ã³ããªãã¯åã®ãã¡ã€ã«åã®å Žå y ãæå®ãããŠããå Žåãæšæ¥ã®æ¥æ¬¡ãã°ãã¡ã€ã«ã¯
éãããŸããïŒããã¯ç¹°ãè¿ãããšãã§ããããããyyyyãã¯XNUMXæ¥åã®ãã°ãã¡ã€ã«ã瀺ããŸãïŒã
ãã¡ã€ã«ã®ãµã³ãã«ã¯ãããŒãtãã䜿çšããŠã€ã³ã¿ã©ã¯ãã£ãã«è¡šç€ºã§ããŸãã
次ã®ãµã³ãã«ãåã®ãµã³ãã«ã瀺ãããŒãTããaã«åå²ããããŒãbã
ç¹å®ã®æéãŸãã¯ããŒãrãã§ãã¡ã€ã«ã®å é ã«å·»ãæ»ããŸãã
åºåããã¡ã€ã«ãŸãã¯ãã€ãã«ãªãã€ã¬ã¯ãããããšãã äžã« ãã¹ãŠã®ãµã³ãã«ããã¬ãŒã³ASCIIã§åºåããŸãã The
ãã®å Žåãããã©ã«ãã®è¡é·ã¯80æåã§ãã æãæã£ãŠ -L ãã®åŸã«
亀äºã®è¡ã®é·ããããå€ãã®ïŒãŸãã¯ããå°ãªãïŒåã衚瀺ãããŸãã
æä»ã -b ïŒéå§æéïŒããã³/ãŸã㯠-e ïŒçµäºæéïŒã®åŸã«åœ¢åŒã®æéåŒæ°ãç¶ã
HHïŒMMãrawãã¡ã€ã«å ã®ç¹å®ã®æéãéžæã§ããŸãã
æ¥æ äžã« ã€ã³ã¹ããŒã«ãããŠãããã¹ã¯ãªãã äžã«.æ¯æ¥ ã«ä¿åãããŸã / etc / atop ãã£ã¬ã¯ããªã ãã®
ã¹ã¯ãªããã¯ãããåŠçããŸã äžã« å§çž®ããããã€ããªãæžã蟌ãããã«æ¯æ¥æ·±å€ã«ã¢ã¯ãã£ãåãããŸã
ãã¡ã€ã«ãžã®ããŒã¿ / var / log / atop / atop_YYYYMMDD 10åééã§ã
ããã«ãã¹ã¯ãªããã¯XNUMXé±éããå€ããã¹ãŠã®rawãã¡ã€ã«ãåé€ããŸãã
ã¹ã¯ãªããã¯ã cron ãã¡ã€ã«ã䜿çšããããŒã¢ã³ /etc/cron.d/atop
äžèº«
0 0 * * * ã«ãŒã /etc/atop/atop.daily
RPM `psacct 'ãã€ã³ã¹ããŒã«ããããšãããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¯
ã logrotate æ©æ§ã ãã¡ã€ã« /etc/logrotate.d/psaccs_atop æ°ãã€ã㊠äžã« is
ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ãã¡ã€ã«ãšãã¡ã€ã«ã®ããŒããŒã·ã§ã³ã®çŽåã«çµäºããŸãã
/etc/logrotate.d/psaccu_atop æ°ãã€ã㊠äžã« å転åŸãåèµ·åããŸãã
RPM `psacct 'ãã€ã³ã¹ããŒã«ãããŠããªãå Žåããããã®logrotateãã¡ã€ã«ã¯å¹æããããŸããã
åºå DESCRIPTION
æåã®ãµã³ãã«ã¯ãèµ·ååŸã®ã·ã¹ãã ã¬ãã«ã®ã¢ã¯ãã£ããã£ã瀺ããŠããŸãïŒ
ããããŒã¯èµ·åããã®æéã瀺ããŸãïŒã ç¹å®ã®ã«ãŠã³ã¿ãŒã
æ倧å€ïŒæ°åïŒã§ãåã³ãŒãããéå§ãããããããããã®æ°å€ã«äŸåããªãã§ãã ããã
ãã¹ãŠã®ãµã³ãã«ã«ã€ã㊠äžã« æåã«ãã·ã¹ãã ã¬ãã«ã®ã¢ã¯ãã£ããã£ã«é¢é£ããè¡ã瀺ããŸãã ãã
ééäžã«ç¹å®ã®ã·ã¹ãã ãªãœãŒã¹ã䜿çšãããŠããããåç·å šäœãé¢é£ããŠãã
ãã®ãªãœãŒã¹ãžã®ã¢ã¯ã»ã¹ã¯æå¶ãããŸãã ãããã£ãŠãã·ã¹ãã ã¬ãã«ã®åç·æ°ã¯ããããç°ãªãå ŽåããããŸã
ãµã³ãã«ã
ãã®åŸãæåŸã®ééã§ã¢ã¯ãã£ãã ã£ãããã»ã¹ã®ãªã¹ãã衚瀺ãããŸãã
ãã®ãªã¹ãã¯ããã©ã«ãã§CPUæ¶è²»éã«åºã¥ããŠãœãŒããããŠããŸããããã®é åºã¯
åã«èª¬æããããŒã
å€ã衚瀺ããå¿ èŠãããå Žå äžã« åå¹ ã«åãŸããªãå¥ã®è¡šèš
䜿çšãããŠããã ããšãã°ã233216ããªç§ã®CPUæ¶è²»éãåã«è¡šç€ºããå¿ èŠãããå Žå
4ããžã·ã§ã³ã®å¹ ã§ãã233ââXNUMXsãïŒç§åäœïŒãšããŠè¡šç€ºãããŸãã 倧容éã¡ã¢ãªã®å Žåã
å€ãé©åããªãå Žåã¯ãå¥ã®åäœãéžæãããŸãïŒKbã®ä»£ããã«MbãMbã®ä»£ããã«GbïŒã
ãã®ä»ã®å€ã«ã€ããŠã¯ãäžçš®ã®ææ°è¡šèšã䜿çšãããŸãïŒå€123456789ã¯åã«è¡šç€ºãããŸãïŒ
5ã€ã®äœçœ®ã®123e6ïŒãäžããŸãã
åºå DESCRIPTION - SYSTEM LEVEL
ã·ã¹ãã ã¬ãã«ã®æ å ±ã¯ã次ã®åºåè¡ã§æ§æãããŠããŸãã
PRC ããã»ã¹ã¬ãã«ã®åèšã
ãã®è¡ã«ã¯ãã·ã¹ãã ã¢ãŒãïŒ `sys 'ïŒãšãŠãŒã¶ãŒã§æ¶è²»ãããåèšCPUæéãå«ãŸããŠããŸã
ã¢ãŒãïŒ `user 'ïŒãçŸæç¹ã§ååšããããã»ã¹ã®ç·æ°ïŒ` #proc'ïŒã
ç¶æ `running 'ïŒ` #trun'ïŒã§çŸæç¹ã§ååšããã¹ã¬ããã®ç·æ°ã
`sleepinginterruptible 'ïŒ` #tslpi'ïŒãš `sleeping uninterruptible 'ïŒ` #tslpu'ïŒã
ãŸã³ãããã»ã¹ã®æ°ïŒ `#zombie 'ïŒãã¯ããŒã³ã·ã¹ãã ã³ãŒã«ã®æ°ïŒ` clones'ïŒã
ééäžã«çµäºããããã»ã¹ã®æ°ïŒ `#exit 'ãããã¯`ïŒ'ã瀺ããŸã
ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã䜿çšãããŠããªãå ŽåïŒã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
CPU CPU䜿çšçã
ãã¹ãŠã®CPUãåãããåèšå æçã«ã€ããŠãå°ãªããšãXNUMXè¡ã衚瀺ãããŸãã
ãã«ãããã»ããµã·ã¹ãã ã®å Žåãå人ããšã«è¿œå ã®è¡ã衚瀺ãããŸã
ããã»ããµïŒå°æåã®ãcpuãä»ãïŒãã¢ã¯ãã£ããã£ã§ãœãŒãã éã¢ã¯ãã£ããªCPUã¯
ããã©ã«ãã§è¡šç€ºãããŸãã CPUããšã®è·æ¥ã瀺ãè¡ã«ã¯ã次ã®CPUçªå·ãå«ãŸããŠããŸãã
æåŸã®ãã£ãŒã«ãã
ãã¹ãŠã®è¡ã«ã¯ããã¹ãŠã®ã¢ã¯ãã£ããªãŠãŒã¶ãŒãã«ãŒãã«ã¢ãŒãã§è²»ãããCPUæéã®å²åãå«ãŸããŠããŸã
ããã»ã¹ïŒ `sys 'ïŒããã¹ãŠã®ãŠãŒã¶ãŒã¢ãŒãïŒ` user'ïŒã§æ¶è²»ãããCPUæéã®å²å
ã¢ã¯ãã£ããªããã»ã¹ïŒãŒããã倧ããniceå€ã§å®è¡ãããŠããããã»ã¹ãå«ãïŒã
softirqãå«ãå²ã蟌ã¿åŠçïŒ `irq 'ïŒã«è²»ããããCPUæéã®ããŒã»ã³ããŒãžã
ãã£ã¹ã¯I / OãåŸ æ©ããŠããããã»ã¹ããªãéã®æªäœ¿çšã®CPUæéã®å²å
ïŒ `idle 'ïŒãããã³å°ãªããšãXNUMXã€ã®ããã»ã¹ã
disk-I / OãåŸ æ©ããŠããŸãïŒ `wait 'ïŒã
CPUããšã®å æã®å ŽåãæåŸã®åã«ã¯CPUçªå·ãšåŸ æ©æéã衚瀺ãããŸã
ãã®CPUã®ããŒã»ã³ããŒãžïŒ `w 'ïŒã CPUããšã®å æã瀺ãè¡ã®æ°
å¶éããããšãã§ããŸãã
ä»®æ³ãã·ã³ã®å Žåãçå¡çã衚瀺ããïŒãçå¡ãïŒã
åãããŒããŠã§ã¢ã§å®è¡ãããŠããä»ã®ä»®æ³ãã·ã³ã«ãã£ãŠçãŸããCPUæéã®å²åã
XNUMXã€ä»¥äžã®ä»®æ³ãã·ã³ããã¹ãããŠããç©çãã·ã³ã®å Žåãã²ã¹ãã®å²åã¯æ¬¡ã®ããã«ãªããŸãã
è¡šç€ºïŒ `guest 'ïŒãä»®æ³ãã·ã³ã«ãã£ãŠäœ¿çšãããCPUæéã®ããŒã»ã³ããŒãžãåæ ããŠããŸãã
åšæ³¢æ°ã¹ã±ãŒãªã³ã°ã®å Žåãåè¿°ã®ãã¹ãŠã®CPUããŒã»ã³ããŒãžã¯çžå¯Ÿçã§ã
ã€ã³ã¿ãŒãã«äžã«äœ¿çšãããCPUã®ã¹ã±ãŒãªã³ã°ã«ã ããšãã°ãCPUãã¢ã¯ãã£ãã«ãªã£ãŠããå Žå
ã€ã³ã¿ãŒãã«äžã®ãŠãŒã¶ãŒã¢ãŒãã§50ïŒ ã®å Žåããã®åšæ³¢æ°ã¹ã±ãŒãªã³ã°ã¯40ïŒ ã§ãããã
ãã®å ŽåãCPUã®å šå®¹éã®20ïŒ ã®ã¿ããŠãŒã¶ãŒã¢ãŒãã§äœ¿çšãããŠããŸãã
ã«ãŒãã«ã¢ãžã¥ãŒã« `cpufreq_stats 'ãã¢ã¯ãã£ããªå ŽåïŒ` modprobeãçºè¡ããåŸïŒ
cpufreq_stats 'ïŒã å¹³å é »åºŠïŒ `avgf 'ïŒãš å¹³å ã¹ã±ãŒãªã³ã°ç
ïŒ `avgscal 'ïŒã衚瀺ãããŸãã ãã以å€ã®å Žå㯠çŸåš é »åºŠïŒ `curf 'ïŒãš çŸåš
ã¹ã±ãŒãªã³ã°ããŒã»ã³ããŒãžïŒ `curscal 'ïŒã¯ããµã³ãã«ãååŸãããç¬éã«è¡šç€ºãããŸãã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
CPL CPUè² è·æ å ±ã
ãã®è¡ã«ã¯ãã¹ã¬ããã®æ°ãåæ ããè² è·å¹³åã®æ°å€ãå«ãŸããŠããŸã
CPUïŒã€ãŸããã©ã³ãã¥ãŒã®äžéšïŒã§å®è¡ã§ãããããã£ã¹ã¯ãåŸ æ©ããŠãã
I / Oã ãããã®æ°å€ã¯ã1ïŒ `avg1 'ïŒã5ïŒ` avg5'ïŒãããã³15ïŒ `avg15 'ïŒåã®å¹³åã§ãã
ããã«ãã³ã³ããã¹ãã¹ã€ããïŒ `csw 'ïŒã®æ°ããµãŒãã¹ãããå²ã蟌ã¿ã®æ°
ïŒ `intr 'ïŒãšäœ¿çšå¯èœãªCPUã®æ°ã衚瀺ãããŸãã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
MEM èšæ¶ã®å æã
ãã®è¡ã«ã¯ãç©çââã¡ã¢ãªã®åèšéïŒ `tot 'ïŒãã¡ã¢ãªã®éãå«ãŸããŠããŸã
ããã¯çŸåšç©ºãïŒ `free 'ïŒã§ãããããŒãžãã£ãã·ã¥ãšããŠäœ¿çšãããŠããã¡ã¢ãªã®éã§ãã
ïŒ `cache 'ïŒããã£ã¹ã¯ã«ãã©ãã·ã¥ããå¿ èŠãããããŒãžãã£ãã·ã¥å ã®ã¡ã¢ãªã®é
ïŒ `dirty 'ïŒããã¡ã€ã«ã·ã¹ãã ã¡ã¿ããŒã¿ã«äœ¿çšãããã¡ã¢ãªã®éïŒ` buff'ïŒããã³é
ã«ãŒãã«mallocã«äœ¿çšãããŠããã¡ã¢ãªã®æ°ïŒ `slab'-ã«ãŒãã«0ã®å Žåã¯åžžã«2.4ïŒã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
SWP è·æ¥ã亀æããæ å ±ããªãŒããŒã³ãããããŸãã
ãã®è¡ã«ã¯ããã£ã¹ã¯äžã®ã¹ã¯ããã¹ããŒã¹ã®åèšéïŒ `tot 'ïŒãš
ããªãŒã¹ã¯ããã¹ããŒã¹ïŒ `free 'ïŒã
ããã«ãã³ããããããä»®æ³ã¡ã¢ãªã¹ããŒã¹ïŒ `vmcom 'ïŒãšã®æ倧å¶é
ã³ããããããã¹ããŒã¹ïŒ `vmlim 'ãããã©ã«ãã§ã¯ã¹ã¯ãããµã€ãºã«ã¡ã¢ãªãµã€ãºã®50ïŒ ãå ãããã®ïŒã¯
瀺ãããŠããŸãã ã³ããããããã¹ããŒã¹ã¯ãã®ãã¹ãŠã®å²ãåœãŠçšã«äºçŽãããä»®æ³ã¹ããŒã¹ã§ãã
ããã»ã¹çšã®ãã©ã€ããŒãã¡ã¢ãªã¹ããŒã¹ã ã«ãŒãã«ã¯ãã³ããããããŠãããã©ããã確èªããã ãã§ã
å³å¯ãªãªãŒããŒã³ãããåŠçãæ§æãããŠããå Žåãã¹ããŒã¹ãå¶éãè¶ ããŠããŸã
ïŒvm.overcommit_memoryã¯2ã§ãïŒã
PAG ããŒãžã³ã°é »åºŠã
ãã®è¡ã«ã¯ãç¡æã§ãããããã¹ãã£ã³ãããããŒãžæ°ïŒ `scan 'ïŒãå«ãŸããŠããŸã
ã¡ã¢ãªãç¹å®ã®ãããå€ãšã«ãŒãã«ãè©Šè¡ããåæ°ãäžåã£ã
ç·æ¥ã®å¿ èŠæ§ïŒãã¹ããŒã«ãïŒã®ããã«ããŒãžãåå©çšããããã
ãŸããã·ã¹ãã ãã¹ã¯ããã¹ããŒã¹ïŒ `swin 'ïŒããèªã¿åã£ãã¡ã¢ãªããŒãžã®æ°ãš
ã·ã¹ãã ãã¹ã¯ããã¹ããŒã¹ïŒ `swout 'ïŒã«æžã蟌ãã ã¡ã¢ãªããŒãžã®æ°ã衚瀺ãããŸãã
LVM / MDD / DSK
è«çããªã¥ãŒã /è€æ°ã®ããã€ã¹/ãã£ã¹ã¯ã®äœ¿çšçã
ã¢ã¯ãã£ããªãŠãããããšã«XNUMXã€ã®è¡ãçæããããŠãããã®ã¢ã¯ãã£ããã£ã«åºã¥ããŠãœãŒããããŸãã ãã®ãããªç·ã¯
ååïŒäŸïŒè«çããªã¥ãŒã ã®å Žåã¯VolGroup00-lvtmpãããŒããã£ã¹ã¯ã®å Žåã¯sdaïŒãããžãŒ
ããŒã»ã³ããŒãžãã€ãŸããŠãããããªã¯ãšã¹ãã®åŠçã§ããžãŒç¶æ ã ã£ãæéã®å²å
ïŒ `busy 'ïŒãçºè¡ãããèªã¿åãèŠæ±ã®æ°ïŒ` read'ïŒãæžã蟌ã¿èŠæ±ã®æ°
çºè¡ïŒ `write 'ïŒãèªã¿åããããã®KiBytesæ°ïŒ` KiB / r'ïŒãXNUMXåãããã®KiBytesæ°
æžã蟌ã¿ïŒ `KiB / w 'ïŒãèªã¿åãã®XNUMXç§ãããã®ã¹ã«ãŒãããã®MiBytesæ°ïŒ` MBr / s'ïŒã
æžã蟌ã¿ã®XNUMXç§ãããã®MiBytesã¹ã«ãŒãããïŒ `MBw / s 'ïŒãå¹³åãã¥ãŒæ·±åºŠ
ïŒ `avq 'ïŒããã³ã·ãŒã¯ã®ãªã¯ãšã¹ãïŒ` avio'ïŒã«å¿ èŠãªå¹³åããªç§æ°ã
ã¬ã€ãã³ã·ãŒãšããŒã¿è»¢éã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
åäœã瀺ãç·ã®æ°ã¯ãã¯ã©ã¹ïŒLVMãMDDããŸãã¯DSKïŒããšã«å¶éã§ããŸãã
'l'ããŒãŸãã¯éçïŒatoprcã®å¥ã®ããã¥ã¢ã«ããŒãžãåç §ïŒã å€ãæå®ãã
ç¹å®ã®ã¯ã©ã¹ã®å Žåã¯0ããã®ã¯ã©ã¹ã®è¡ã¯è¡šç€ºãããªããªããŸãã
NETã® ãããã¯ãŒã¯äœ¿çšçïŒTCP / IPïŒã
ãã©ã³ã¹ããŒãå±€ïŒTCPããã³UDPïŒã®ã¢ã¯ãã£ããã£çšã«XNUMXè¡ã
IPå±€ãšã¢ã¯ãã£ããªã€ã³ã¿ãŒãã§ã€ã¹ããšã«XNUMXã€ã®åç·ã
ãã©ã³ã¹ããŒãå±€ã«ã€ããŠã¯ãåä¿¡ããTCPã®æ°ã«é¢ããã«ãŠã³ã¿ãŒã衚瀺ãããŸã
ãšã©ãŒã§åä¿¡ãããã»ã°ã¡ã³ãïŒ `tcpi 'ïŒãå«ãã»ã°ã¡ã³ããéä¿¡ãããTCPã®æ°
åéä¿¡ããããªã¯ãããïŒ `tcpo 'ïŒã®ã¿ãå«ãã»ã°ã¡ã³ããé€ãã»ã°ã¡ã³ãã
åä¿¡ããUDPããŒã¿ã°ã©ã ïŒ `udpi 'ïŒãéä¿¡ããUDPããŒã¿ã°ã©ã ã®æ°ïŒ` udpo'ïŒã
ã¢ã¯ãã£ããªTCPãªãŒãã³ã®æ°ïŒ `tcpao 'ïŒãããã·ãTCPãªãŒãã³ã®æ°ïŒ` tcppo'ïŒã
TCPåºååéä¿¡ã®æ°ïŒ `tcprs 'ïŒãTCPå ¥åãšã©ãŒã®æ°
ïŒ `tcpie 'ïŒãTCPåºåãªã»ããã®æ°ïŒ` tcpie'ïŒãTCPåºåã®æ°
åéä¿¡ïŒ `tcpor 'ïŒãUDPããŒããªãã®æ°ïŒ` udpnp'ïŒãããã³
UDPå ¥åãšã©ãŒïŒ `tcpie 'ïŒã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
ãããã®ã«ãŠã³ã¿ãŒã¯ãIPv4ãšIPv6ã®çµã¿åããã«é¢é£ããŠããŸãã
IPå±€ã®å Žåãåä¿¡ããIPããŒã¿ã°ã©ã ã®æ°ã«é¢ããã«ãŠã³ã¿ãŒã衚瀺ãããŸã
ãšã©ãŒã§åä¿¡ããããã®ïŒ `ipi 'ïŒãå«ãã€ã³ã¿ãŒãã§ãŒã¹ãããIPã®æ°
ããŒã«ã«äžäœå±€ãããã³ã«ãéä¿¡çšã«æäŸããããŒã¿ã°ã©ã ïŒãipoãïŒã
ä»ã®ã€ã³ã¿ãŒãã§ãŒã¹ïŒ `ipfrw 'ïŒã«è»¢éãããåä¿¡IPããŒã¿ã°ã©ã ã®æ°ã
ããŒã«ã«ã®äžäœå±€ãããã³ã«ã«é ä¿¡ãããIPããŒã¿ã°ã©ã ã®æ°
ïŒ `deliv 'ïŒãåä¿¡ããICMPããŒã¿ã°ã©ã ã®æ°ïŒ` icmpi'ïŒãããã³
éä¿¡ãããICMPããŒã¿ã°ã©ã ïŒ `icmpo 'ïŒã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
ãããã®ã«ãŠã³ã¿ãŒã¯ãIPv4ãšIPv6ã®çµã¿åããã«é¢é£ããŠããŸãã
ã¢ã¯ãã£ããªãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ããšã«ãã€ã³ã¿ãŒãã§ã€ã¹ã§äžŠã¹æ¿ããããXNUMXè¡ã衚瀺ãããŸã
ã¢ã¯ãã£ããã£ã ãã®ãããªè¡ã¯ãã€ã³ã¿ãŒãã§ã€ã¹ã®ååãšãã®ããžãŒçã
æåã®åã ããŒããã¥ãã¬ãã¯ã¹ã®ããžãŒçã¯ã
XNUMXç§ãããã«éåä¿¡ããããããæ°ãšã®ã€ã³ã¿ãŒãã§ã€ã¹é床ã å®å šã«
ãã¥ãã¬ãã¯ã¹ã€ã³ã¿ãŒãã§ã€ã¹ã®é床ã¯ãéä¿¡ãŸãã¯éä¿¡ããããŸãã¯ã®ããããã®æé«ãšæ¯èŒãããŸã
åä¿¡ãããããã ã€ã³ã¿ãŒãã§ãŒã¹é床ã決å®ã§ããªãå ŽåïŒäŸïŒ
ã«ãŒãããã¯ã€ã³ã¿ãŒãã§ã€ã¹ïŒãããŒã»ã³ããŒãžã®ä»£ããã«ã---ãã衚瀺ãããŸãã
ããã«ãåä¿¡ãã±ããæ°ïŒ `pcki 'ïŒãéä¿¡æ°
ãã±ããïŒ `pcko 'ïŒãXNUMXç§ãããã«åä¿¡ããããããã®æå¹éïŒ` si'ïŒã
XNUMXç§ãããã«éä¿¡ãããæå¹ãããæ°ïŒ `so 'ïŒãè¡çªã®æ°
ïŒ `coll 'ïŒãåä¿¡ãããã«ããã£ã¹ããã±ããã®æ°ïŒ` mlti'ïŒããšã©ãŒã®æ°
ãã±ããåä¿¡äžïŒ `erri 'ïŒããã±ããéä¿¡äžã®ãšã©ãŒæ°
ïŒ `erro 'ïŒããããããããåä¿¡ãã±ããã®æ°ïŒ` drpi'ïŒãããã³
éä¿¡ããããã±ããããããããããŸããïŒ `drpo 'ïŒã
ç»é¢å¹ ããããã®ã«ãŠã³ã¿ãŒã®ãã¹ãŠãèš±å¯ããªãå Žåãé¢é£ãããµãã»ããã®ã¿ãèš±å¯ãããŸã
瀺ãã
ãããã¯ãŒã¯ã€ã³ã¿ãŒãã§ã€ã¹ã衚瀺ããè¡æ°ãå¶éã§ããŸãã
åºå DESCRIPTION - ããã»ã¹ LEVEL
ã·ã¹ãã ã¬ãã«ã®æ å ±ã«ç¶ããŠããªãœãŒã¹ã衚瀺ãããããã»ã¹ã衚瀺ãããŸã
æåŸã®ééã§äœ¿çšçãå€æŽãããŸããã ãããã®ããã»ã¹ã¯CPUæéã䜿çšããå¯èœæ§ããããŸã
ãŸãã¯çºè¡ããããã£ã¹ã¯ãŸãã¯ãããã¯ãŒã¯èŠæ±ã ãã ããããã»ã¹ã®äžéšã«
ã¡ã¢ãªäžè¶³ã®ããã«ããŒãžã¢ãŠããããŸããïŒããã»ã¹èªäœãã¹ãªãŒãç¶æ ã«ããéïŒã
ããã»ã¹ããšã«ã次ã®ãã£ãŒã«ããïŒã¢ã«ãã¡ãããé ã«ïŒè¡šç€ºãããå ŽåããããŸãã
ã»ã¯ã·ã§ã³ã察話åã³ãã³ããã§èª¬æãããŠããçŸåšã®åºåã¢ãŒãã
ãŠã£ã³ããŠã®çŸåšã®å¹ ïŒ
AVGRSZ ãã£ã¹ã¯äžã®XNUMXã€ã®èªã¿åãã¢ã¯ã·ã§ã³ã®å¹³åãµã€ãºã
AVGWSZ ãã£ã¹ã¯äžã®XNUMXã€ã®æžã蟌ã¿ã¢ã¯ã·ã§ã³ã®å¹³åãµã€ãºã
CMD ããã»ã¹ã®ååã ãã®ååã¯ãããå°ãã/ãã倧ãããã§å²ãããšãã§ããŸã
ãµã€ã³ïŒ ` 'ïŒããã¯ãããã»ã¹ãæåŸã®éã«çµäºããããšãæå³ããŸã
ééã
ããããŒè¡ã®ç¥èª `CMD 'ã®åŸãã«ãçŸåšã®ããŒãžçªå·ãš
ããã»ã¹ãªã¹ãã®ç·ããŒãžæ°ã衚瀺ãããŸãã
ã³ãã³ãã©ã€ã³
ããã»ã¹ã®å®å šãªã³ãã³ãã©ã€ã³ïŒåŒæ°ãå«ãïŒãããã¯ã
ç»é¢ã®ç·ã®é·ãã ã³ãã³ãã©ã€ã³ã¯ã§å²ãããšãã§ããŸã
ãããå°ãã/ãã倧ãããèšå·ïŒ ` 'ïŒããã¯ããã»ã¹ãçµäºããããšãæå³ããŸã
æåŸã®ééã®éã
ããããŒè¡ã®åè© `COMMAND-LINE 'ã®åŸãã«ãçŸåšã®ããŒãžçªå·ãš
ããã»ã¹ãªã¹ãã®åèšããŒãžæ°ã衚瀺ãããŸãã
CPU ãã®ããã»ã¹ã®å æçã¯ã
ãã®ãªãœãŒã¹ã¯ã·ã¹ãã ã¬ãã«ã§ã
CPUNR ããã»ã¹ã®ã¡ã€ã³ã¹ã¬ãããå®è¡ãããŠããããŸãã¯å®è¡ãããŠããCPUã®ID
æè¿å®è¡ãããŠããŸãã
DSK ãã®ããã»ã¹ã®å æçã¯ãç·è² è·ã«é¢é£ããŠããŸãã
ãã¹ãŠã®ããã»ã¹ã«ãã£ãŠçæãããŸãïŒã€ãŸãã
æåŸã®ééïŒã
ãã®æ å ±ã¯ãããã»ã¹ããšã«ãã¹ãã¬ãŒãžã¢ã«ãŠã³ãã£ã³ã°ããã¢ã¯ãã£ããªå Žåã«è¡šç€ºãããŸãã
ã«ãŒãã«ãŸãã¯ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã
EGID ãã®ããã»ã¹ãå®è¡ãããæå¹ãªã°ã«ãŒãIDã
åè ããã»ã¹ãçµäºããæ¥ä»ã ããã»ã¹ããŸã å®è¡äžã®å Žåããã
ãã£ãŒã«ãã¯ãã¢ã¯ãã£ããã瀺ããŸãã
ãšã³ã¿ã€ã ããã»ã¹ãçµäºããæéã ããã»ã¹ããŸã å®è¡äžã®å Žåããã
ãã£ãŒã«ãã¯ãã¢ã¯ãã£ããã瀺ããŸãã
EUID ãã®ããã»ã¹ãå®è¡ãããæå¹ãªãŠãŒã¶ãŒIDã
EXC çµäºããããã»ã¹ã®çµäºã³ãŒãïŒå `ST 'ã®XNUMXçªç®ã®äœçœ®ã¯EïŒãŸãã¯
èŽåœçãªä¿¡å·çªå·ïŒå `ST 'ã®XNUMXçªç®ã®äœçœ®ã¯SãŸãã¯Cã§ãïŒã
FSGID ãã®ããã»ã¹ãå®è¡ããããã¡ã€ã«ã·ã¹ãã ã°ã«ãŒãIDã
FSUID ãã®ããã»ã¹ãå®è¡ããããã¡ã€ã«ã·ã¹ãã ã®ãŠãŒã¶ãŒIDã
ããžãã«ã ãã®ããã»ã¹ã«ãã£ãŠçºè¡ãããã«ãã£ãŠè§£æ±ºãããããŒãžãã©ãŒã«ãã®æ°
èŠæ±ãããã¡ã¢ãªããŒãžãäœæ/ããŒãããŸãã
MEM ãã®ããã»ã¹ã®å æçã¯ã
ãã®ãªãœãŒã¹ã¯ã·ã¹ãã ã¬ãã«ã§ã
ãã€ã³ããã«ã ãã®ããã»ã¹ã«ãã£ãŠçºè¡ãããã«ãã£ãŠè§£æ±ºãããããŒãžãã©ãŒã«ãã®æ°
ããŒãžã®ç©ºããªã¹ãããèŠæ±ãããã¡ã¢ãªããŒãžãåå©çšããŸãã
NETã® ãã®ããã»ã¹ã®å æçã¯ãç·è² è·ã«é¢é£ããŠããŸãã
ãã¹ãŠã®ããã»ã¹ã«ãã£ãŠçæãããŸãïŒã€ãŸãããã¹ãŠã®ããã»ã¹ã«ãã£ãŠè»¢éããããããã¯ãŒã¯ãã±ãã
æåŸã®ééäžïŒã
ãã®æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºãããŸãã
NICE ããã®ã¹ã±ãŒã«ã§ããã»ã¹ã«äžããããšãã§ããå€ããå°ãªããéçãªåªå é äœ
-20ïŒåªå 床ãé«ãïŒãã+19ïŒåªå 床ãäœãïŒã
NPROCS ãã®ãŠãŒã¶ãŒãŸãã¯
ããã°ã©ã ã
PID ããã»ã¹IDã æåŸã®ééã§ããã»ã¹ãéå§ããã³çµäºããå Žåã
`ïŒ ' process-idãæšæºããã»ã¹ã®äžéšã§ã¯ãªããããã衚瀺ãããŸã
äŒèšèšé²ã ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã¯
æ£ãã衚瀺ãããŸãã
POLI ããªã·ãŒãnormãïŒéåžžãSCHED_OTHERïŒããbtchãïŒãããïŒãããã³ãidleã
ã¿ã€ã ã·ã§ã¢ãªã³ã°ããã»ã¹ãåç §ããŠãã ããã ããªã·ãŒ 'fifo'ïŒSCHED_FIFOïŒããã³ 'rr'ïŒã©ãŠã³ã
ããã³ïŒSCHED_RRïŒã¯ããªã¢ã«ã¿ã€ã ããã»ã¹ãåç §ããŸãã
PPID 芪ããã»ã¹IDã æåŸã®éã«ããã»ã¹ãéå§ããã³çµäºããå Žå
ééãå€0ã衚瀺ãããã®ã¯ã芪ããã»ã¹IDãã®äžéšã§ã¯ãªãããã§ãã
æšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã ãã ããã«ãŒãã«ããã `acct 'ã
ã€ã³ã¹ããŒã«ãããšããã®å€ãæ£ãã衚瀺ãããŸãã
PRI ããã»ã¹ã®åªå 床ã®ç¯å²ã¯ã0ïŒæé«ã®åªå 床ïŒãã139ïŒæäœã®åªå 床ïŒã§ãã
åªå 床0ã99ã¯ããªã¢ã«ã¿ã€ã ããã»ã¹ã«äœ¿çšãããŸãïŒåºå®åªå 床ã¯ç¬ç«ããŠããŸãïŒ
ãããã®åäœïŒããã³ã¿ã€ã ã·ã§ã¢ãªã³ã°ããã»ã¹ã®åªå 床100ã139ïŒå¯å€
æè¿ã®CPUæ¶è²»éãšé©åãªå€ã«å¿ããåªå 床ïŒã
RAWRCV ãã®ããã»ã¹ã«ãã£ãŠåä¿¡ãããçã®ããŒã¿ã°ã©ã ã®æ°ã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«è¡šç€ºãããŸãã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ãããã¯ãŒã¯ã«ãŠã³ã¿ã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã«ç»é²ãããŠããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
RAWND ãã®ããã»ã¹ã«ãã£ãŠéä¿¡ãããçã®ããŒã¿ã°ã©ã ã®æ°ã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«è¡šç€ºãããŸãã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ãããã¯ãŒã¯ã«ãŠã³ã¿ã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã«ç»é²ãããŠããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
RDDSK ã«ãŒãã«ãæšæºã®IOçµ±èšãç¶æããå ŽåïŒ> = 2.6.20ïŒïŒ
ãã£ã¹ã¯äžã§ç©ççã«çºè¡ãããèªã¿åãããŒã¿è»¢éïŒãããã£ãŠããã£ã¹ã¯ãã£ãã·ã¥ããã®èªã¿åã
ã¯èæ ®ãããŠããŸããïŒã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå ŽåïŒ
ãã£ã¹ã¯äžã§ç©ççã«çºè¡ãããèªã¿åãã¢ã¯ã»ã¹ã®æ°ïŒã€ãŸãããã£ã¹ã¯ããã®èªã¿åãïŒ
ãã£ãã·ã¥ã¯èæ ®ãããŸããïŒã
RGID ããã»ã¹ãå®è¡ãããå®éã®ã°ã«ãŒãIDã
RGROW ããã»ã¹ãæåŸã®éã«å¢å ããåžžé§ã¡ã¢ãªã®é
ééã å± äœè ã®æé·ã¯ãããã§ã¯ãªãã£ãã¡ã¢ãªããŒãžã«è§Šããããšã«ãã£ãŠåŒãèµ·ããããå¯èœæ§ããããŸã
以åã«ç©ççã«äœæ/ããŒããããŸããïŒããŒããªã³ããã³ãïŒã å± äœè ã®æé·ã«æ³šæããŠãã ãã
ãã¬ãã£ãã«ãªãããšããããŸããããšãã°ãããã»ã¹ã®äžéšãäžè¶³ããŠããããã«ããŒãžã¢ãŠããããå Žå
ã¡ã¢ãªããŸãã¯ããã»ã¹ãåçã«å²ãåœãŠãããã¡ã¢ãªã解æŸãããšãã ããã»ã¹ã®å Žå
æåŸã®ééã®éã«å§ãŸã£ããå± äœè ã®æé·ã¯åèšãåæ ããŸã
ãã®æç¹ã§ã®ããã»ã¹ã®åžžé§ãµã€ãºã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
åžžé§ã¡ã¢ãªã®å æã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
RNET ãã®ããã»ã¹ã«ãã£ãŠåä¿¡ãããTCPããã³UDPãã±ããã®æ°ã ãã®æ å ±
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ãããã¯ãŒã¯ã«ãŠã³ã¿ã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã ããã
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ããããšããã®å€ã衚瀺ãããŸãã
Rãµã€ãº ãã®ããã»ã¹ïŒãŸãã¯ãŠãŒã¶ãŒïŒã«ãã£ãŠæ¶è²»ãããåžžé§ã¡ã¢ãªãŒã®åèšäœ¿çšéã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
åžžé§ã¡ã¢ãªã®å æã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
RTPR POSIXæšæºã«åŸã£ããªã¢ã«ã¿ã€ã ã®åªå é äœã ã¿ã€ã ã·ã§ã¢ãªã³ã°ã®å Žåãå€ã¯0ã«ãªããŸã
ããã»ã¹ïŒããªã·ãŒ 'norm'ã 'btch'ããŸã㯠'idle'ïŒãŸãã¯1ïŒæäœïŒãã99ãŸã§ã®ç¯å²
ïŒæé«ïŒãªã¢ã«ã¿ã€ã ããã»ã¹ã®å ŽåïŒããªã·ãŒ 'rr'ãŸã㯠'fifo'ïŒã
ã«ã€ã ããã»ã¹ãå®è¡ãããå®éã®ãŠãŒã¶ãŒIDã
S ããã»ã¹ã®ã¡ã€ã³ã¹ã¬ããã®çŸåšã®ç¶æ ïŒå®è¡äžã® `R 'ïŒçŸåš
åŠçäžãŸãã¯ã©ã³ãã¥ãŒå ïŒãå²ã蟌ã¿å¯èœã¹ãªãŒãïŒã€ãã³ããåŸ æ©ïŒã®å Žåã¯ãSã
çºçããïŒãäžæã§ããªãç¡ç ã®å Žåã¯ãDãããŸã³ãã®å Žåã¯ãZãïŒ
芪ããã»ã¹ãšåæïŒãåæ¢ïŒäžæåæ¢ãŸãã¯ãã¬ãŒã¹ïŒã®å Žåã¯ãTãããWã
ã¹ã¯ããã³ã°ã®å Žåãããã³æåŸã®éã«çµäºããããã»ã¹ã®å Žåã¯ãEãïŒçµäºïŒ
ééã
SGID ä¿åãããããã»ã¹ã®ã°ã«ãŒãIDã
SNET ãã®ããã»ã¹ã«ãã£ãŠéä¿¡ãããTCPããã³UDPãã±ããã®æ°ã ãã®æ å ±
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ãããã¯ãŒã¯ã«ãŠã³ã¿ãŒã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã ããã
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ããããšããã®å€ã衚瀺ãããŸãã
ST ããã»ã¹ã®ã¹ããŒã¿ã¹ã
æåã®äœçœ®ã¯ãããã»ã¹ãæåŸã®éã«éå§ããããã©ããã瀺ããŸã
ééïŒå€ N ãæ°ããããã»ã¹ããæå³ããŸãïŒã
XNUMXçªç®ã®äœçœ®ã¯ãããã»ã¹ãæåŸã®éã«çµäºãããã©ããã瀺ããŸã
ééã
å€ E ããã»ã¹èªäœã®ã€ãã·ã¢ããã§ãçµäºããæå³ããŸãã çµäºã³ãŒãã¯
å `EXC 'ã«è¡šç€ºãããŸãã
å€ S ããã»ã¹ãã·ã°ãã«ã«ãã£ãŠéèªçºçã«çµäºããããšãæå³ããŸãã
ä¿¡å·çªå·ã¯ãEXCãåã«è¡šç€ºãããŸãã
å€ C ããã»ã¹ãã·ã°ãã«ã«ãã£ãŠéèªçºçã«çµäºããããšãæå³ããŸãã
çŸåšã®ãã£ã¬ã¯ããªã«ã³ã¢ãã³ããçæããŸãã ä¿¡å·çªå·ã¯ã«è¡šç€ºãããŸã
å `EXC 'ã
æšæºæ¥ ããã»ã¹ã®éå§æ¥ã
æé ããã»ã¹ã®éå§æéã
SUID ããã»ã¹ã®ä¿åããããŠãŒã¶ãŒIDã
SYSCPU ã·ã¹ãã ã¢ãŒãïŒã«ãŒãã«ã¢ãŒãïŒã§ã®ãã®ããã»ã¹ã®CPUæéã®æ¶è²»ãéåžžã¯
ã·ã¹ãã ã³ãŒã«åŠçã
ãã¯ã©ãº åä¿¡ããTCPãããã¡ãŒã®å¹³åãµã€ãºïŒãã€ãåäœïŒïŒããã»ã¹å¥ïŒã ãã
æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã ãã€
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããŸãããã®å€ã¯ã
ããã»ã¹ã¯æåŸã®ééã§çµäºããŸããã
TCPRCV TCPãœã±ããã«å¯ŸããŠãã®ããã»ã¹ã«ãã£ãŠçºè¡ãããåä¿¡èŠæ±ã®æ°ã ãã
æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã ãã€
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããŸãããã®å€ã¯ã
ããã»ã¹ã¯æåŸã®ééã§çµäºããŸããã
TCPSASZ éä¿¡ãããTCPãããã¡ãŒã®å¹³åãµã€ãºïŒãã€ãåäœïŒïŒããã»ã¹å¥ïŒã ãã
æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã ãã€
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããŸãããã®å€ã¯ã
ããã»ã¹ã¯æåŸã®ééã§çµäºããŸããã
TCPSND TCPãœã±ããã«å¯ŸããŠãã®ããã»ã¹ã«ãã£ãŠçºè¡ãããéä¿¡èŠæ±ã®æ°ãããã³
転éãããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã ãã®æ å ±ã¯ã次ã®å Žåã«ã®ã¿è¡šç€ºã§ããŸã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããŸãã ã«ãŒãã«ããã `acct 'ã次ã®ããã«ã€ã³ã¹ããŒã«ãããŠããå Žå
ãã®å€ã¯ãæåŸã®ããã»ã¹ãçµäºãããšãã«ã衚瀺ãããŸã
ééã
THR ãã®ããã»ã¹å ã®ã¹ã¬ããã®ç·æ°ã é¢é£ãããã¹ãŠã®ã¹ã¬ãããå«ãŸããŠããŸã
ã¹ã¬ããã°ã«ãŒãå ã§ã äžã« XNUMXè¡ãšããŠã
Linux 2.4ã·ã¹ãã ã§ã¯ãã©ã®ã¹ã¬ããïŒã€ãŸãã
ããã»ã¹ïŒã¯åãã¹ã¬ããã°ã«ãŒãã«é¢é£ããŠããŸãã ãã¹ãŠã®ã¹ã¬ããã¯ã«ãã£ãŠè¡šãããŸã
äžã« å¥ã®è¡ãšããŠã
ããã«ãº ãã£ã¹ã¯ããç©ççã«èªã¿åãããããŒã¿ã®åèšéã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«è¡šç€ºãããŸãã
ãã㺠ãã£ã¹ã¯ã«ç©ççã«æžã蟌ãŸããããŒã¿ã®åèšéã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«è¡šç€ºãããŸãã
ãã¥ã«ã³ ãã®ããã»ã¹å ã§ãå®è¡äžãïŒRïŒã®ç¶æ ã«ããã¹ã¬ããã®æ°ã
TSLPI äžæå¯èœãªç¶æ ã«ãããã®ããã»ã¹å ã®ã¹ã¬ããã®æ°
ç ã£ãŠãããïŒSïŒã
TSLPU äžæã§ããªãç¶æ ã«ãããã®ããã»ã¹å ã®ã¹ã¬ããã®æ°
ç ã£ãŠãããïŒDïŒã
ãŠãã©ã·ã¥ åä¿¡ããUDPãã±ããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«è¡šç€ºãããŸãã ã«ãŒãã«ããã `acct 'ã
ã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã¯ããã»ã¹ãçµäºãããšãã«ã衚瀺ãããŸã
æåŸã®ééã®éã
UDPRCV ãã®ããã»ã¹ã«ãã£ãŠUDPãœã±ããã«å¯ŸããŠçºè¡ãããåä¿¡èŠæ±ã®æ°ã ãã
æ å ±ã¯ãã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºã§ããŸãã ãã€
ã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããŸãããã®å€ã¯ã
ããã»ã¹ã¯æåŸã®ééã§çµäºããŸããã
ãŠãããµã¹ éä¿¡ãããUDPãã±ããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã ãã®æ å ±ã¯
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã«ã®ã¿è¡šç€ºãããŸãã ã«ãŒãã«ããã `acct 'ã®å Žå
ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã¯ããã»ã¹ãçµäºãããšãã«ã衚瀺ãããŸã
æåŸã®ééã®éã
UDPSND TCPãœã±ããã«å¯ŸããŠãã®ããã»ã¹ã«ãã£ãŠçºè¡ãããéä¿¡èŠæ±ã®æ°ãããã³
転éãããã®å¹³åãµã€ãºïŒãã€ãåäœïŒã ãã®æ å ±ã¯ã次ã®å Žåã«ã®ã¿è¡šç€ºã§ããŸã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããŸãã ã«ãŒãã«ããã `acct 'ã次ã®ããã«ã€ã³ã¹ããŒã«ãããŠããå Žå
ãã®å€ã¯ãæåŸã®ããã»ã¹ãçµäºãããšãã«ã衚瀺ãããŸã
ééã
USRCPU ç¬èªã®åŠçã«ããããŠãŒã¶ãŒã¢ãŒãã§ã®ãã®ããã»ã¹ã®CPUæéã®æ¶è²»
ããã°ã©ã ããã¹ãã
VGROW ããã»ã¹ãæåŸã®ééã§å¢å ããä»®æ³ã¡ã¢ãªã®éã
ä»®æ³çãªæé·ã¯ãããšãã°ãmallocïŒïŒãçºè¡ããããå ±æãã¢ã¿ãããããããããšã§çºçããå¯èœæ§ããããŸã
ã¡ã¢ãªã»ã°ã¡ã³ãã ä»®æ³æé·ã¯ãããšãã°çºè¡ããããšã«ãã£ãŠããã€ãã¹ã«ãªãå¯èœæ§ãããããšã«æ³šæããŠãã ãã
freeïŒïŒãŸãã¯å ±æã¡ã¢ãªã»ã°ã¡ã³ãã®ãã¿ããã éå§ããããã»ã¹ã®å Žå
æåŸã®ééã§ã¯ãä»®æ³æé·ã¯æ¬¡ã®ä»®æ³ãµã€ãºã®åèšãåæ ããŸãã
ãã®ç¬éã®ããã»ã¹ã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ä»®æ³ã¡ã¢ãªã®å æã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
VSIZE ãã®ããã»ã¹ïŒãŸãã¯ãŠãŒã¶ãŒïŒã«ãã£ãŠæ¶è²»ãããä»®æ³ã¡ã¢ãªã®åèšäœ¿çšéã
æåŸã®ééã§ããã»ã¹ãçµäºããå Žåããã以éã®å€ã¯è¡šç€ºãããŸããã
ä»®æ³ã¡ã¢ãªã®å æã¯ãæšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã®äžéšã§ã¯ãããŸããã
ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåããã®å€ã衚瀺ãããŸãã
VSTEXT ãã®ããã»ã¹ã®å ±æããã¹ãã§äœ¿çšãããä»®æ³ã¡ã¢ãªã®ãµã€ãºã
WRDSK ã«ãŒãã«ãæšæºã®IOçµ±èšãç¶æããå ŽåïŒ> = 2.6.20ïŒïŒ
ãã£ã¹ã¯äžã§ç©ççã«çºè¡ãããæžã蟌ã¿ããŒã¿è»¢éïŒãããã£ãŠããã£ã¹ã¯ãã£ãã·ã¥ãžã®æžã蟌ã¿
ã¯èæ ®ãããŠããŸããïŒã ãã®ã«ãŠã³ã¿ãŒã¯ãç³è«ããã»ã¹ã®ããã«ç¶æãããŸã
ããŒã¿ããã£ãã·ã¥ã«æžã蟌ã¿ãŸãïŒãã®ããŒã¿ãç©ççã«ãããšä»®å®ããŸãïŒ
åŸã§ãã£ã¹ã¯ã«è»¢éãããŸãïŒã ã¹ã¯ããã³ã°ã«å¿ èŠãªãã£ã¹ã¯I / Oã¯ããã§ã¯ãªãããšã«æ³šæããŠãã ãã
èæ ®ã«å ¥ããããŸãã
ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããå ŽåïŒ
ãã£ã¹ã¯äžã§ç©ççã«çºè¡ãããæžã蟌ã¿ã¢ã¯ã»ã¹ã®æ°ïŒã€ãŸãããã£ã¹ã¯ãžã®æžã蟌ã¿ïŒ
ãã£ãã·ã¥ã¯èæ ®ãããŸããïŒã éåžžãã¢ããªã±ãŒã·ã§ã³ããã»ã¹ã¯
ããŒã¿ããã£ãã·ã¥ã«è¿œå ããŸãããç©ççãªæžã蟌ã¿ã¢ã¯ã»ã¹ã¯åŸã§ã«ãŒãã«ã«ãã£ãŠå®è¡ãããŸã
pdflushã®ãããªããŒã¢ã³ã èªã¿åãããã³æžã蟌ã¿ã¢ã¯ã»ã¹ã®æ°ã¯ããã§ã¯ãªãããšã«æ³šæããŠãã ãã
æšæºã®ããã»ã¹ã¢ã«ãŠã³ãã£ã³ã°ã¬ã³ãŒãã§åå¥ã«ç®¡çãããŸãã ãã®æå³ã¯
ããã»ã¹ãçµäºããå Žåã«åããŠãèªã¿åããšæžã蟌ã¿ã®å€ã¯XNUMXã€ã ãã§ãã
æåŸã®ééã®éã ãã ããã«ãŒãã«ããã `acct 'ãã€ã³ã¹ããŒã«ãããŠããå Žåã
ãããã®å€ã¯åå¥ã«è¡šç€ºãããŸãã
WCANCL ã«ãŒãã«ããã `cnt 'ãã€ã³ã¹ããŒã«ãããŠããªãããã«ãŒãã«ãæšæºãç¶æããŠããå Žå
ioçµ±èšïŒ> = 2.6.20ïŒïŒ
以åã«ãã®ããã»ã¹ãŸãã¯å¥ã®ããã»ã¹ãèæ ®ããæžã蟌ã¿ããŒã¿è»¢é
ããã¯ãã£ã³ã»ã«ãããŸããã ããã»ã¹ãæ°ããããŒã¿ããã¡ã€ã«ã«æžã蟌ã¿ã
ãã®ããŒã¿ã¯ããã£ãã·ã¥ãããã¡ããã£ã¹ã¯ã«ãã©ãã·ã¥ãããåã«åã³åé€ãããŸãã
次ã«ãå ã®ããã»ã¹ã¯æžã蟌ãŸããããŒã¿ãWRDSKãšããŠè¡šç€ºããŸããã
ãã¡ã€ã«ãåé€/åãæšãŠããšããã©ãã·ã¥ãããŠããªãåé€æžã¿ããŒã¿ãWCANCLãšããŠè¡šç€ºãããŸãã
解æå¯èœ åºå
æä»ã -P 解æå¯èœãªXNUMXã€ä»¥äžã®ã©ãã«ïŒã³ã³ãåºåãïŒã®ãªã¹ããç¶ããŸã
ãµã³ãã«ããšã«åºåãçæãããŸãã ã·ã¹ãã ã¬ãã«ã§æå®ã§ããã©ãã«
çµ±èšã¯ãã«ããã©ãã«ïŒåè¡ã®æåã®åè©ïŒã«å¯Ÿå¿ããŠããŸãã
ã€ã³ã¿ã©ã¯ãã£ãåºåïŒãCPUãããcpuãããCPLãããMEMãããSWPãããPAGãããLVMãããMDDãããDSKãããNETãã
ããã»ã¹ã¬ãã«ã®çµ±èšçšã«ããPRGãïŒäžè¬ïŒããPRCãïŒCPUïŒã
ãPRMãïŒã¡ã¢ãªïŒããPRDãïŒãã£ã¹ã¯ãã«ãŒãã«ããããã€ã³ã¹ããŒã«ãããŠããå Žåã®ã¿ïŒããã³ãPRNã
ïŒãããã¯ãŒã¯ãkernel-patchãã€ã³ã¹ããŒã«ãããŠããå Žåã®ã¿ïŒã
ãALLããšããã©ãã«ãä»ãããšããã¹ãŠã®ã·ã¹ãã ã¬ãã«ããã³ããã»ã¹ã¬ãã«ã®çµ±èšã衚瀺ãããŸãã
ééããšã«ãèŠæ±ããããã¹ãŠã®è¡ã衚瀺ãããŸãã äžã« ã¡ããã©ç·ã衚瀺ããŸã
次ã®ãµã³ãã«ã®è¡ã®åã«ãåºåãæåãšããŠã©ãã«ãSEPããå«ãŸããŠããŸãã
çæãããã
ãµã³ãã«ã«èµ·å以éã®å€ãå«ãŸããŠããå Žåã äžã« ã©ãã«ã ããå«ãè¡ã瀺ããŠããŸã
ãã®ãµã³ãã«ã®è¡ãçæãããåã«ãRESETããå®è¡ããŸãã
ååºåè¡ã®æåã®éšåã¯ã次ã®XNUMXã€ã®ãã£ãŒã«ãã§æ§æãããŠããŸãã ã©ãã« ïŒåå
ã©ãã«ã®ïŒã host ïŒãã®ãã·ã³ã®ååïŒã æ代 ïŒæ°å€ãšããŠã®ãã®ééã®æé
1-1-1970ããã®ç§æ°ïŒã date ïŒYYYY / MM / DD圢åŒã®ãã®ééã®æ¥ä»ïŒã æé ïŒæé
ãã®ééã®åœ¢åŒHHïŒMMïŒSSïŒãããã³ ã€ã³ã¿ãŒãã« ïŒãã®ããã«çµéããç§æ°
ééïŒã
ååºåè¡ã®åŸç¶ã®ãã£ãŒã«ãã¯ãã©ãã«ã«ãã£ãŠç°ãªããŸãã
CPU åŸç¶ã®ãã£ãŒã«ãïŒãã®ãã·ã³ã®XNUMXç§ãããã®ã¯ããã¯ãã£ãã¯ã®ç·æ°ã
ããã»ããµã®æ°ãã·ã¹ãã ã¢ãŒãã®ãã¹ãŠã®CPUã®æ¶è²»éïŒã¯ããã¯ãã£ãã¯ïŒã
ãŠãŒã¶ãŒã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒã®ãã¹ãŠã®CPUã®æ¶è²»éããã¹ãŠã®CPUã®æ¶è²»é
ããŒãããã»ã¹ïŒã¯ããã¯ãã£ãã¯ïŒã®ãŠãŒã¶ãŒã¢ãŒãã§ã¯ãã¢ã€ãã«ç¶æ ã®ãã¹ãŠã®CPUã®æ¶è²»
ã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒãåŸ æ©ã¢ãŒãã®ãã¹ãŠã®CPUã®æ¶è²»ïŒã¯ããã¯ãã£ãã¯ïŒã
irqã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒã®ãã¹ãŠã®CPUã®æ¶è²»éã
softirqã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒãã¹ãã£ãŒã«ã¢ãŒãïŒã¯ããã¯-
ãã£ãã¯ïŒãããã³ã²ã¹ãã¢ãŒãã®ãã¹ãŠã®CPUã®æ¶è²»ïŒã¯ããã¯ãã£ãã¯ïŒã
CPU åŸç¶ã®ãã£ãŒã«ãïŒãã®ãã·ã³ã®XNUMXç§ãããã®ã¯ããã¯ãã£ãã¯ã®ç·æ°ã
ããã»ããµçªå·ãã·ã¹ãã ã¢ãŒãã§ã®ãã®CPUã®æ¶è²»éïŒã¯ããã¯ãã£ãã¯ïŒã
ãŠãŒã¶ãŒã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒã§ã®ãã®CPUã®æ¶è²»éã
ããŒãããã»ã¹ïŒã¯ããã¯ãã£ãã¯ïŒã®ãŠãŒã¶ãŒã¢ãŒããã¢ã€ãã«ç¶æ ã§ã®ãã®CPUã®æ¶è²»
ã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒãåŸ æ©ã¢ãŒãã§ã®ãã®CPUã®æ¶è²»ïŒã¯ããã¯ãã£ãã¯ïŒã
irqã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒã§ã®ãã®CPUã®æ¶è²»éã
softirqã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒãã¹ãã£ãŒã«ã¢ãŒãã§ã®ãã®CPUã®æ¶è²»ïŒã¯ããã¯ãã£ãã¯ïŒã
ã²ã¹ãã¢ãŒãã§ã®ãã®CPUã®æ¶è²»éïŒã¯ããã¯ãã£ãã¯ïŒã
CPL åŸç¶ã®ãã£ãŒã«ãïŒããã»ããµãŒã®æ°ãçŽåã®è² è·å¹³åãè² è·
éå»XNUMXåéã®å¹³åãéå»XNUMXåéã®è² è·å¹³åãæ°
ã³ã³ããã¹ãã¹ã€ãããããã³ããã€ã¹å²ã蟌ã¿ã®æ°ã
MEM åŸç¶ã®ãã£ãŒã«ãïŒãã®ãã·ã³ã®ããŒãžãµã€ãºïŒãã€ãåäœïŒãç©çã¡ã¢ãªã®ãµã€ãº
ïŒããŒãžïŒã空ãã¡ã¢ãªã®ãµã€ãºïŒããŒãžïŒãããŒãžãã£ãã·ã¥ã®ãµã€ãºïŒããŒãžïŒããããã¡ã®ãµã€ãº
ãã£ãã·ã¥ïŒããŒãžïŒãã¹ã©ãã®ãµã€ãºïŒããŒãžïŒãããã³ãã£ãã·ã¥å ã®ããŒãã£ããŒãžã®æ°ã
SWP åŸç¶ã®ãã£ãŒã«ãïŒãã®ãã·ã³ã®ããŒãžãµã€ãºïŒãã€ãåäœïŒãã¹ã¯ããã®ãµã€ãºïŒããŒãžïŒã
ããªãŒã¹ã¯ããã®ãµã€ãºïŒããŒãžïŒã0ïŒå°æ¥ã®äœ¿çšïŒãã³ããããããã¹ããŒã¹ã®ãµã€ãºïŒããŒãžïŒãããã³
ã³ããããããã¹ããŒã¹ïŒããŒãžïŒã®å¶éã
PAG åŸç¶ã®ãã£ãŒã«ãïŒãã®ãã·ã³ã®ããŒãžãµã€ãºïŒãã€ãåäœïŒãããŒãžã¹ãã£ã³ã®æ°ã
å²ãåœãŠã®æ°ã0ïŒå°æ¥ã®äœ¿çšïŒãã¹ã¯ããã€ã³ã®æ°ãããã³ã¹ã¯ããã¢ãŠãã®æ°ã
LVM / MDD / DSK
è«çããªã¥ãŒã /è€æ°ã®ããã€ã¹/ããŒããã£ã¹ã¯ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒååãI / Oã«è²»ããããããªç§æ°ãèªã¿åãæ°
çºè¡ããããèªã¿åãã®ããã«è»¢éãããã»ã¯ã¿ãŒã®æ°ãçºè¡ãããæžã蟌ã¿ã®æ°ãããã³
æžã蟌ã¿ã®ããã«è»¢éãããã»ã¯ã¿ãŒã®æ°ã
NETã® æåã®XNUMXè¡ã¯ãTCP / IPã¹ã¿ãã¯ã®äžäœå±€çšã«äœæãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒåè©ãupperããTCPã«ãã£ãŠåä¿¡ããããã±ããã®æ°ã
TCPã«ãã£ãŠéä¿¡ããããã±ãããUDPã«ãã£ãŠåä¿¡ããããã±ããã®æ°ããã±ããã®æ°
UDPã§éä¿¡ããããã±ããæ°ãIPã§åä¿¡ããããã±ããæ°ããã±ããæ°
IPã«ãã£ãŠéä¿¡ããããã±ããã®æ°ãIPã«ãã£ãŠäžäœå±€ã«é ä¿¡ããããã±ããã®æ°ãããã³æ°
IPã«ãã£ãŠè»¢éããããã±ããã®æ°ã
次ã®XNUMXè¡ã¯ããã¹ãŠã®ã€ã³ã¿ãŒãã§ã€ã¹ã«å¯ŸããŠè¡šç€ºãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒã€ã³ã¿ãŒãã§ãŒã¹ã®ååãåä¿¡ãããã±ããã®æ°
ã€ã³ã¿ãŒãã§ã€ã¹ãã€ã³ã¿ãŒãã§ã€ã¹ãåä¿¡ãããã€ãæ°ããã±ããæ°
ã€ã³ã¿ãŒãã§ã€ã¹ã«ãã£ãŠéä¿¡ããããã€ãæ°ãã€ã³ã¿ãŒãã§ã€ã¹ã«ãã£ãŠéä¿¡ããããã€ãæ°ã
ã€ã³ã¿ãŒãã§ã€ã¹é床ãããã³ãã¥ãã¬ãã¯ã¹ã¢ãŒãïŒ0 =ããŒãã1 =ãã«ïŒã
PRG ããã»ã¹ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒPIDãååïŒè§ãã£ãã§å²ãŸããŠããïŒãç¶æ ãå®éã®uidãå®éã®gidãTGID
ïŒPIDãšåãïŒãã¹ã¬ããã®ç·æ°ãçµäºã³ãŒããéå§æéïŒãšããã¯ïŒããã«
ã³ãã³ãã©ã€ã³ïŒè§ãã£ãéïŒãPPIDãç¶æ ãå®è¡äžãã®ã¹ã¬ããæ°ïŒRïŒã
ç¶æ ãå²ã蟌ã¿å¯èœãªã¹ãªãŒããïŒSïŒã®ã¹ã¬ããæ°ã
ç¶æ ãäžæã§ããªãç¡ç ãïŒDïŒãæå¹ãªuidãæå¹ãªgidãä¿åãããuidã
ä¿åãããgidããã¡ã€ã«ã·ã¹ãã uidããã¡ã€ã«ã·ã¹ãã gidãããã³çµéæéïŒhertzïŒã
PRC ããã»ã¹ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒPIDãååïŒè§ãã£ãã§å²ãŸããŠããïŒãç¶æ ãã¯ããã¯ã®ç·æ°-
ãã®ãã·ã³ã®XNUMXç§ãããã®ãã£ãã¯æ°ããŠãŒã¶ãŒã¢ãŒãã§ã®CPUæ¶è²»éïŒã¯ããã¯ãã£ãã¯ïŒã
ã·ã¹ãã ã¢ãŒãïŒã¯ããã¯ãã£ãã¯ïŒã§ã®CPUæ¶è²»ãåªããå€ãåªå 床ããªã¢ã«ã¿ã€ã
åªå 床ãã¹ã±ãžã¥ãŒãªã³ã°ããªã·ãŒãçŸåšã®CPUãããã³ã¹ãªãŒãå¹³åã
PRM ããã»ã¹ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒPIDãååïŒè§ãã£ãã§å²ãŸããŠããïŒãç¶æ ããã®ããŒãžã®ãµã€ãº
ãã·ã³ïŒãã€ãåäœïŒãä»®æ³ã¡ã¢ãªãµã€ãºïŒKãã€ãïŒãåžžé§ã¡ã¢ãªãµã€ãºïŒKãã€ãïŒã
å ±æããã¹ãã¡ã¢ãªãµã€ãºïŒKãã€ãïŒãä»®æ³ã¡ã¢ãªã®å¢å ïŒKãã€ãïŒãåžžé§ã¡ã¢ãª
å¢å ïŒãããã€ãïŒããã€ããŒããŒãžãã©ãŒã«ãã®æ°ãããã³ã¡ãžã£ãŒããŒãžãã©ãŒã«ãã®æ°ã
PRD ããã»ã¹ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒPIDãååïŒè§ãã£ãã§å²ãŸããŠããïŒãç¶æ ãã€ã³ã¹ããŒã«ãããŠããã«ãŒãã«ããã
ïŒ 'y'ãŸã㯠'n'ïŒã䜿çšãããæšæºioçµ±èšïŒ 'y'ãŸã㯠'n'ïŒããã£ã¹ã¯äžã®èªã¿åãæ°ã
èªã¿åãããã»ã¯ã¿ãŒã®çŽ¯ç©æ°ããã£ã¹ã¯ãžã®æžã蟌ã¿ã®æ°ã
æžã蟌ãŸããã»ã¯ã¿ãŒãããã³æžã蟌ãŸããã»ã¯ã¿ãŒã®ãã£ã³ã»ã«æ°ã
ã«ãŒãã«ããããã€ã³ã¹ããŒã«ãããŠããããæšæºI / Oçµ±èšïŒ> = 2.6.20ïŒã®å Žå
䜿çšãããŠããªãå Žåãããã»ã¹ããšã®ãã£ã¹ã¯I / Oã«ãŠã³ã¿ãŒã¯é¢ä¿ãããŸããã ãã€
ã«ãŒãã«ããããã€ã³ã¹ããŒã«ãããŠããå Žåãã«ãŠã³ã¿ãæžã蟌ãŸããã»ã¯ã¿ãŒã®ãã£ã³ã»ã«æ°ãã¯
é¢ä¿ãããŸããã æšæºã®ioçµ±èšã®ã¿ã䜿çšãããå Žåãã«ãŠã³ã¿ãŒ
ããã£ã¹ã¯ã®èªã¿åãæ°ããšããã£ã¹ã¯ã®æžã蟌ã¿æ°ãã¯é¢ä¿ãããŸããã
PRN ããã»ã¹ããšã«XNUMXè¡ã衚瀺ãããŸãã
åŸç¶ã®ãã£ãŒã«ãïŒPIDãååïŒè§ãã£ãã§å²ãŸããŠããïŒãç¶æ ãã€ã³ã¹ããŒã«ãããŠããã«ãŒãã«ããã
ïŒ 'y'ãŸã㯠'n'ïŒãéä¿¡ãããTCPãã±ããã®æ°ãTCPãã±ããã®çŽ¯ç©ãµã€ãº
éä¿¡ãåä¿¡ããTCPãã±ããã®æ°ãTCPãã±ããã®çŽ¯ç©ãµã€ãº
åä¿¡ãéä¿¡ãããUDPãã±ããã®æ°ãUDPãã±ããã®çŽ¯ç©ãµã€ãº
éä¿¡ãåä¿¡ããUDPãã±ããã®æ°ãUDPãã±ããã®çŽ¯ç©ãµã€ãº
éä¿¡ãããçã®ãã±ããã®æ°ãããã³çã®ãã±ããã®æ°
åãåã£ãã
ã«ãŒãã«ããããã€ã³ã¹ããŒã«ãããŠããªãå Žåãããã»ã¹ããšã®ãããã¯ãŒã¯I / Oã«ãŠã³ã¿ãŒã¯
é¢ä¿ãããŸããã
äŸ
çŸåšã®ã·ã¹ãã è² è·ã5ç§ééã§ã€ã³ã¿ã©ã¯ãã£ãã«ç£èŠããã«ã¯ïŒ
äžã« 5
ã·ã¹ãã è² è·ãç£èŠããXNUMXééã§ãã¡ã€ã«ïŒãã¬ãŒã³ASCIIïŒã«æžã蟌ãã«ã¯
ã¡ã¢ãªæ¶è²»éã§ãœãŒããããã¢ã¯ãã£ããªããã»ã¹ã䜿çšããXNUMXåã®éã®åïŒ
äžã« -M 60 30 > /log/atop.mem
ã·ã¹ãã ããã³ããã»ã¹ã¢ã¯ãã£ããã£ã«é¢ããæ å ±ããã€ããªå§çž®åœ¢åŒã§
XNUMXæéã®éã«XNUMXåã®ééã§ãã¡ã€ã«ïŒ
äžã« -w /tmp/atop.raw 600 6
ãã®ãã¡ã€ã«ã®å 容ãã€ã³ã¿ã©ã¯ãã£ãã«è¡šç€ºããŸãã
äžã« -r /tmp/atop.raw
ãã®ãã¡ã€ã«ã®ããã»ããµãšãã£ã¹ã¯ã®äœ¿çšçã解æå¯èœãªåœ¢åŒã§è¡šç€ºããŸãã
äžã« -PCPUãDSK -r /tmp/atop.raw
ä»æ¥ã®æšæºãã°ãã¡ã€ã«ã®å 容ãã€ã³ã¿ã©ã¯ãã£ãã«è¡šç€ºããŸãã
äžã« -r
äžæšæ¥ã®æšæºãã°ãã¡ã€ã«ã®å 容ãã€ã³ã¿ã©ã¯ãã£ãã«è¡šç€ºããŸãã
äžã« -r yy
2010幎7æ02æ¥ååŸ00æ以éã®æšæºãã°ãã¡ã€ã«ã®å 容ã衚瀺ãã
ã€ã³ã¿ã©ã¯ãã£ãã«ïŒ
äžã« -r 20100107 -b 14:00
onworks.netãµãŒãã¹ã䜿çšããŠãªã³ã©ã€ã³ã§äœ¿çšãã