Node.js內建的 os 模組其實就有提供 totalmem 和 freemem 函數來分別抓取作業系統的記憶體總量和閒置的記憶體,用法如下: const os = require("os"); ...
確定! 回上一頁