Skip to content

fix 60_stats_per_cpu_core.py bug#4

Open
wolfzhaoshuai wants to merge 1 commit intoopen-falcon:masterfrom
wolfzhaoshuai:master
Open

fix 60_stats_per_cpu_core.py bug#4
wolfzhaoshuai wants to merge 1 commit intoopen-falcon:masterfrom
wolfzhaoshuai:master

Conversation

@wolfzhaoshuai
Copy link

当前脚本在Debian上跑得到结果为[],查看代码发现有bug
参照http://man7.org/linux/man-pages/man5/proc.5.html,去除cpux的每一行以及各个所需字段

@hitripod
Copy link
Member

hitripod commented Aug 2, 2017

其他操作系统会不会有影响?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants