Closed itayayuichiro closed 5 years ago
I use pidusage as follows, but if it is executed, the process keeps moving and does not stop ....
const stats = pidusage(1) console.log(stats)
Why does the process not stop?
pidusage version is 2.0.17
2.0.17
Hi, because pidusage listens on some asynchronous events. To free it please use: pidusage.clear()
Thank you very much !!!
I use pidusage as follows, but if it is executed, the process keeps moving and does not stop ....
Why does the process not stop?
pidusage version is
2.0.17