CPUãã¡ã¢ãªãªã©ã®æ å ±ãåå¾ããgopsutilã®ãç´¹ä»Â¶ Go Advent Calendar 2015 ã®16æ¥ç®ã§ãã Pythonã«ã¯ psutil ã¨ãããCPUãã¡ã¢ãªãªã©ã®æ å ±ãåå¾ããã©ã¤ãã©ãªãããã¾ãã æä½ gopsutil ã¯ãã®psutilãgolangã«ç§»æ¤ãããã¨å§ã¾ãã¾ããã gopsutilã¯ã以ä¸ã®ç¹å¾´ãããã¾ãã Linux/Darwin/FreeBSD/Windowsã§åä½ãã¾ã ãã¡ããã対å¿ç¶æ³ã¯ããªãéãã¾ã (ã»ã¼) pure golangã§å®è£ ããã¦ãã¾ãããã®ãããã¯ãã¹ã³ã³ãã¤ã«ã容æã§ã ã»ã¼ãã¨ããã®ã¯darwinã®CPUå©ç¨çã ãcgoã使ã£ã¦ãã¾ããcgoã使ããªãå ´åã¯åã«not implementedãè¿ã£ã¦ãã¾ãã psutilã«ãªãæ å ±ãåãã¾ã docker(cgroup)ã®æ å ±ã ã£ãããä»®æ³åç¶æ³ã ã£ããã好ãåæ
{{#tags}}- {{label}}
{{/tags}}