[[PageOutline]] * github:kimchi-project/kimchi * [http://www-01.ibm.com/support/knowledgecenter/linuxonibm/liabp/liabpintrokimchi.htm?lang=ja IBM Knowledge Center] >Kimchi は、IBM® PowerKVM の使用を開始するために設計された管理ツールです。 * aur:kimchi 1.4.1-4 * /usr/lib/python2.7/site-packages/kimchi/model/host.py {{{#!diff --- kimchi/model/host.py.old 2015-07-06 23:06:43.000000000 +0900 +++ kimchi/model/host.py 2015-07-06 22:53:03.900805496 +0900 @@ -87,8 +87,8 @@ res['cpu_model'] = line.split(':')[1].strip() break - res['cpus'] = psutil.NUM_CPUS - res['memory'] = psutil.TOTAL_PHYMEM + res['cpus'] = psutil.cpu_count() + res['memory'] = psutil.virtual_memory().total # Include IBM PowerKVM name to supported distro names _sup_distros = platform._supported_dists + ('ibm_powerkvm','arch',) @@ -231,7 +231,7 @@ prev_recv_bytes = net_recv_bytes[-1] if net_recv_bytes else 0 prev_sent_bytes = net_sent_bytes[-1] if net_sent_bytes else 0 - net_ios = psutil.network_io_counters(True) + net_ios = psutil.net_io_counters(True) recv_bytes = 0 sent_bytes = 0 for key in set(netinfo.nics() + }}}