系统信息获取通过work线程获取cpu,内存,硬盘等信息,传给主线程。主线程通过socketio传给前端echarts。<pre<codethis.intervalTimersetInterval(async()>{try{constc