- github:kimchi-project/kimchi
- IBM Knowledge Center >Kimchi は、IBM® PowerKVM の使用を開始するために設計された管理ツールです。
Arch
- aur:kimchi 1.4.1-4
- /usr/lib/python2.7/site-packages/kimchi/model/host.py
-
kimchi/model/host.py
old new 87 87 res['cpu_model'] = line.split(':')[1].strip() 88 88 break 89 89 90 res['cpus'] = psutil. NUM_CPUS91 res['memory'] = psutil. TOTAL_PHYMEM90 res['cpus'] = psutil.cpu_count() 91 res['memory'] = psutil.virtual_memory().total 92 92 93 93 # Include IBM PowerKVM name to supported distro names 94 94 _sup_distros = platform._supported_dists + ('ibm_powerkvm','arch',) … … 231 231 prev_recv_bytes = net_recv_bytes[-1] if net_recv_bytes else 0 232 232 prev_sent_bytes = net_sent_bytes[-1] if net_sent_bytes else 0 233 233 234 net_ios = psutil.net work_io_counters(True)234 net_ios = psutil.net_io_counters(True) 235 235 recv_bytes = 0 236 236 sent_bytes = 0 237 237 for key in set(netinfo.nics() +
Jul 06 22:24:35 zankan kimchid[27854]: File "/usr/lib/python2.7/site-packages/kimchi/model/host.py", line 90, in _get_host_info Jul 06 22:24:35 zankan kimchid[27854]: res['cpus'] = psutil.NUM_CPUS Jul 06 22:24:35 zankan kimchid[27854]: AttributeError: 'module' object has no attribute 'NUM_CPUS'
Jul 06 22:49:47 zankan kimchid[28292]: File "/usr/lib/python2.7/site-packages/kimchi/model/host.py", line 234, in _get_host_network_io_rate Jul 06 22:49:47 zankan kimchid[28292]: net_ios = psutil.network_io_counters(True) Jul 06 22:49:47 zankan kimchid[28292]: AttributeError: 'module' object has no attribute 'network_io_counters'
- github:giampaolo/psutil/issues/451 Deprecate NUM_CPUS, TOTAL_PHYMEM and BOOT_TIME module constants
- Documentation - psutil - Documentation - A cross-platform process and system utilities module for Python - Google Project Hosting
psutil.network_io_counters(pernic=False)
Old name for net_io_counters(). Deprecated in 1.0.0
-
- /usr/lib/systemd/system/kimchid.service
StandardOutput=journal+console
- ウェブブラウザアクセスログが全て載るため、変えた方が良い
- aur4:kimchi 1.5.0-4
- psutil.patch によってpsutilの問題は修正済の模様(未検証)
Last modified 9 years ago
Last modified on Jul 6, 2015 11:34:41 PM