在我的Raspberry pi 3上,我有一个在后台启动时打开的Python脚本。在脚本中,有一个函数可以获取CPU使用的百分比。`def getCPUuse():如果我手动运行该程序,该函数将正确地返回该值,而如果该程序是在后台启动时加载的,则该函数不会向我返回任何值。有人能帮我吗?另外,我不想使用psutil库!
/arm-linux-androideabi/bin/as)
Note: Some input files use unchecked or unsafe operations.Note: Some input files use unchecked or unsafe operations.Note: Some input files use or override a deprecated API.Note: Some input files use or overrid
uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may) uses variable-size enums yet the output is to use
== at 0x400BD7C: _dl_new_object (in /lib/arm-linux-gnueabihf/ld-2.28.so)==6693== Use of== at 0x400BBBC: _dl_new_object (in /lib/arm-linux-gnueabihf/ld-2.28.so)==6693== Use of== at 0x400BC50: _dl_new_obje