diff --git a/lib/routes/index.js b/lib/routes/index.js index 664ba7f5db..1f487806fc 100644 --- a/lib/routes/index.js +++ b/lib/routes/index.js @@ -56,7 +56,9 @@ module.exports = async (ctx) => { } const { disallowRobot } = config; - const stats = await pidusage(process.pid); + const stats = await pidusage(process.pid, { + usePs: true, + }); ctx.body = art(path.resolve(__dirname, '../views/welcome.art'), { showDebug,