å½¼ã¯ç´ç²ãªæè¡å±ã¨ãã£ãæãã§ã æç´ãã¾ãã£ã¦ããããã ããããä½ãè¨ã£ã¦ããããããªãé¨åããã£ããã ããããã¨èå³æ·±ã話ãèããã¨ãã§ããã ãçµå±ãè£ ç½®ãããã°éå½ã§ãä¸å½ã§ãã©ãã§ãä½ããããã«ãªã£ã¦ãå¤æ®µã®ãããããã«ãªã£ã¡ãããã ãã ã¨ããç§ã«å¯¾ãã¦ãå½¼ã¯è¨ã£ãã ãä½ååè² ã§è² ããã®ã¯å¦å®ããªããã ãã©ãªãè£ ç½®ãããã°èª°ã§ãä½ããã¨ããã®ã¯å¤§ééãã ãæ大ã®è¦å ã¯ããã¤ãã®æè¡åãé«ãã£ããã¨ã ã¨æããã¨ããããã¡ã®è¦æ¨¡ã®ä¼ç¤¾ãç 究éçºã§å¯¾æã§ãã¦ãã®ãããæå³å¥è·¡ãã ã¡ã¢ãªã¯ãè£ ç½®ãããã°ä½ããæ±ç¨åããªããã§ã¯ãªããã¨ãããã¨ãå½¼ã¯ç±å¼ãã¦ããã åè·¯ã²ã¨ã¤ãã¨ã£ã¦ã¿ã¦ãããã¢ããã°ãæè¡ã®å¡ã§ã è¨æ¶ç´ åã®ããããªç©çé(æ°10ãã§ã ãã¨ãè¨ã£ã¦ã)ã®å¤åã å¢å¹ ããé«ç²¾åº¦ãªã¢ã³ãã ã¨ãã ç§éæ°ã®ã¬ãããã®ä¿¡å·ãå¦çããããã«ãã³ç§åä½ã§ ä¿¡å·ã®ã¿ã¤ãã³ã°ã
ã¡ã¢ã >>> def ps(): os.system("ps -p %d u" % os.getpid()) ... >>> import os >>> ps() USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND takeyuki 30831 0.0 0.0 7188 2604 pts/7 S+ 14:05 0:00 python >>> import numpy >>> ps() USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND takeyuki 30831 0.1 0.1 19104 5804 pts/7 S+ 14:05 0:00 python ã»ããNumPy ãã¤ã³ãã¼ãããã ã㧠7 MB ãã 19 MB ã«å¢ããã®ãã400 ä¸ x 7 ã®è¡åãèªã¿è¾¼ã
é害
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}